/* ============================================================
   avicert.net — local mockup
   Brand tokens locked 2026-05-05 (web.md §11.1)
   ============================================================ */

:root {
  /* Palette */
  --cobalt:        #1D4ED8;
  --navy:          #0B2545;
  --bg:            #FFFFFF;
  --card-soft:     #F8FAFC;
  --text:          #0F172A;
  --hairline:      #CBD5E1;
  --text-muted:    #475569;
  --cta:           #EAB308;
  --cta-hover:     #D9A406;
  --good:          #15803D;
  --warn:          #B45309;

  /* Type */
  --serif:  "Spectral", "Source Serif Pro", Georgia, serif;
  --sans:   "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:   "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rhythm */
  --max-width:  1200px;
  --gutter:     2rem;
  --radius:     6px;
  --hairline-w: 1px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: 2.75rem; line-height: 1.1; letter-spacing: -0.015em; }
h2 { font-size: 2rem;    line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 500; }

p { margin: 0 0 1em; }

code, .mono { font-family: var(--mono); font-size: 0.9em; }

/* ============================================================
   Layout
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  background: var(--bg);
  position: relative;
  z-index: 10;
  padding-top: 1.5rem;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
.site-header .logo img {
  height: 56px;
  width: auto;
  display: block;
}

/* Desktop: let the logo overhang the header bar so it reads larger
   without pushing the header taller. */
@media (min-width: 901px) {
  .site-header .logo img {
    height: 120px;
    margin-top: -28px;
    margin-bottom: -28px;
    margin-left: -10px;
  }
}
.site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}
.site-header nav a {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.site-header nav a:hover { color: var(--cobalt); text-decoration: none; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 5rem 0 4rem;
  border-bottom: var(--hairline-w) solid var(--hairline);
}
.hero-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 901px) {
  .hero-top {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}
.hero-text h1 {
  max-width: 22ch;
  margin-bottom: 1rem;
}
.hero-text .lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 0;
  line-height: 1.5;
}
.hero-image {
  display: none;
}
@media (min-width: 901px) {
  .hero-image {
    display: block;
  }
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* Legacy single-column hero hooks — kept so older H1/lede markup still styles */
.hero h1 { max-width: 22ch; margin-bottom: 1rem; }
.hero .lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.hero .differentiators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: var(--hairline-w) solid var(--hairline);
}
.differentiator .label {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cobalt);
  margin-bottom: 0.5rem;
}
.differentiator h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.differentiator p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   Catalog grid
   ============================================================ */

.catalog {
  padding: 4.5rem 0 5rem;
}
.catalog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.catalog-header h2 { margin: 0; }
.catalog-header .meta {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: var(--hairline-w) solid var(--hairline);
}
.filter-pill {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: var(--hairline-w) solid var(--hairline);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}
.filter-pill .count {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 0.4rem;
}
.filter-pill[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.filter-pill[aria-pressed="true"] .count { color: rgba(255,255,255,0.7); }

/* Cards hidden by filter */
.card[data-hidden] { display: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ============================================================
   Card
   ============================================================ */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  min-height: 280px;
  transition: border-color 0.12s ease;
}
.card.coming-soon {
  background: var(--card-soft);
}
.card:hover { border-color: var(--cobalt); }
.card.coming-soon:hover { border-color: #94A3B8; }

.card.featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cobalt);
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Whole-card click target on live cards. The overlay <a> covers the card;
   interactive children (the CTA button) sit on a higher stacking context
   so they retain their own click behaviour. Right-click / cmd-click /
   middle-click work natively because the overlay is a real <a>. */
.card .card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.card .card-link:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}
.card .actions,
.card .citation,
.card h3,
.card .desc,
.card .stat-row,
.card .divider,
.card .status {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
/* Re-enable interactivity on actual interactive elements */
.card .actions a,
.card .actions button {
  pointer-events: auto;
}

.card .citation {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cobalt);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.card .desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.card .divider {
  border: 0;
  border-top: var(--hairline-w) solid var(--hairline);
  margin: 0 0 1rem;
}
.card .status {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 500;
}
.card.coming-soon .status { color: var(--text-muted); font-weight: 400; }

.card .stat-row {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  border: var(--hairline-w) solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta);
  color: var(--navy);
  border-color: var(--cta);
}
.btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--cobalt);
  border-color: var(--cobalt);
}
.btn-outline:hover {
  background: var(--cobalt);
  color: white;
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--hairline);
  font-weight: 500;
}
.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
  text-decoration: none;
}
.btn-block { width: 100%; }

.card .actions {
  margin-top: auto;
}

/* Notify-me inline form (coming-soon cards) */
.notify {
  display: none;
  margin-top: 0.75rem;
  gap: 0.5rem;
}
.notify.open { display: flex; }
.notify input {
  flex: 1;
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  background: white;
  color: var(--text);
}
.notify input:focus { outline: 2px solid var(--cobalt); outline-offset: -1px; }
.notify button {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* ============================================================
   Product page
   ============================================================ */

.product-hero {
  padding: 4rem 0 3rem;
  border-bottom: var(--hairline-w) solid var(--hairline);
}
.product-hero .breadcrumb {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.product-hero .citation {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--cobalt);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.product-hero h1 {
  max-width: 24ch;
  margin-bottom: 1rem;
}
.product-hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  /* No align-items: start — we want the <aside> column to stretch to the
     full row height so the sticky purchase-card has room to travel.
     Sticky positioning on a grid child only works when the cell is
     taller than the sticky element itself. */
  padding: 3.5rem 0 5rem;
}
.product-layout > aside {
  height: 100%;
}

.purchase-card {
  position: sticky;
  top: 1.5rem;
  background: var(--card-soft);
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.purchase-card .price {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.purchase-card .price-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.purchase-card .btn { margin-bottom: 0.75rem; }
.purchase-card .small {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.purchase-card .small + .small { margin-top: 0.5rem; }

.purchase-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: var(--hairline-w) solid var(--hairline);
}
.purchase-details > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cobalt);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  user-select: none;
}
.purchase-details > summary::-webkit-details-marker { display: none; }
.purchase-details > summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}
.purchase-details[open] > summary::after {
  content: "−";
}
.purchase-details > summary:hover { color: var(--navy); }
.purchase-details > .small:first-of-type { margin-top: 0.85rem; }

.product-section { margin-bottom: 3rem; }
.product-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.diff-card {
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  background: var(--bg);
}
.diff-card .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cobalt);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.diff-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.diff-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Artefact list */
.artefact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--hairline-w) solid var(--hairline);
}
.artefact {
  display: grid;
  grid-template-columns: 32px 1fr 100px;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: var(--hairline-w) solid var(--hairline);
  align-items: baseline;
}
.artefact .num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.artefact .title {
  font-weight: 500;
  color: var(--text);
}
.artefact .descr {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.2rem;
  line-height: 1.45;
}
.artefact .format {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cobalt);
  text-align: right;
}

/* Coverage proof block */
.matrix-proof {
  background: var(--card-soft);
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 0;
}
.matrix-proof .signed-by {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cobalt);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.matrix-proof h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.matrix-proof .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.25rem 0;
  padding: 1rem 0;
  border-top: var(--hairline-w) solid var(--hairline);
  border-bottom: var(--hairline-w) solid var(--hairline);
}
.matrix-proof .stat .n {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.matrix-proof .stat .lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  display: block;
}
.matrix-proof .reviewer {
  font-size: 0.92rem;
  color: var(--text);
  margin: 0;
}
.matrix-proof .reviewer strong { color: var(--navy); }

.matrix-download {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: var(--hairline-w) solid var(--hairline);
  flex-wrap: wrap;
}
.matrix-download-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.matrix-download-meta .mono {
  font-family: var(--mono);
  font-size: 0.92em;
}

/* ============================================================
   Pricing table (product page)
   ============================================================ */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.pricing-table thead th {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.7rem 0.6rem;
  border-bottom: var(--hairline-w) solid var(--hairline);
}
.pricing-table tbody tr {
  border-bottom: var(--hairline-w) solid var(--hairline);
}
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table td {
  padding: 0.85rem 0.6rem;
  vertical-align: middle;
}
.pricing-table .col-price {
  text-align: right;
  width: 110px;
  color: var(--navy);
  font-weight: 500;
}
.pricing-table .mono { font-family: var(--mono); }

/* ============================================================
   Purchase card — site selector + supporting bits
   ============================================================ */

.purchase-card .purchase-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.site-selector {
  border: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}
.site-selector legend {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0;
  margin-bottom: 0.6rem;
}
.site-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: border-color 0.1s ease, background 0.1s ease;
}
.site-option:last-child { margin-bottom: 0; }
.site-option:hover { border-color: var(--cobalt); }
.site-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cobalt);
  cursor: pointer;
  margin: 0;
}
.site-option input[type="radio"]:checked + .site-label {
  font-weight: 500;
}
.site-option:has(input[type="radio"]:checked) {
  border-color: var(--cobalt);
  background: rgba(29, 78, 216, 0.04);
}
.site-label {
  display: flex;
  justify-content: space-between;
  flex: 1;
  align-items: baseline;
  gap: 0.75rem;
}
.site-count {
  font-size: 0.95rem;
  color: var(--text);
}
.site-price {
  font-size: 0.95rem;
  color: var(--navy);
}

.purchase-note {
  margin-top: 0.75rem !important;
  padding-top: 0.75rem;
  border-top: var(--hairline-w) solid var(--hairline);
  font-size: 0.8rem !important;
  color: var(--text-muted);
  line-height: 1.5;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 700px) {
  .pricing-table { font-size: 0.88rem; }
  .pricing-table thead th, .pricing-table td { padding: 0.6rem 0.4rem; }
  .pricing-table .col-price { width: 90px; }
}

/* Sample box */
.sample-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border: var(--hairline-w) solid var(--cobalt);
  border-radius: var(--radius);
  background: var(--bg);
}
.sample-box .text { flex: 1; }
.sample-box h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.sample-box p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   Release banner
   Sits between header and hero. Three intent variants:
     .release-banner--update   regulation amendment / new bundle (cobalt)
     .release-banner--launch   new Part went live (navy)
     .release-banner--notice   quiet operational note (off-white)
   Yellow CTA inside the banner is reserved for true conversion actions
   (buy / refresh purchase). Banner background itself is never yellow.
   ============================================================ */

.release-banner {
  position: relative;
  border-bottom: var(--hairline-w) solid var(--hairline);
  font-family: var(--sans);
}
.release-banner[hidden] { display: none; }

.release-banner .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  flex-wrap: wrap;
}
.release-banner .tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.release-banner .body {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.45;
  min-width: 240px;
}
.release-banner .body strong { font-weight: 600; }
.release-banner .body .mono {
  font-family: var(--mono);
  font-size: 0.88em;
}
.release-banner .actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-shrink: 0;
}
.release-banner .actions a {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.release-banner .actions a.cta-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.release-banner .dismiss {
  background: transparent;
  border: 0;
  padding: 0.25rem 0.4rem;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 3px;
  flex-shrink: 0;
}
.release-banner .dismiss:hover { opacity: 1; }

/* --- Variant: update (regulation amendment, refresh bundle) --- */
.release-banner--update {
  background: var(--cobalt);
  color: white;
}
.release-banner--update .tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
.release-banner--update .body strong { color: white; }
.release-banner--update .actions a {
  color: white;
}
.release-banner--update .actions a:hover { text-decoration-thickness: 2px; }
.release-banner--update .dismiss { color: white; }

/* --- Variant: launch (new Part live, big announcement) --- */
.release-banner--launch {
  background: var(--navy);
  color: white;
}
.release-banner--launch .tag {
  background: var(--cta);
  color: var(--navy);
}
.release-banner--launch .body strong { color: white; }
.release-banner--launch .actions a { color: white; }
.release-banner--launch .actions .btn-primary {
  display: inline-flex;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  background: var(--cta);
  color: var(--navy);
  border-color: var(--cta);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.release-banner--launch .actions .btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}
.release-banner--launch .dismiss { color: white; }

/* --- Variant: notice (quiet operational note) --- */
.release-banner--notice {
  background: var(--card-soft);
  color: var(--text);
  border-bottom-color: var(--hairline);
  border-left: 3px solid var(--cobalt);
}
.release-banner--notice .tag {
  background: var(--bg);
  color: var(--cobalt);
  border: var(--hairline-w) solid var(--cobalt);
}
.release-banner--notice .body strong { color: var(--navy); }
.release-banner--notice .actions a { color: var(--cobalt); }
.release-banner--notice .dismiss { color: var(--text-muted); }

@media (max-width: 700px) {
  .release-banner .container { gap: 0.75rem; }
  .release-banner .actions { width: 100%; justify-content: flex-start; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: var(--hairline-w) solid var(--hairline);
  padding: 3rem 0 2.5rem;
  margin-top: 2rem;
  background: var(--card-soft);
}
.site-footer .footer-logo {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 0.85rem;
}
@media (min-width: 901px) {
  .site-footer .footer-logo { height: 80px; }
}
.site-footer .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer .col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
  font-weight: 600;
}
.site-footer .col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .col li { margin-bottom: 0.35rem; }
.site-footer .col a { color: var(--text); font-size: 0.9rem; }
.site-footer .col a:hover { color: var(--cobalt); }
.site-footer .legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: var(--hairline-w) solid var(--hairline);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer .legal .mono { font-family: var(--mono); font-size: 0.78rem; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  h1 { font-size: 2.25rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero .differentiators { grid-template-columns: 1fr; gap: 1.5rem; }
  .three-up { grid-template-columns: 1fr; }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .purchase-card { position: static; }
  .matrix-proof .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .site-header .container { height: auto; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; }
  .site-header nav ul { gap: 1rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .artefact { grid-template-columns: 28px 1fr; }
  .artefact .format { grid-column: 2; text-align: left; margin-top: 0.3rem; }
}

/* ============================================================
   FAQ — homepage section + standalone /faq page
   Uses native <details> for accordion behaviour; +/− marker
   mirrors the .purchase-details idiom above.
   ============================================================ */

.faq-section {
  background: var(--card-soft);
  border-top: var(--hairline-w) solid var(--hairline);
  border-bottom: var(--hairline-w) solid var(--hairline);
  padding: 4rem 0 4.5rem;
}
.faq-header {
  max-width: 720px;
  margin-bottom: 2.25rem;
}
.faq-header h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 0.65rem 0;
  line-height: 1.2;
}
.faq-lede {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.faq-lede a { color: var(--cobalt); }

.faq-list {
  max-width: 820px;
  background: white;
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
}

.faq-item {
  border-bottom: var(--hairline-w) solid var(--hairline);
}
.faq-item:last-child { border-bottom: none; }

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  padding: 1.05rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: color 0.1s ease, background 0.1s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--cobalt);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] > summary::after {
  content: "−";
}
.faq-item > summary:hover {
  color: var(--cobalt);
  background: var(--card-soft);
}
.faq-item[open] > summary {
  color: var(--navy);
}

.faq-body {
  padding: 0 1.25rem 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-body p { margin: 0 0 0.85rem 0; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ul {
  margin: 0.5rem 0 0.85rem 0;
  padding-left: 1.25rem;
}
.faq-body ul li { margin-bottom: 0.4rem; }
.faq-body strong { color: var(--text); font-weight: 600; }
.faq-body a { color: var(--cobalt); }

.faq-footer {
  margin-top: 1.75rem;
  max-width: 820px;
}
.faq-footer .cta-link {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cobalt);
  text-decoration: none;
}
.faq-footer .cta-link:hover { color: var(--navy); }

/* Standalone /faq page */

.faq-hero {
  padding: 3rem 0 1.5rem;
  background: white;
}
.faq-hero h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.15;
  margin: 0.25rem 0 0.75rem 0;
}
.faq-hero .faq-lede {
  max-width: 640px;
  font-size: 1.05rem;
}

.faq-page {
  padding: 0.5rem 0 5rem;
}
.faq-group {
  margin-bottom: 3rem;
  max-width: 820px;
}
.faq-group:last-of-type { margin-bottom: 1.5rem; }
.faq-group-title {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: var(--hairline-w) solid var(--hairline);
}
.faq-group .faq-item:first-of-type {
  border-top: var(--hairline-w) solid var(--hairline);
}
.faq-group .faq-item {
  background: white;
  border-left: var(--hairline-w) solid var(--hairline);
  border-right: var(--hairline-w) solid var(--hairline);
}
.faq-group .faq-item:last-of-type {
  border-bottom: var(--hairline-w) solid var(--hairline);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
.faq-group .faq-item:first-of-type {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.faq-page-footer {
  max-width: 820px;
  padding: 2rem 0 0;
  border-top: var(--hairline-w) solid var(--hairline);
}
.faq-page-footer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.faq-page-footer a { color: var(--cobalt); }

@media (max-width: 700px) {
  .faq-section { padding: 3rem 0 3.5rem; }
  .faq-header h2 { font-size: 1.55rem; }
  .faq-hero h1 { font-size: 1.95rem; }
  .faq-item > summary {
    font-size: 0.95rem;
    padding: 0.95rem 1rem;
  }
  .faq-body {
    padding: 0 1rem 1.2rem 1rem;
    font-size: 0.9rem;
  }
}

/* ============================================================
   Per-Part product page — regulatory basis + scope-note callout
   ============================================================ */

.product-hero .reg-basis {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin: 0.4rem 0 0.9rem 0;
}

.scope-note {
  background: #FFF7ED;
  border-left: 3px solid #B45309;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.85rem 1.1rem 0.95rem 1.1rem;
  margin: 1rem 0 0.25rem 0;
}
.scope-note .scope-note-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #B45309;
  margin-bottom: 0.3rem;
}
.scope-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}


/* ============================================================
   Static pages (How it works · About · Privacy · Contact)
   ============================================================ */

.static-hero {
  background: var(--card-soft);
  border-bottom: var(--hairline-w) solid var(--hairline);
  padding: 3rem 0 2.5rem;
}
.static-hero .breadcrumb {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.static-hero h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.85rem 0;
  line-height: 1.15;
}
.static-hero .lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
  max-width: 720px;
}
.static-hero .last-updated {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.85rem 0 0 0;
}

.static-page {
  padding: 2.5rem 0 4rem;
  max-width: 840px;
}
.static-section { margin-bottom: 2.5rem; }
.static-section h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.85rem 0;
  font-weight: 500;
}
.static-section p {
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 0.85rem 0;
}
.static-section ul {
  margin: 0.5rem 0 0.85rem 1.25rem;
  padding: 0;
}
.static-section li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
  color: var(--text);
}
.static-section strong { color: var(--text); font-weight: 600; }

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem 0;
  font-size: 0.92rem;
}
.privacy-table th, .privacy-table td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: var(--hairline-w) solid var(--hairline);
  vertical-align: top;
}
.privacy-table th {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--card-soft);
}

.mailbox-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mailbox-list li {
  padding: 0.75rem 0;
  border-bottom: var(--hairline-w) solid var(--hairline);
  line-height: 1.55;
}
.mailbox-list li:last-child { border-bottom: none; }

/* ============================================================
   Contact form
   ============================================================ */

.contact-form {
  max-width: 640px;
  margin: 1.5rem 0;
}
.contact-form .form-row {
  margin-bottom: 1.1rem;
}
.contact-form label {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.contact-form .req { color: var(--cobalt); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  padding: 0.65rem 0.8rem;
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  background: white;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
}
.contact-form textarea { resize: vertical; font-family: var(--sans); }
.contact-form .form-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.contact-form .form-actions { margin-top: 1.5rem; }
.contact-form .form-fineprint {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.contact-form .form-fineprint a { color: var(--cobalt); }

/* Honeypot row — hidden from sighted users; left in DOM for bots. */
.contact-form .hp-row {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-success {
  background: #DCFCE7;
  border-left: 3px solid #15803D;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
  color: #14532D;
  line-height: 1.55;
}
.form-error {
  background: #FEF2F2;
  border-left: 3px solid #B91C1C;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
  color: #7F1D1D;
  line-height: 1.55;
}
.form-error strong { display: block; margin-bottom: 0.25rem; }


.contact-form select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  padding: 0.65rem 0.8rem;
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  background: white;
  box-sizing: border-box;
}
.contact-form select:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
}


/* ============================================================
   Order downloads page
   ============================================================ */

.order-details {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem 0;
  font-size: 0.95rem;
}
.order-details th, .order-details td {
  text-align: left;
  padding: 0.5rem 0.7rem;
  border-bottom: var(--hairline-w) solid var(--hairline);
  vertical-align: top;
}
.order-details th {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  width: 12rem;
}
.order-details .mono {
  font-family: var(--mono);
  font-size: 0.9rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 0.5rem 0;
}
.download-card {
  display: block;
  padding: 1rem 1.15rem;
  background: white;
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.download-card:hover {
  border-color: var(--cobalt);
  box-shadow: 0 1px 4px rgba(11, 37, 69, 0.08);
}
.download-card-label {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.download-card-hint {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.download-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.download-card.primary {
  background: linear-gradient(0deg, var(--cobalt) 0%, var(--cobalt) 100%);
  border-color: var(--cobalt);
  color: white;
}
.download-card.primary .download-card-label {
  color: white;
}
.download-card.primary .download-card-hint,
.download-card.primary .download-card-meta {
  color: rgba(255, 255, 255, 0.85);
}
.download-card.primary:hover {
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

/* ============================================================
   Regulation overview page
   ============================================================ */

.overview-opener {
  max-width: 64ch;
}

.overview-index-hint {
  color: #4a5568;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

table.overview-index {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

table.overview-index thead th {
  text-align: left;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid #0B2545;
  background: #f7fafc;
}

table.overview-index thead th.num {
  text-align: right;
}

table.overview-index tbody tr {
  border-bottom: 1px solid #e2e8f0;
}

table.overview-index tbody tr:hover {
  background: #f7fafc;
}

table.overview-index tbody tr:target {
  background: #fffbe6;
  box-shadow: inset 3px 0 0 #0B2545;
}

table.overview-index td {
  padding: 0.45rem 0.75rem;
  vertical-align: top;
}

table.overview-index td.cite {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #0B2545;
}

table.overview-index td.cite a {
  color: inherit;
  text-decoration: none;
}

table.overview-index td.cite a:hover {
  text-decoration: underline;
}

table.overview-index td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #4a5568;
}

table.overview-index td.kind {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: 3.5rem;
}

table.overview-index td.kind-ir  { color: #0B2545; }
table.overview-index td.kind-amc { color: #2c7a7b; }
table.overview-index td.kind-gm  { color: #6b46c1; }
table.overview-index td.kind-cs  { color: #c05621; }

.overview-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.overview-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

/* Audit Guide — list of guide links on hub + see-also blocks */
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li {
  padding: 0.6rem 0;
  border-bottom: var(--hairline-w) solid var(--hairline);
  line-height: 1.5;
}
.guide-list li:last-child { border-bottom: none; }
.guide-list a strong { color: var(--navy); }

/* ===== Audit Guide — rich content blocks ===== */

.guide-steps { margin: 1rem 0 1.25rem; padding-left: 1.4rem; }
.guide-steps li { margin: 0.5rem 0; line-height: 1.6; padding-left: 0.25rem; }

.guide-note {
  margin: 1.25rem 0;
  padding: 0.9rem 1.1rem;
  background: var(--card-soft);
  border-left: 3px solid var(--cobalt);
  border-radius: var(--radius);
  font-size: 0.96rem;
  line-height: 1.6;
}
.guide-note p { margin: 0; }

.guide-example {
  margin: 1.25rem 0;
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.guide-example-title {
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.1rem;
}
.guide-example-title::before { content: "Worked example — "; opacity: 0.8; font-weight: 500; }
.guide-example-body { padding: 0.9rem 1.1rem; }
.guide-example-body p:first-child { margin-top: 0; }
.guide-example-body p:last-child { margin-bottom: 0; }

.guide-goodbad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
@media (max-width: 640px) { .guide-goodbad { grid-template-columns: 1fr; } }
.guide-goodbad > div {
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}
.gb-bad  { background: color-mix(in srgb, var(--warn) 8%, transparent); }
.gb-good { background: color-mix(in srgb, var(--good) 8%, transparent); }
.gb-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.gb-label-bad  { color: var(--warn); }
.gb-label-good { color: var(--good); }
.guide-goodbad p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.94rem;
}
.guide-table th, .guide-table td {
  border: var(--hairline-w) solid var(--hairline);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.guide-table thead th {
  background: var(--card-soft);
  font-family: var(--sans);
  font-weight: 600;
}

/* Audit Guide — optional PDF poster download under the lede */
.guide-download { margin: 0.5rem 0 0; }
.guide-download a {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  border: var(--hairline-w) solid var(--hairline);
  border-radius: var(--radius);
  padding: 0.45rem 0.9rem;
  background: var(--card-soft);
  text-decoration: none;
}
.guide-download a:hover { border-color: var(--cobalt); }
