:root {
  --city-ink: #10231D;
  --city-night: #0A2F26;
  --city-route: #176BFF;
  --city-signal: #F6C945;
  --city-mist: #EEF4F1;
  --city-paper: #FFFFFF;
  --city-line: #CAD8D2;
  --city-muted: #5B6B64;
  --ink: var(--city-ink);
  --muted: var(--city-muted);
  --paper: var(--city-mist);
  --surface: var(--city-paper);
  --line: var(--city-line);
  --brand: var(--city-night);
  --brand-dark: var(--city-night);
  --accent: var(--city-route);
  --accent-soft: #E8F0FF;
  --lime: var(--city-signal);
  --shadow: 0 18px 48px rgba(10, 47, 38, 0.1);
  --radius: 14px;
  --font-display: "STHeiti", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-utility: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(10, 47, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 47, 38, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 40px, 40px 100%, auto;
  font-family: var(--font-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
input,
summary {
  -webkit-tap-highlight-color: rgba(23, 107, 255, 0.18);
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--city-route);
  outline-offset: 3px;
}

.skip-link {
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--city-paper);
  background: var(--city-route);
  border-radius: 8px;
  position: fixed;
  transform: translateY(-180%);
  transition: transform 140ms ease;
  z-index: 100;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

button,
input {
  font: inherit;
}

.preview-bar {
  padding: 8px 16px;
  color: var(--city-ink);
  background: var(--city-signal);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}

.shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 18px;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  display: block;
  width: auto;
  height: auto;
  color: var(--brand);
  background: transparent;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  box-shadow: none;
  position: relative;
}

.brand-mark::after {
  display: block;
  right: -7px;
  bottom: 1px;
  width: 6px;
  height: 6px;
  background: var(--city-route);
  border-radius: 50%;
  position: absolute;
  content: "";
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: var(--city-paper);
  border: 1px solid var(--city-line);
  border-radius: 999px;
}

nav a {
  padding: 9px 14px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

nav a:hover,
nav a.active {
  color: #fff;
  background: var(--city-route);
}

main {
  min-height: 70vh;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
td {
  text-wrap: pretty;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: 48px;
  align-items: center;
  min-height: 530px;
  padding: 78px 6.5% 68px;
  overflow: hidden;
  color: var(--city-paper);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    var(--city-night);
  background-size: 40px 40px, 40px 40px, auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: none;
  position: relative;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
}

.hero::before {
  top: 0;
  left: 0;
  width: 9px;
  height: 100%;
  background: var(--city-route);
}

.hero::after {
  right: 5.5%;
  bottom: 0;
  width: 160px;
  height: 10px;
  background: var(--city-signal);
}

.hero-copy,
.trust-panel {
  position: relative;
  z-index: 1;
}

.kicker,
.eyebrow {
  color: var(--accent);
  font-family: var(--font-utility);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero .kicker {
  color: var(--city-signal);
}

.hero h1 {
  max-width: 750px;
  margin: 14px 0 18px;
  color: var(--city-paper);
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: var(--city-signal);
  font-style: normal;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--city-route);
  box-shadow: 0 10px 24px rgba(23, 107, 255, 0.25);
}

.button.ghost {
  color: var(--brand);
  background: transparent;
  border-color: rgba(10, 47, 38, 0.3);
}

.hero .button.ghost,
.button.ghost.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.trust-panel {
  padding: 32px;
  color: var(--city-ink);
  background: var(--city-paper);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 14px 14px 0 var(--city-route);
}

.trust-panel .eyebrow {
  color: var(--city-route);
}

.trust-panel strong {
  display: block;
  margin: 9px 0 17px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.35;
}

.trust-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-panel li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px 0;
  color: var(--city-muted);
  border-top: 1px solid var(--city-line);
  font-size: 13px;
}

.trust-panel li b {
  color: var(--city-ink);
  font-size: 12px;
}

.trust-panel li span {
  display: block;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  background: var(--city-paper);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.metrics div {
  padding: 26px 30px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  color: var(--city-route);
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1;
}

.metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.search-section,
.content-section {
  padding: 88px 0 28px;
}

.search-section.compact {
  padding-top: 32px;
}

.section-heading {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-heading h2,
.page-hero h1,
.entity-hero h1,
.event-hero h1,
.article h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.18;
  text-wrap: balance;
}

.section-heading h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.section-heading > p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.search-box {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.search-box span {
  color: var(--brand);
  font-size: 27px;
  line-height: 1;
}

.search-box input {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.search-box input::placeholder {
  color: #98a19e;
}

.search-box input:focus-visible,
.hero-search input:focus-visible {
  outline: 3px solid var(--city-route);
  outline-offset: 3px;
}

.filter-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 16px 0 22px;
}

.filter {
  padding: 7px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}

.filter.active,
.filter:hover {
  color: #fff;
  background: var(--city-route);
  border-color: var(--city-route);
}

#result-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.result-grid,
.answer-grid,
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.result-card,
.answer-card,
.source-card {
  min-width: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.result-card:hover,
.answer-card:hover,
.source-card:hover {
  border-color: var(--city-route);
  box-shadow: 0 12px 30px rgba(23, 107, 255, 0.1);
  transform: translateY(-3px);
}

.card-top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.result-card h3,
.answer-card h3,
.source-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.35;
}

.result-card h3 a:hover,
.answer-card h3 a:hover,
.source-card h3 a:hover {
  color: var(--brand);
}

.result-card p,
.answer-card p,
.source-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0;
}

.tag {
  padding: 4px 8px;
  color: var(--brand);
  background: var(--city-mist);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
}

.text-link {
  color: var(--city-route);
  font-size: 12px;
  font-weight: 800;
}

.event-card {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 16px;
}

.date-chip {
  display: flex;
  width: 52px;
  height: 60px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--city-ink);
  background: var(--city-signal);
  border-radius: 10px;
}

.date-chip strong {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
}

.date-chip span,
.event-meta {
  color: var(--muted);
  font-size: 10px;
}

.event-meta {
  margin: -6px 0 13px;
}

.empty-state {
  padding: 35px;
  color: var(--muted);
  background: var(--city-paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 70px 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.principles > div {
  padding: 30px;
  background: var(--surface);
}

.principles span {
  color: var(--accent);
  font-family: var(--font-utility);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.principles h3 {
  margin: 10px 0 7px;
  font-size: 17px;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 60px 0 90px;
  padding: 38px 44px;
  color: #fff;
  background: var(--city-night);
  border-radius: 18px;
  border-left: 8px solid var(--city-route);
}

.cta-panel h2 {
  margin: 8px 0 5px;
  font-family: var(--font-display);
  font-size: 28px;
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.cta-panel .hero-actions {
  margin: 0;
}

.page-hero {
  padding: 65px 6%;
  background: var(--city-paper);
  border: 1px solid var(--line);
  border-left: 9px solid var(--city-route);
  border-radius: 18px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

.page-hero .button {
  margin-top: 22px;
}

.entity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.7fr);
  gap: 35px;
  padding: 58px 6%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 9px solid var(--city-route);
  border-radius: 18px;
  box-shadow: none;
}

.entity-hero h1,
.event-hero h1,
.article h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.entity-hero > div > p,
.event-hero > div > p {
  max-width: 720px;
  color: var(--muted);
}

.entity-facts {
  align-self: stretch;
  padding: 22px;
  background: var(--city-mist);
  border-radius: 12px;
}

.entity-facts div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(12, 90, 86, 0.13);
}

.entity-facts span,
.entity-facts strong {
  display: block;
}

.entity-facts span,
.event-detail-grid span {
  color: var(--muted);
  font-size: 10px;
}

.entity-facts strong {
  margin-top: 3px;
  font-size: 13px;
}

.entity-facts .button {
  width: 100%;
  margin-top: 20px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.claims {
  width: 100%;
  border-collapse: collapse;
}

.claims th,
.claims td {
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 12px;
}

.claims thead th {
  color: var(--muted);
  background: #edf4f1;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.claims tbody th {
  min-width: 115px;
  color: var(--brand);
}

.claims td:nth-child(2) {
  min-width: 250px;
}

.claims a {
  color: var(--brand);
  font-weight: 700;
}

.claims small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.correction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 55px 0 85px;
  padding: 28px 32px;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.correction p {
  margin: 2px 0 0;
  color: #76523e;
  font-size: 12px;
}

.verification-gaps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 28px;
  margin: 18px 0 0;
  padding: 28px;
  background: #fff8e8;
  border: 1px solid #e6b85f;
  border-radius: 22px;
}

.verification-gaps h2 {
  margin: 8px 0;
}

.verification-gaps p {
  margin: 0;
  color: var(--muted);
}

.verification-gaps ul {
  margin: 0;
  padding-left: 22px;
  columns: 2;
}

.verification-gaps li {
  margin: 6px 0;
  break-inside: avoid;
}

.event-hero {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 32px;
  align-items: center;
  padding: 58px 6%;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 30px;
}

.date-block {
  display: grid;
  height: 135px;
  place-items: center;
  align-content: center;
  background: var(--accent);
  border-radius: 23px;
}

.date-block strong {
  font-family: var(--font-display);
  font-size: 55px;
  line-height: 1;
}

.date-block span {
  margin-top: 6px;
  font-size: 11px;
}

.event-hero .text-link {
  color: #ffb78f;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -16px 4% 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.event-detail-grid > div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.event-detail-grid > div:last-child {
  border-right: 0;
}

.event-detail-grid strong,
.event-detail-grid small {
  display: block;
}

.event-detail-grid strong {
  margin-top: 3px;
  font-size: 13px;
}

.event-detail-grid small {
  color: var(--muted);
  font-size: 10px;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 65px 8%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.article-meta {
  margin-top: 16px;
  padding-bottom: 20px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.article-body {
  padding: 25px 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.95;
}

.article-body h2,
.article-body h3 {
  margin: 35px 0 10px;
  font-family: var(--font-display);
}

.article-body h2 {
  font-size: 24px;
}

.article-body h3 {
  font-size: 19px;
}

.article-body ul {
  padding-left: 24px;
}

.article-sources {
  padding: 22px;
  background: #edf4f1;
  border-radius: 16px;
}

.article-sources h2 {
  margin: 0 0 12px;
  font-size: 15px;
}

.article-sources ol {
  margin: 0;
  padding-left: 20px;
}

.article-sources li {
  padding: 4px 0;
  font-size: 12px;
}

.article-sources a {
  color: var(--brand);
  font-weight: 700;
}

.article-sources small {
  display: block;
  color: var(--muted);
}

.source-card small {
  color: var(--muted);
}

.source-claims {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
}

.source-claims li {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(250px, 1.5fr) 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.source-claims li:last-child {
  border-bottom: 0;
}

.source-claims strong {
  color: var(--brand);
}

.source-claims small {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 36px 0 45px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: var(--city-route);
}

.time-discovery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 58px 0 0;
  padding-top: 16px;
  position: relative;
}

.time-discovery::before {
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--city-route) 0 78%, var(--city-signal) 78% 100%);
  border-radius: 999px;
  position: absolute;
  content: "";
}

.time-discovery a,
.taxonomy-grid a,
.service-grid a,
.service-grid article,
.taxonomy-detail-grid article,
.authority-grid article,
.evidence-grid article {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.time-discovery a {
  transition: transform 160ms ease, border-color 160ms ease;
}

.time-discovery a:hover,
.taxonomy-grid a:hover,
.service-grid a:hover {
  border-color: var(--city-route);
  transform: translateY(-3px);
}

.time-discovery span,
.taxonomy-grid span,
.service-grid span,
.taxonomy-detail-grid span,
.authority-grid span,
.evidence-grid span {
  color: var(--accent);
  font-size: 10px;
  font-family: var(--font-utility);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.time-discovery strong,
.taxonomy-grid strong,
.service-grid strong {
  display: block;
  margin: 5px 0;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 25px;
}

.time-discovery small,
.taxonomy-grid p,
.service-grid p,
.taxonomy-detail-grid p,
.authority-grid p,
.evidence-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.taxonomy-grid a {
  padding: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-grid a,
.service-grid article {
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.service-grid article h2 {
  margin: 6px 0 8px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 22px;
}

.taxonomy-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.taxonomy-detail-grid h3,
.authority-grid h2,
.evidence-grid h3 {
  margin: 6px 0 8px;
}

.taxonomy-section {
  scroll-margin-top: 20px;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 78px;
}

.authority-grid h2 {
  font-family: var(--font-display);
  font-size: 22px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.evidence-grid article {
  padding: 20px;
}

.content-section.compact-top {
  padding-top: 34px;
}

.facet-panel {
  margin: 22px 0 0;
  padding: 28px;
  background: var(--city-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.facet-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
}

.facet-group {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.facet-group > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.evidence-badge {
  display: block;
  color: var(--brand);
  font-size: 12px;
}

.updates-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  list-style: none;
}

.updates-list li {
  display: grid;
  grid-template-columns: 110px 110px 1fr;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.updates-list li:last-child {
  border-bottom: 0;
}

.updates-list time,
.updates-list span {
  color: var(--muted);
}

.updates-list a {
  color: var(--brand);
  font-weight: 750;
}

.empty-panel {
  padding: 34px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 18px;
}

.empty-panel strong {
  color: var(--brand);
}

.empty-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 690px;
  margin-top: 28px;
  padding: 8px 8px 8px 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.hero-search > span {
  color: var(--brand);
  font-size: 26px;
  line-height: 1;
}

.hero-search input {
  min-width: 0;
  padding: 9px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.hero-search input::placeholder {
  color: #89918f;
}

.hero-search button {
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.quick-links a {
  padding: 3px 9px;
  color: var(--city-paper);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signal-grid article {
  min-height: 170px;
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  border-top: 4px solid var(--city-route);
}

.signal-grid span {
  color: var(--accent);
  font-family: var(--font-utility);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.signal-grid strong {
  display: block;
  margin: 12px 0 7px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 21px;
}

.signal-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.article-showcase {
  padding-top: 72px;
}

.intelligence-section {
  padding: 62px 0 0;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.intelligence-grid article {
  min-width: 0;
  padding: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.intelligence-grid span,
.intelligence-grid strong,
.intelligence-grid small {
  display: block;
}

.intelligence-grid span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.intelligence-grid strong {
  min-height: 66px;
  margin: 10px 0 12px;
  color: var(--brand-dark);
  font-size: 16px;
  line-height: 1.5;
}

.intelligence-grid small {
  color: var(--muted);
  font-size: 11px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 42px 0 72px;
}

.model-card {
  min-width: 0;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.model-card h2 {
  margin: 10px 0;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 27px;
}

.model-card p {
  color: var(--muted);
  font-size: 13px;
}

.relationship-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.relationship-grid article {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.relationship-grid span,
.relationship-grid strong {
  display: block;
}

.relationship-grid span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.relationship-grid strong {
  margin-top: 10px;
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1.5;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.automation-grid article {
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  border-top: 3px solid var(--city-route);
}

.automation-grid span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
}

.automation-grid h3 {
  margin: 7px 0;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 18px;
}

.automation-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.entity-facts > div:first-child strong {
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
}

.signal-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.signal-source-card {
  min-width: 0;
  padding: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.signal-source-card h3 {
  margin: 14px 0 7px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
}

.signal-source-card p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 12px;
}

.platform-badge {
  padding: 4px 8px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.source-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}

.evidence-details {
  margin: 44px 0 0;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.decision-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
  background: var(--brand-dark);
  border-radius: 16px;
  overflow: hidden;
}

.decision-strip article {
  min-width: 0;
  padding: 23px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.decision-strip article:last-child {
  border-right: 0;
}

.decision-strip span,
.decision-strip strong {
  display: block;
}

.decision-strip span {
  margin-bottom: 9px;
  color: #ff9a78;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.decision-strip strong {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.evidence-details summary {
  padding: 18px 22px;
  color: var(--brand);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.evidence-inner {
  padding: 0 22px 22px;
}

.evidence-inner > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
  }

  nav a {
    flex: 0 0 auto;
  }

  .hero,
  .entity-hero {
    grid-template-columns: 1fr;
  }

  .verification-gaps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 55px 7%;
  }

  .metrics,
  .result-grid,
  .answer-grid,
  .source-grid,
  .principles,
  .signal-grid,
  .signal-source-grid,
  .intelligence-grid,
  .taxonomy-detail-grid,
  .service-grid,
  .authority-grid,
  .evidence-grid,
  .catalog-grid,
  .relationship-grid,
  .automation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .decision-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-strip article:nth-child(2) {
    border-right: 0;
  }

  .decision-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .taxonomy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .metrics div:nth-child(2) {
    border-right: 0;
  }

  .metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .event-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-detail-grid > div:nth-child(2) {
    border-right: 0;
  }

  .event-detail-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cta-panel,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel {
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .brand small {
    display: none;
  }

  nav {
    gap: 2px;
    overflow-x: visible;
    justify-content: space-between;
  }

  nav a {
    padding: 7px 8px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .trust-panel {
    padding: 22px;
  }

  .metrics {
    margin: 0;
  }

  .metrics div {
    padding: 18px;
  }

  .metrics strong {
    font-size: 26px;
  }

  .search-section,
  .content-section {
    padding-top: 58px;
  }

  .result-grid,
  .answer-grid,
  .source-grid,
  .principles,
  .signal-grid,
  .signal-source-grid,
  .intelligence-grid,
  .time-discovery,
  .taxonomy-grid,
  .service-grid,
  .taxonomy-detail-grid,
  .authority-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
  .relationship-grid,
  .automation-grid {
    grid-template-columns: 1fr;
  }

  .decision-strip {
    grid-template-columns: 1fr;
  }

  .decision-strip article,
  .decision-strip article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .decision-strip article:last-child {
    border-bottom: 0;
  }

  .facet-group,
  .updates-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .principles > div {
    padding: 24px;
  }

  .filter-row {
    flex-wrap: wrap;
  }

  #result-count {
    width: 100%;
    margin: 4px 0 0;
  }

  .page-hero,
  .entity-hero,
  .event-hero,
  .article {
    padding: 38px 24px;
    border-radius: 22px;
  }

  .event-hero {
    grid-template-columns: 1fr;
  }

  .date-block {
    width: 105px;
    height: 105px;
  }

  .event-detail-grid {
    grid-template-columns: 1fr;
    margin: 12px 0 0;
  }

  .event-detail-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-claims li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .correction,
  .site-footer {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }

  .verification-gaps ul {
    columns: 1;
  }

  .hero-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hero-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .intelligence-grid strong {
    min-height: auto;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
