@import "./theme.css";

/* XData — deep blue glass. Solid reading surfaces, translucent navigation. */
:root {
  --paper: #f5f7f9;
  --raise: #eef2f5;
  --card: rgba(255, 255, 255, 0.75);
  --hairline: #dfe5e9;
  --hairline-strong: #bec8d6;
  --ink: #1b2b40;
  --ink-soft: #586779;
  --ink-faint: #627185;
  --forest: #244e7a;
  --forest-soft: #e7eef7;
  --oxblood: #af3933;
  --oxblood-soft: #fbeae8;
  --amber: #8c6519;
  --amber-soft: #faf1dd;
  --serif: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --glass-shadow:
    0 12px 40px -24px #49627166, inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--forest);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
:focus-visible {
  outline: 3px solid #398dce;
  outline-offset: 4px;
}
::selection {
  background: #d8e5f5;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
code,
pre,
.mono {
  font-family: var(--mono);
}
.wrap {
  width: min(1160px, 100% - 64px);
  margin-inline: auto;
}
.glass {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.82),
    rgba(255, 255, 255, 0.58)
  );
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 12px 32px -20px rgba(37, 54, 78, 0.32),
    inset 0 1px 1px #fff,
    inset 0 -1px 1px rgba(93, 125, 163, 0.12);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -70px;
  padding: 12px 20px;
  background: white;
  border-radius: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 15px;
}
.hidden {
  display: none !important;
}
.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  width: min(1224px, 100% - 40px);
  border: 1px solid #d8dee7d9;
  border-radius: 22px;
  background: #ffffffa6;
  box-shadow:
    0 5px 22px -12px #53617940,
    inset 0 1px 0 #fff;
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
}
.site-header .wrap {
  width: auto;
  display: flex;
  align-items: center;
  height: 66px;
  padding: 0 24px;
  gap: 40px;
}
.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.8px;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d5dce6, #fff 43%, #97a5b9);
  border: 1px solid #ffffffee;
  box-shadow:
    0 2px 4px #365a8020,
    inset 0 0 5px white;
  width: 30px;
  height: 32px;
  border-radius: 10px;
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
  color: #2c507c;
  padding-bottom: 4px;
}
.brand .dot {
  color: var(--forest);
}
.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: auto;
  font-size: 14px;
}
.site-nav a {
  color: var(--ink-soft);
}
.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}
.header-cta {
  margin-left: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: #ffffff82;
  color: var(--ink);
  padding: 12px 21px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  background: white;
  box-shadow: 0 3px 12px #29476c10;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(160deg, #294a70, #192f4c);
  box-shadow: inset 0 1px 0 #ffffff24;
  color: white;
  border-color: var(--ink);
}
.btn-primary:hover {
  background: #2d4667;
}
.btn-small {
  padding: 9px 17px;
  font-size: 13px;
}
.text-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}
.text-link:hover {
  color: var(--forest);
  text-decoration: none;
}
.discovery-page {
  background: #f5f7f9;
}
.discovery-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  align-items: center;
  gap: 32px;
  text-align: left;
  padding-top: 58px;
  padding-bottom: 58px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.09em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.discovery-hero .eyebrow {
  justify-content: flex-start;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #3b638e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #365f920c;
}
.discovery-hero h1 {
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin: 0 0 25px;
  text-wrap: balance;
}
.discovery-hero h1 > span {
  background: linear-gradient(110deg, #456b99, #1d3658 75%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 30px;
}
.discovery-search {
  max-width: 650px;
  width: 100%;
  margin: 0;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  text-align: left;
}
.discovery-search > svg {
  width: 22px;
  height: 22px;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.discovery-search input {
  width: 100%;
  min-width: 0;
  outline: none;
  border: 0;
  background: none;
  height: 45px;
  font-size: 15px;
  color: var(--ink);
}
.discovery-search input::placeholder {
  color: var(--ink-faint);
}
.discovery-search:focus-within {
  outline: 2px solid #355f92;
  outline-offset: 3px;
}
.discovery-search button {
  border: 1px solid #1b3556;
  background: linear-gradient(160deg, #294a70, #192f4c);
  box-shadow: inset 0 1px 0 #ffffff24;
  color: white;
  height: 45px;
  border-radius: 15px;
  padding: 0 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.discovery-search button:hover {
  background: #314d70;
}
.suggestions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  margin-top: 18px;
  color: var(--ink-faint);
}
.suggestions > span {
  margin-right: 4px;
}
.suggestions a {
  border: 1px solid #d9e1e8b3;
  border-radius: 20px;
  padding: 4px 11px;
  background: #ffffff45;
  color: var(--ink-soft);
}
.suggestions a:hover {
  background: white;
  text-decoration: none;
}
.access-note {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 22px;
}
.access-note svg {
  width: 15px;
  height: 15px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 26px;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
}
.section-heading h2 {
  font-size: 30px;
  letter-spacing: -0.045em;
  margin: 0;
}
.section-heading .text-link {
  margin-bottom: 3px;
}
.library-toolbar {
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-pills button {
  border: 1px solid transparent;
  border-radius: 30px;
  padding: 8px 15px;
  font-size: 13px;
  color: var(--ink-soft);
  background: none;
}
.filter-pills button:hover {
  background: #ffffffa3;
}
.filter-pills button.active {
  background: white;
  border-color: #dee5e9;
  box-shadow: 0 2px 5px #253a4710;
  color: var(--ink);
}
.sort-label {
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.sort-label span {
  padding-left: 10px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  min-height: 220px;
}
.source-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 23px;
  background: linear-gradient(145deg, #fff, #ffffffb3);
  border: 1px solid white;
  border-radius: 22px;
  box-shadow: 0 3px 12px -8px #3d657f4d;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  min-height: 245px;
}
.source-card:hover {
  border-color: #cdd8e6;
  box-shadow: 0 8px 24px -16px #3d657f45;
}
.source-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.source-avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #e9eff7;
  color: #365b88;
  font-size: 12px;
  letter-spacing: -0.04em;
  font-weight: 650;
}
.source-card:nth-child(3n + 2) .source-avatar {
  background: #e9eef6;
  color: #556c96;
}
.source-card:nth-child(3n + 3) .source-avatar {
  background: #f4ece2;
  color: #927344;
}
.source-publication {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-format {
  margin-left: auto;
  white-space: nowrap;
  color: var(--ink-faint);
  font-size: 12px;
}
.source-card h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.source-card h3 a {
  color: var(--ink);
}
.source-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 22px;
}
.source-card h3 a:hover {
  text-decoration: none;
}
.source-summary {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.source-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-faint);
  font-size: 12px;
}
.source-arrow {
  font-size: 20px;
  color: var(--ink-soft);
}
.library-state {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}
.library-footnote {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 2px;
  color: var(--ink-faint);
  font-size: 12px;
}
.library-footnote a {
  margin-left: auto;
  color: var(--ink-soft);
}
.transparency-section {
  padding-top: 57px;
}
.transparency-panel {
  border-radius: 28px;
  border: 1px solid #dce4ed;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  background: #eef1f5;
}
.transparency-copy h2 {
  font-size: 37px;
  line-height: 1.12;
  margin: 19px 0;
}
.transparency-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 390px;
  margin-bottom: 24px;
}
.provenance-steps {
  padding: 4px 0;
}
.provenance-steps > div {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 19px;
  border-bottom: 1px solid #d8e2e7;
}
.step-number {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #ffffff80;
  box-shadow: 0 2px 5px #36566510;
  font-size: 12px;
  color: var(--forest);
}
.provenance-steps h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
  margin: 2px 0 6px;
}
.provenance-steps p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}
.provenance-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
}
.coverage-section {
  padding-top: 80px;
}
.section-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 620px;
}
.coverage-section .section-heading {
  margin-bottom: 15px;
}
.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.coverage-list .src {
  border: 1px solid var(--hairline);
  border-radius: 13px;
  padding: 10px 15px;
  background: #ffffff70;
  color: var(--ink-soft);
  display: inline-flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}
.coverage-list .src:hover {
  background: white;
  border-color: var(--hairline-strong);
  text-decoration: none;
}
.coverage-list b {
  font-weight: 500;
  color: var(--ink);
}
.coverage-list .n {
  color: var(--ink-faint);
  font-size: 12px;
}
.coverage-note {
  max-width: 720px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.8;
  margin: 24px 0 0;
}
.coverage-status {
  font-size: 14px;
  color: var(--ink-soft);
}
.connect-section {
  padding-top: 85px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.connect-section h2 {
  font-size: 37px;
  margin: 0 0 20px;
}
.connect-section p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}
.connect-docs {
  display: block;
  margin-top: 17px;
  color: var(--ink-faint);
  font-size: 13px;
}
.connect-card {
  padding: 34px;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: #fff;
  text-align: center;
}
.connection-icon {
  margin: auto auto 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid white;
  border-radius: 15px;
  box-shadow: var(--glass-shadow);
  color: var(--forest);
  font-size: 30px;
  background: #ffffff99;
}
.connect-card h3 {
  font-size: 27px;
  margin: 0 0 14px;
}
.connect-card > p {
  font-size: 13px;
}
.client-names {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  margin: 24px 0;
}
.endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff80;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  max-width: 560px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.endpoint > span {
  min-width: 0;
}
.endpoint button {
  margin-left: auto;
  flex-shrink: 0;
}
.access-section {
  margin-top: 85px;
  border-top: 1px solid var(--hairline);
  padding-top: 35px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: start;
}
.access-section h2 {
  font-size: 21px;
  margin-bottom: 10px;
}
.access-section p {
  max-width: 440px;
  font-size: 13px;
  color: var(--ink-soft);
}
.inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 480px;
}
.inline-form input[type="email"],
.inline-form input[type="text"] {
  flex: 1;
  min-width: 160px;
  border: 1px solid var(--hairline-strong);
  border-radius: 30px;
  padding: 12px 18px;
  background: #ffffff90;
  color: var(--ink);
  font-size: 14px;
}
.form-note {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 5px 0 0;
}
.site-footer {
  margin-top: 70px;
  padding: 30px 0;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-faint);
}
.site-footer .wrap {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.site-footer .brand {
  font-size: 18px;
}
.site-footer .brand-mark {
  width: 25px;
  height: 27px;
  font-size: 24px;
  border-radius: 8px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}
.site-footer a:not(.brand) {
  color: var(--ink-faint);
}
/* Documentation, connection guide, and legal pages share the same readable system. */
.prose {
  max-width: 760px;
  padding-top: 60px;
}
.prose h1 {
  font-size: 42px;
  margin-bottom: 18px;
}
.prose h2 {
  font-size: 26px;
  margin: 40px 0 14px;
}
.prose h3 {
  font-size: 19px;
  margin: 28px 0 10px;
}
.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}
.prose strong {
  color: var(--ink);
}
.prose code,
.client-pane code {
  background: #eaf0f4;
  border: 1px solid var(--hairline);
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 0.85em;
}
.prose .updated {
  color: var(--ink-faint);
  font-size: 13px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  display: block;
  overflow: auto;
}
.prose th,
.prose td {
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  padding: 13px 15px 13px 0;
  vertical-align: top;
}
.prose th {
  font-size: 13px;
  font-weight: 600;
}
.connect-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 50px;
  padding-top: 40px;
}
.client-rail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  position: sticky;
  top: 115px;
}
.client-rail button {
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  text-align: left;
  padding: 12px 16px;
  color: var(--ink-soft);
  font-size: 14px;
}
.client-rail button:hover {
  background: white;
}
.client-rail button.active {
  background: white;
  color: var(--forest);
  border-color: var(--hairline);
  box-shadow: 0 2px 8px #3545500a;
}
.client-pane {
  display: none;
}
.client-pane.active {
  display: block;
}
.client-pane ol {
  padding-left: 22px;
}
.client-pane li {
  margin-bottom: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.section-title {
  font-size: 28px;
}
.section-kicker,
.kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}
pre.code {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 20px;
  font-size: 13px;
  overflow: auto;
  color: var(--ink);
}
details.trouble {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: #ffffff80;
  padding: 16px 20px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
}
summary {
  cursor: pointer;
}
.verify {
  border-left: 2px solid var(--forest);
  border-radius: 0 12px 12px 0;
  background: var(--forest-soft);
  padding: 20px;
  font-size: 14px;
  margin-top: 24px;
  color: var(--ink-soft);
}
.verify strong {
  color: var(--ink);
}
.card {
  border: 1px solid var(--hairline);
  background: white;
  border-radius: 20px;
  padding: 24px;
}
.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.tool-card .name {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--forest);
}
.tool-card p {
  font-size: 14px;
  color: var(--ink-soft);
}
.section {
  padding-top: 50px;
}
.tool-group-label {
  margin: 25px 0 15px;
  color: var(--ink-faint);
  font-size: 13px;
}
.stance-chip {
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 12px;
}
.stance-bullish {
  background: var(--forest-soft);
  color: var(--forest);
}
.stance-bearish {
  background: var(--oxblood-soft);
  color: var(--oxblood);
}
@media (min-width: 1600px) {
  .discovery-hero {
    padding-top: 90px;
    padding-bottom: 80px;
  }
}
@media (max-width: 900px) {
  .site-header .wrap {
    gap: 20px;
  }
  .site-nav {
    gap: 20px;
  }
  .library-grid {
    gap: 12px;
  }
  .source-card {
    padding: 18px;
  }
  .source-format {
    display: none;
  }
  .transparency-panel {
    padding: 35px;
    gap: 35px;
  }
  .connect-section {
    gap: 35px;
  }
  .connect-card {
    padding: 25px;
  }
  .access-section {
    gap: 25px;
  }
  .access-section > div {
    max-width: 45%;
  }
  .footer-tagline {
    display: none;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 95px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    margin-top: 10px;
    border-radius: 19px;
  }
  .site-header .wrap {
    height: 60px;
    padding: 0 15px;
    gap: 15px;
  }
  .brand {
    font-size: 20px;
  }
  .site-nav {
    gap: 16px;
    font-size: 13px;
    margin-left: auto;
    margin-right: 0;
  }
  .site-header .wrap {
    flex-wrap: wrap;
    height: auto;
    gap: 0;
    padding: 12px 15px 0;
  }
  .site-header .brand {
    order: 1;
  }
  .site-header .header-cta {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }
  .site-header .site-nav {
    order: 3;
    flex-basis: 100%;
    overflow: auto;
    gap: 23px;
    margin: 12px 0 0;
    padding-bottom: 12px;
    white-space: nowrap;
  }
  .site-header .site-nav a {
    display: block;
  }
  .discovery-hero {
    padding-top: 48px;
    padding-bottom: 44px;
  }
  .discovery-hero h1 {
    font-size: 42px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 340px;
    margin-inline: auto;
  }
  .desktop-break {
    display: none;
  }
  .discovery-search {
    gap: 10px;
    border-radius: 18px;
    padding-left: 15px;
  }
  .discovery-search input {
    font-size: 13px;
  }
  .discovery-search button {
    width: 43px;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
  }
  .search-label {
    display: none;
  }
  .suggestions {
    gap: 7px;
    font-size: 12px;
  }
  .suggestions > span {
    flex-basis: 100%;
    margin-bottom: 3px;
  }
  .suggestions a {
    padding: 4px 9px;
  }
  .access-note {
    margin-top: 17px;
  }
  .section-heading {
    align-items: start;
    gap: 15px;
    margin-bottom: 23px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading .text-link {
    font-size: 12px;
    gap: 6px;
    white-space: normal;
    max-width: 90px;
    line-height: 1.6;
    margin-top: 22px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .library-toolbar {
    padding-bottom: 12px;
  }
  .filter-pills {
    gap: 0;
  }
  .filter-pills button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .sort-label {
    display: none;
  }
  .library-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .source-card {
    min-height: 210px;
    padding: 22px;
  }
  .source-meta {
    margin-bottom: 18px;
  }
  .source-format {
    display: block;
  }
  .source-card h3 {
    font-size: 20px;
  }
  .source-summary {
    font-size: 14px;
  }
  .library-footnote {
    font-size: 12px;
  }
  .library-footnote a {
    flex-basis: 100%;
    margin: 4px 0;
  }
  .transparency-section {
    padding-top: 32px;
  }
  .transparency-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
    padding: 28px;
    gap: 35px;
  }
  .transparency-copy h2 {
    font-size: 32px;
  }
  .transparency-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .coverage-section {
    padding-top: 48px;
  }
  .coverage-list {
    gap: 8px;
  }
  .coverage-list .src {
    font-size: 13px;
    padding: 9px 11px;
    gap: 12px;
  }
  .connect-section {
    grid-template-columns: 1fr;
    padding-top: 50px;
    gap: 30px;
  }
  .connect-section h2 {
    font-size: 32px;
  }
  .connect-card {
    padding: 28px 20px;
  }
  .access-section {
    margin-top: 45px;
    padding-top: 25px;
    flex-direction: column;
    gap: 15px;
  }
  .access-section > div {
    max-width: 100%;
  }
  .inline-form {
    width: 100%;
  }
  .inline-form .btn {
    font-size: 12px;
    padding-inline: 15px;
  }
  .site-footer {
    margin-top: 45px;
  }
  .site-footer .wrap {
    gap: 18px;
  }
  .site-footer nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 20px;
  }
  .site-footer .wrap > span:last-child {
    margin-left: auto;
  }
  .prose {
    padding-top: 38px;
  }
  .prose h1 {
    font-size: 34px;
  }
  .prose h2 {
    font-size: 24px;
  }
  .connect-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .client-rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .client-rail button {
    font-size: 13px;
    padding: 9px 12px;
  }
  .endpoint {
    font-size: 12px;
  }
  .endpoint .btn {
    padding: 8px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (prefers-contrast: more) {
  .glass,
  .site-header,
  .source-card {
    background: #fff;
    border-color: #85969f;
  }
  body {
    --ink-soft: #37454e;
    --ink-faint: #46535c;
  }
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .glass,
  .site-header {
    background: #f9fbfc;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .glass,
  .site-header {
    background: #f9fbfc;
  }
}
.library-notice {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 10px 2px 15px;
}
.library-notice .btn {
  flex-shrink: 0;
}
.filter-pills button {
  min-height: 40px;
}

/* Editorial image: one material study, isolated from the reading surface. */
.hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hero-art {
  margin: 0 -20px 0 0;
  position: relative;
  perspective: 1000px;
  min-width: 0;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 32px;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: auto;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  pointer-events: none;
  background: radial-gradient(
    ellipse at var(--light-x, 30%) var(--light-y, 20%),
    #ffffff50,
    transparent 60%
  );
  opacity: var(--art-light, 0);
  transition: opacity 600ms;
}
.hero-art:hover {
  --art-light: 1;
}
.site-header {
  transition:
    box-shadow 220ms,
    background 220ms;
}
.site-header.is-scrolled {
  background: #ffffffbf;
  box-shadow:
    0 12px 35px -22px #324f6570,
    inset 0 1px 0 #fff;
}
.btn,
.ops-btn,
.discovery-search button {
  transition:
    background 180ms,
    box-shadow 180ms,
    transform 180ms;
}
.btn:active,
.ops-btn:active,
.discovery-search button:active {
  transform: scale(0.975);
}
.filter-pills {
  position: relative;
}
.filter-pills button {
  position: relative;
  z-index: 1;
  transition:
    background 200ms,
    box-shadow 200ms,
    color 200ms;
}
.source-card {
  transition:
    border-color 200ms,
    box-shadow 200ms;
}
.source-card:focus-within {
  border-color: #7393b8;
  box-shadow: 0 0 0 3px #dce7f4;
}
.section-heading h2 {
  text-wrap: balance;
}
.provenance-steps .step-number {
  background: #fff;
  box-shadow: none;
}
.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 35px;
}
.coverage-list .src {
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: none;
  border-radius: 0;
  padding: 17px 0;
  gap: 13px;
}
.coverage-list .src:hover {
  background: none;
  border-color: #93a5bd;
}
.coverage-list .src b {
  flex: 1;
  overflow-wrap: anywhere;
}
.coverage-list .n {
  white-space: nowrap;
}
.coverage-status {
  grid-column: 1 / -1;
}
.coverage-summary {
  color: var(--ink-faint);
  font-size: 12px;
  margin-top: 18px;
}
.coverage-summary button {
  margin-left: 15px;
  background: none;
  border: 0;
  color: var(--forest);
  padding: 8px 0;
}
.library-notice {
  border-radius: 14px;
  padding: 14px 18px;
  background: #eaf0f3;
  margin-bottom: 3px;
}
@media (min-width: 1600px) {
  .discovery-hero {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}
@media (max-width: 1050px) {
  .discovery-hero {
    gap: 16px;
    grid-template-columns: 1.2fr 1fr;
  }
  .discovery-hero h1 {
    font-size: 61px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-art {
    margin-right: 0;
  }
  .discovery-search {
    padding-left: 16px;
    gap: 8px;
  }
  .discovery-search input {
    font-size: 14px;
  }
  .discovery-search button {
    padding: 0 16px;
    gap: 10px;
  }
  .suggestions > span {
    flex-basis: 100%;
  }
}
@media (max-width: 760px) {
  .discovery-hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 42px;
    padding-bottom: 45px;
  }
  .hero-content {
    width: 100%;
  }
  .discovery-hero h1 {
    font-size: clamp(48px, 9vw, 66px);
  }
  .discovery-hero .eyebrow {
    margin-bottom: 20px;
  }
  .hero-description {
    margin-inline: 0;
    max-width: 500px;
  }
  .hero-art {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-art img {
    border-radius: 26px;
  }
  .suggestions {
    justify-content: flex-start;
  }
  .access-note {
    justify-content: flex-start;
  }
  .coverage-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .hero-art {
    max-width: 300px;
  }
  .hero-description {
    font-size: 15px;
  }
  .discovery-hero h1 {
    font-size: 51px;
  }
  .library-notice {
    font-size: 12px;
    padding: 13px;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art img {
    transform: none;
  }
  .hero-art::after {
    display: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .glass,
  .site-header,
  .site-header.is-scrolled {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.coverage-source {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.coverage-date {
  font-size: 12px;
  color: var(--ink-faint);
}
