:root {
  --navy-950: #061b2e;
  --navy-900: #08243f;
  --navy-800: #0d3355;
  --navy-700: #174568;
  --teal-800: #085b63;
  --teal-700: #0b6f78;
  --teal-600: #0e7c86;
  --teal-500: #12929c;
  --teal-300: #6cc8cc;
  --teal-100: #e3f4f4;
  --orange: #e96519;
  --paper: #f6f9fa;
  --paper-2: #edf3f5;
  --white: #ffffff;
  --ink: #10293b;
  --muted: #587080;
  --muted-2: #748a98;
  --line: #d8e4ea;
  --line-strong: #b9ccd6;
  --green: #1c7c54;
  --green-bg: #e8f5ee;
  --amber: #8a5600;
  --amber-bg: #fff3dc;
  --shadow-sm: 0 1px 2px rgba(8, 36, 63, .05);
  --shadow: 0 14px 38px rgba(8, 36, 63, .08);
  --shadow-lg: 0 28px 70px rgba(8, 36, 63, .15);
  --radius: 18px;
  --max: 1180px;
  --sans: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(18, 146, 156, .075), transparent 62%),
    var(--paper);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--white); color: var(--navy-900); padding: 12px 16px;
  border-radius: 8px; box-shadow: var(--shadow); font-weight: 700;
}
.skip-link:focus { top: 14px; }

/* Top strip */
.topbar {
  background: var(--navy-950);
  color: #c8dbe4;
  font-size: .71rem;
  letter-spacing: .035em;
}
.topbar .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar strong { color: #fff; font-weight: 650; }
.topbar a { color: #d9edf3; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .top-right { display: flex; align-items: center; gap: 18px; }
.topbar .top-right span { color: var(--teal-300); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 249, 250, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-900);
  flex: none;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(8, 36, 63, .12);
}
.brand-word {
  display: block;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .015em;
}
.brand-word small {
  display: block;
  margin-top: 5px;
  color: var(--teal-700);
  font-size: .57rem;
  font-weight: 750;
  letter-spacing: .2em;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--navy-900); border-bottom-color: var(--teal-500); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy-900);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { border-color: var(--teal-500); }
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
}
.nav-mobile a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}
.nav-mobile a:hover { background: var(--paper-2); color: var(--teal-800); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--navy-900); color: #fff; box-shadow: 0 7px 18px rgba(8, 36, 63, .17); }
.btn-primary:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }
.btn-teal { background: var(--teal-600); color: #fff; }
.btn-teal:hover { background: var(--teal-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--white); border-color: var(--line-strong); color: var(--navy-900); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-800); }
.btn-quiet { background: transparent; color: var(--navy-900); border-color: transparent; padding-inline: 10px; }
.btn-quiet:hover { background: var(--paper-2); }
.btn-sm { min-height: 36px; padding: 9px 13px; font-size: .8rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; padding: 68px 0 26px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(8, 36, 63, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 36, 63, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  margin: 0;
  color: var(--teal-700);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, h4 { color: var(--navy-950); }
h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.5rem, 5.1vw, 4.55rem);
  line-height: 1.01;
  letter-spacing: -.048em;
  font-weight: 800;
}
h1 .accent { color: var(--teal-700); }
.lead {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.68;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 28px 0 17px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--muted-2); font-size: .78rem; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(28, 124, 84, .12);
  flex: none;
}

/* Document stack */
.doc-stack { position: relative; min-height: 480px; padding: 10px 4px 20px 22px; }
.doc-stack::before {
  content: "";
  position: absolute;
  inset: 38px -10px 8px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transform: rotate(3.4deg);
  box-shadow: var(--shadow);
}
.doc-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}
.doc-frame .img-wrap { position: relative; overflow: hidden; border-radius: 5px; background: #fff; }
.doc-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 566px;
  object-fit: cover;
  object-position: top center;
}
.doc-frame .img-wrap::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(transparent, rgba(255,255,255,.96));
  pointer-events: none;
}
.doc-badge {
  position: absolute; top: -13px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy-950); color: #fff;
  padding: 6px 9px; border-radius: 999px;
  font-size: .62rem; font-weight: 800; letter-spacing: .09em;
  box-shadow: 0 4px 10px rgba(8,36,63,.18);
}
.doc-badge .dot { width: 5px; height: 5px; box-shadow: none; background: var(--teal-300); }
.doc-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 7px 5px; }
.doc-caption strong { display: block; color: var(--navy-900); font-size: .88rem; }
.doc-caption span { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; }
.doc-caption .open-mini {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 50%; background: var(--teal-100); color: var(--teal-800);
}
.doc-caption .open-mini svg { width: 17px; height: 17px; }

/* Stats */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat { padding: 21px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  color: var(--navy-950);
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; line-height: 1.4; }

/* Sections */
.section { padding: 62px 0; }
section[id], h2[id], div[id="privacy"] { scroll-margin-top: 100px; }
.section-tight { padding: 38px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -.038em;
  font-weight: 800;
}
.section-head p { max-width: 560px; margin: 0; color: var(--muted); font-size: .96rem; }
.section-head .head-link { flex: none; }
.subtle { color: var(--muted); }

/* Search & table */
.search-panel {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
}
.search-form:focus-within { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(18, 146, 156, .1); }
.search-form svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.search-form input {
  width: 100%;
  min-width: 0;
  padding: 9px 3px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}
.search-form input::placeholder { color: #8397a3; }
.search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.result-count { color: var(--muted); font-size: .78rem; }
.result-count strong { color: var(--navy-900); }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: var(--teal-500); color: var(--teal-800); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 13px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .86rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdfe; }
.product-cell a { color: inherit; text-decoration: none; }
.product-cell a:hover strong { color: var(--teal-800); }
.product-cell strong { display: block; color: var(--navy-900); font-size: .93rem; line-height: 1.25; }
.product-cell span { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.mono { font-family: var(--mono); font-size: .8em; letter-spacing: -.01em; }
.nowrap { white-space: nowrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill-pass { background: var(--green-bg); color: var(--green); }
.pill-rep { background: var(--amber-bg); color: var(--amber); }
.pill-neutral { background: var(--paper-2); color: var(--muted); }
.row-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-800);
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.row-action:hover { text-decoration: underline; }
.row-action svg { width: 14px; height: 14px; }
.empty {
  display: none;
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
}
.empty strong { display: block; color: var(--navy-900); margin-bottom: 5px; }
.table-hint { display: none; }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 10px 0 8px; font-size: 1.05rem; line-height: 1.3; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.62; }
.card .num {
  color: var(--teal-700);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.card-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--teal-100);
  color: var(--teal-800);
}
.card-icon svg { width: 19px; height: 19px; }
.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 176px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-2px); border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.cat-card .cat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cat-card .count { color: var(--teal-700); font-family: var(--mono); font-size: .74rem; }
.cat-card h3 { margin: 0; }
.cat-card p { margin-top: 8px; }
.cat-card .cat-link { margin-top: 18px; color: var(--teal-800); font-size: .78rem; font-weight: 750; display: inline-flex; align-items: center; gap: 5px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step { padding: 27px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .num {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
}
.step h3 { margin: 0 0 7px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  color: var(--navy-900);
  font-size: .96rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--teal-700);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { max-width: 820px; padding: 0 28px 20px 0; color: var(--muted); font-size: .9rem; line-height: 1.68; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.17fr .83fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding: 42px;
  border-radius: 24px;
  background: var(--navy-950);
  color: #fff;
}
.cta::after {
  content: "";
  position: absolute;
  right: -100px; top: -140px;
  width: 430px; height: 430px;
  border: 1px solid rgba(108, 200, 204, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(108, 200, 204, .05), 0 0 0 88px rgba(108, 200, 204, .035);
  pointer-events: none;
}
.cta h2 { position: relative; z-index: 1; margin: 0 0 10px; color: #fff; font-size: clamp(1.55rem, 2.6vw, 2.1rem); letter-spacing: -.03em; line-height: 1.12; }
.cta p { position: relative; z-index: 1; max-width: 620px; margin: 0; color: #bcd3de; font-size: .93rem; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cta .btn-ghost { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }

/* Page hero */
.page-hero { padding: 34px 0 10px; }
.page-hero h1 { margin: 14px 0 12px; font-size: clamp(2.15rem, 4.4vw, 3.9rem); }
.page-hero .lead { font-size: 1.02rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: .76rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-800); text-decoration: underline; }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb [aria-current="page"] { color: var(--navy-900); font-weight: 650; }
.breadcrumb + .eyebrow { margin-top: 20px; }

/* Product header */
.doc-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-top: 22px;
}
.doc-header h1 { margin: 10px 0 10px; font-size: clamp(2.15rem, 4.6vw, 3.85rem); line-height: 1.02; }
.doc-sub { margin: 0; color: var(--muted); font-size: .98rem; }
.doc-sub strong { color: var(--navy-900); font-weight: 650; }
.doc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.doc-chips .pill { padding: 6px 10px; }
.status-card {
  min-width: 246px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.status-card .status-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-card .big { color: var(--green); font-size: 2rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.status-card .status-top span { color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.status-card .status-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.status-card .status-line span { color: var(--muted); font-size: .7rem; }
.status-card .status-line strong { color: var(--navy-900); font-size: .84rem; font-variant-numeric: tabular-nums; }

.answer-box {
  margin-top: 28px;
  padding: 21px 24px;
  border: 1px solid #bde0e1;
  border-left: 5px solid var(--teal-600);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f2fafb 100%);
  color: #294a5c;
  font-size: .95rem;
  line-height: 1.68;
}
.answer-box strong { color: var(--navy-950); }

/* Fact grid */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.fact { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact:nth-child(4n) { border-right: 0; }
.fact:nth-last-child(-n+4) { border-bottom: 0; }
.fact dt { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fact dd { margin: 5px 0 0; color: var(--navy-900); font-size: .88rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }

/* Viewer card */
.viewer-card {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.viewer-preview { display: flex; align-items: flex-start; justify-content: center; padding: 22px; background: var(--paper-2); border-right: 1px solid var(--line); }
.viewer-preview button { display: block; width: 100%; max-width: 480px; padding: 0; border: 0; background: transparent; border-radius: 4px; }
.viewer-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 14px 34px rgba(8,36,63,.14); }
.preview-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--teal-800); font-size: .75rem; font-weight: 700; }
.preview-hint svg { width: 14px; height: 14px; }
.viewer-info { padding: 32px; }
.viewer-info h2 { margin: 0 0 10px; font-size: 1.55rem; letter-spacing: -.03em; }
.viewer-info p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.file-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; }
.file-meta span { display: inline-flex; align-items: center; gap: 5px; }
.file-meta svg { width: 13px; height: 13px; }
.file-note { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--paper); color: var(--muted); font-size: .76rem; }

/* Results table */
.results-table th:nth-child(1) { width: 18%; }
.results-table th:nth-child(2) { width: 22%; }
.results-table th:nth-child(3) { width: 26%; }
.results-table th:nth-child(4) { width: 20%; }
.results-table td { vertical-align: top; }
.results-table td:first-child { color: var(--navy-900); font-weight: 650; }
.results-table .spec { color: var(--muted); }
.results-table .result { color: var(--navy-900); font-weight: 600; }
.results-table .status { text-align: right; }

/* Prose */
.prose { max-width: 860px; }
.prose h2 { margin: 38px 0 12px; font-size: 1.55rem; letter-spacing: -.025em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 8px; font-size: 1.08rem; }
.prose p, .prose li { color: #3e5665; font-size: .94rem; line-height: 1.72; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 21px; margin: 0 0 16px; }
.prose li { margin: 5px 0; }
.prose a { font-weight: 600; }
.prose table { margin: 18px 0 24px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th { background: var(--paper-2); }
.prose td, .prose th { padding: 11px 13px; }
.prose code { padding: 2px 5px; border-radius: 5px; background: var(--paper-2); font-family: var(--mono); font-size: .84em; }
.prose blockquote { margin: 18px 0; padding: 16px 18px; border-left: 4px solid var(--teal-500); background: var(--paper); color: var(--muted); }
.callout { margin: 22px 0; padding: 18px 20px; border: 1px solid #cbe5e6; border-radius: 14px; background: #f2fafb; color: #345465; font-size: .9rem; line-height: 1.65; }
.callout strong { color: var(--navy-950); }
.callout.warn { border-color: #f0d7ac; background: #fff8ec; color: #654a1e; }

/* Verify / lookup */
.lookup {
  padding: 32px;
  border-radius: 22px;
  background: var(--navy-950);
  color: #fff;
  box-shadow: var(--shadow);
}
.lookup h2 { margin: 0 0 7px; color: #fff; font-size: 1.4rem; letter-spacing: -.02em; }
.lookup p { margin: 0 0 18px; color: #b9d0dc; font-size: .88rem; }
.lookup-form { display: flex; gap: 9px; padding: 5px; border: 1px solid rgba(255,255,255,.22); border-radius: 13px; background: rgba(255,255,255,.07); }
.lookup-form input {
  width: 100%; min-width: 0;
  padding: 10px 12px;
  border: 0; outline: 0;
  background: transparent;
  color: #fff;
  font-size: .95rem;
}
.lookup-form input::placeholder { color: #91abb9; }
.lookup-form .btn { flex: none; }
.lookup-note { margin: 12px 0 0; color: #8faab8; font-size: .73rem; }
.verify-result { display: none; margin-top: 18px; }
.verify-result.is-visible { display: block; }
.verify-result-card { padding: 22px; border-radius: 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.verify-result-card .result-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.verify-result-card h3 { margin: 0; font-size: 1.15rem; }
.verify-result-card .result-meta { margin: 12px 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.verify-result-card .result-meta span { display: block; color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.verify-result-card .result-meta strong { display: block; margin-top: 3px; color: var(--navy-900); font-size: .82rem; }
.verify-result-card .result-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Citation */
.cite-box { position: relative; padding: 16px 50px 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: #365161; font-size: .8rem; line-height: 1.6; overflow-wrap: anywhere; }
.copy-btn { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); }
.copy-btn:hover { color: var(--teal-800); border-color: var(--teal-500); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.is-copied { color: var(--green); border-color: var(--green); }

/* Related */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { display: block; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.related-card:hover { border-color: var(--teal-500); transform: translateY(-2px); }
.related-card .cat { color: var(--teal-700); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.related-card strong { display: block; margin: 6px 0 4px; color: var(--navy-900); font-size: .94rem; }
.related-card span { display: block; color: var(--muted); font-size: .73rem; }
.related-card .purity { margin-top: 10px; color: var(--navy-900); font-family: var(--mono); font-size: .76rem; }

/* Footer */
.footer { margin-top: 66px; padding: 52px 0 24px; background: var(--navy-950); color: #b9ced9; }
.footer a { color: #d6e7ef; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.15fr; gap: 38px; }
.footer .brand { color: #fff; }
.footer .brand img { width: 40px; height: 40px; box-shadow: none; }
.footer .brand-word { color: #fff; }
.footer .brand-word small { color: var(--teal-300); }
.footer p { margin: 13px 0 0; color: #91abba; font-size: .8rem; line-height: 1.65; }
.footer h3 { margin: 0 0 12px; color: #7fa1b3; font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 7px 0; font-size: .8rem; }
.footer .contact-line { display: flex; gap: 8px; margin: 7px 0; font-size: .8rem; color: #a9c0cc; }
.footer .contact-line svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--teal-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #7d99a9; font-size: .72rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* Dialog */
.viewer-dialog {
  width: min(1120px, 94vw);
  height: min(90vh, 920px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  overflow: hidden;
}
.viewer-dialog[open] { display: flex; flex-direction: column; }
.viewer-dialog::backdrop { background: rgba(3, 17, 29, .72); backdrop-filter: blur(3px); }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); flex: none; }
.viewer-head h2 { margin: 0; font-size: .95rem; letter-spacing: -.01em; }
.viewer-head p { margin: 2px 0 0; color: var(--muted); font-size: .7rem; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--navy-900); }
.icon-btn:hover { border-color: var(--teal-500); color: var(--teal-800); }
.viewer-body { flex: 1; min-height: 0; background: var(--paper-2); }
.viewer-body iframe { width: 100%; height: 100%; border: 0; display: block; }
.viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 9px 18px; border-top: 1px solid var(--line); flex: none; }
.viewer-foot span { color: var(--muted); font-size: .7rem; }
.viewer-foot .viewer-links { display: flex; gap: 12px; }
.viewer-foot a { font-size: .75rem; font-weight: 700; }

/* 404 */
.notfound { padding: 90px 0 40px; text-align: center; }
.notfound .code { color: var(--teal-700); font-family: var(--mono); font-size: .8rem; letter-spacing: .16em; }
.notfound h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin: 14px 0 14px; }
.notfound p { max-width: 560px; margin: 0 auto 26px; color: var(--muted); }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.rule { height: 1px; margin: 44px 0; background: var(--line); border: 0; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: fade-up .55s ease both; }
.doc-stack { animation: fade-up .7s .1s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 1050px) {
  .nav { gap: 18px; }
  .header-actions .btn-ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .wrap { width: min(var(--max), calc(100% - 36px)); }
  .nav { display: none; }
  .nav-mobile { display: block; }
  .hero { padding-top: 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 720px; }
  .doc-stack { max-width: 560px; margin-inline: auto; min-height: 0; }
  .doc-frame img { max-height: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section { padding: 48px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .doc-header { grid-template-columns: 1fr; align-items: start; }
  .status-card { width: 100%; max-width: 420px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .fact:nth-last-child(3), .fact:nth-last-child(4) { border-bottom: 1px solid var(--line); }
  .viewer-card { grid-template-columns: 1fr; }
  .viewer-preview { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps, .steps-4 { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .cta { grid-template-columns: 1fr; padding: 32px; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 30px); }
  .topbar { font-size: .64rem; }
  .topbar .wrap { min-height: 0; padding: 5px 0; flex-wrap: wrap; gap: 2px; }
  .topbar .top-right { display: none; }
  .header-inner { min-height: 70px; }
  .brand img { width: 38px; height: 38px; }
  .brand-word { font-size: 1.1rem; }
  .brand-word small { font-size: .52rem; }
  .header-actions .btn { display: none; }
  h1 { font-size: 2.35rem; }
  .lead { font-size: 1rem; }
  .hero { padding-top: 36px; }
  .hero-actions .btn { width: 100%; }
  .doc-stack { padding-left: 10px; padding-right: 10px; }
  .doc-frame img { max-height: 420px; }
  .doc-stack::before { inset: 28px 0 6px 22px; }
  .stats { border-radius: 16px; }
  .stat { padding: 17px 16px; }
  .stat b { font-size: 1.5rem; }
  .stat span { font-size: .68rem; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 1.7rem; }
  .search-panel { padding: 12px; }
  .search-form { flex-wrap: wrap; padding: 9px; }
  .search-form .btn { width: 100%; }
  .search-meta { align-items: flex-start; flex-direction: column; }
  .table-wrap { border-radius: 12px; }
  .table-hint { display: block; margin: 9px 0 0; color: var(--muted); font-size: .72rem; }
  table { min-width: 720px; }
  thead th, tbody td { padding: 11px 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 13px; }
  .fact dd { font-size: .8rem; }
  .viewer-info { padding: 22px; }
  .viewer-preview { padding: 14px; }
  .cta { padding: 26px 20px; border-radius: 18px; }
  .cta-actions .btn { width: 100%; }
  .footer { padding-top: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .verify-result-card .result-meta { grid-template-columns: 1fr 1fr; }
  .lookup { padding: 22px; }
  .lookup-form { flex-wrap: wrap; }
  .lookup-form .btn { width: 100%; }
  .page-hero { padding-top: 24px; }
  .doc-header h1 { font-size: 2.1rem; }
  .related-grid { grid-template-columns: 1fr; }
  .viewer-dialog { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; }
  .viewer-foot { padding: 8px 12px; }
}

@media print {
  .topbar, .site-header, .footer, .doc-actions, .viewer-dialog, .related, .cta, .search-panel, .copy-btn, .preview-hint { display: none !important; }
  body { background: #fff; }
  .page-hero { padding: 0; }
  .viewer-card { border: 0; box-shadow: none; }
  .viewer-preview { background: #fff; }
  a { color: #000; text-decoration: none; }
}
