:root {
  --ink: #1d1d1f;
  --paper: #fbfbfd;
  --surface: #ffffff;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-soft: #e8f3ff;
  --shadow: 0 24px 68px rgba(22, 22, 24, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
a { color: inherit; text-underline-offset: 4px; }
.site-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.site-nav, .site-footer { display: flex; align-items: center; justify-content: space-between; }
.site-nav { min-height: 76px; }
.wordmark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: -.08em;
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 23px; font-size: .88rem; }
.nav-links a { color: #424245; text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.search-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #424245;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.search-trigger:hover { border-color: var(--blue); color: var(--blue); }
.search-trigger:active, .hero-search:active { transform: scale(.98); }
kbd { font-family: inherit; }
.search-trigger kbd, .hero-search-key {
  padding: 2px 5px;
  border-radius: 5px;
  color: var(--muted);
  background: #f2f2f7;
  font-size: .68rem;
}
.home-hero {
  display: grid;
  min-height: min(760px, calc(100dvh - 76px));
  align-content: center;
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 15px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.home-hero h1 { max-width: 840px; margin: 0; font-size: clamp(3.7rem, 8.1vw, 7.5rem); font-weight: 680; letter-spacing: -.078em; line-height: .98; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-top: 60px; }
.hero-bottom p { max-width: 430px; margin: 0; color: #515154; font-size: 1.13rem; line-height: 1.52; }
.hero-search {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  padding: 13px 14px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(0, 113, 227, .22);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.hero-search:hover { background: #0077ed; }
.search-mark { width: 13px; height: 13px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; }
.search-mark::after { position: absolute; right: -4px; bottom: -3px; width: 5px; height: 1.6px; background: currentColor; content: ""; transform: rotate(45deg); transform-origin: center; }
.hero-search-key { color: rgba(255,255,255,.84); background: rgba(255,255,255,.16); }
.home-section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.about-section { display: grid; grid-template-columns: minmax(170px, .48fr) minmax(0, 1.52fr); gap: 70px; }
.about-label { display: flex; flex-direction: column; justify-content: space-between; min-height: 430px; }
.about-label > span { color: var(--muted); font-size: .78rem; letter-spacing: .02em; writing-mode: vertical-rl; transform: rotate(180deg); }
.about-content h2 { max-width: 870px; margin: 0; font-size: clamp(2.8rem, 5.6vw, 5.35rem); font-weight: 680; letter-spacing: -.072em; line-height: .98; }
.about-content h2 span { color: var(--muted); }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 50px 0 54px; }
.about-copy p { max-width: 520px; margin: 0; color: #515154; font-size: 1.05rem; line-height: 1.62; }
.about-copy p:first-child { color: var(--ink); font-size: 1.2rem; letter-spacing: -.018em; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.about-facts > * { display: grid; gap: 8px; padding: 22px 0; text-decoration: none; }
.about-facts > * + * { padding-left: 28px; border-left: 1px solid var(--line); }
.about-facts span { color: var(--muted); font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.about-facts strong { font-size: 1rem; font-weight: 620; }
.about-facts a strong { color: var(--blue); }
.about-facts a:hover strong { text-decoration: underline; }
.section-intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.section-intro .eyebrow { margin: 0 0 8px; }
.section-intro h2, .quiet-section h2 { margin: 0; font-size: clamp(2.65rem, 5.7vw, 5.2rem); font-weight: 680; letter-spacing: -.072em; line-height: .96; }
.feature-list { border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
  padding: 31px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .22s ease, padding .22s ease;
}
.feature:hover { padding-right: 20px; padding-left: 20px; background: var(--surface); }
.feature-primary { background: var(--blue-soft); }
.feature-index, .feature-label { color: var(--muted); font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.feature-label { margin-bottom: 8px; }
.feature h3 { margin-bottom: 9px; font-size: clamp(1.65rem, 3vw, 2.65rem); font-weight: 660; letter-spacing: -.055em; }
.feature p:last-child { max-width: 550px; margin: 0; color: #515154; line-height: 1.55; }
.feature-arrow { color: var(--blue); font-size: 1.45rem; transition: transform .2s ease; }
.feature:hover .feature-arrow { transform: translate(3px, -3px); }
/* Report index: one dense row per report — kicker, date, title, blurb. */
.section-link { display: inline-flex; align-items: baseline; gap: 9px; flex: none; padding-bottom: 6px; color: #424245; font-size: .88rem; text-decoration: none; }
.section-link em { color: var(--muted); font-style: normal; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.section-link:hover { color: var(--blue); }
.section-link:hover em { color: var(--blue); }
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 26px;
  gap: 24px;
  align-items: start;
  padding: 27px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .22s ease, padding .22s ease;
}
.index-row:hover { padding-right: 20px; padding-left: 20px; background: var(--surface); }
.index-num { padding-top: 3px; color: #a1a1a6; font-size: .74rem; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.index-main { display: grid; min-width: 0; gap: 8px; }
.index-meta { display: flex; align-items: center; gap: 12px; }
.index-kicker { color: var(--blue); font-size: .7rem; font-weight: 690; letter-spacing: .09em; text-transform: uppercase; }
.index-meta time { color: var(--muted); font-size: .73rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.index-main strong { font-size: clamp(1.35rem, 2.3vw, 1.95rem); font-weight: 660; letter-spacing: -.05em; line-height: 1.08; }
.index-summary { max-width: 74ch; color: #515154; font-size: .94rem; line-height: 1.5; }
.index-arrow { padding-top: 2px; color: var(--blue); font-size: 1.15rem; transition: transform .2s ease; }
.index-row:hover .index-arrow { transform: translate(3px, -3px); }
.quiet-section { max-width: 820px; }
.quiet-section h2 { margin-bottom: 26px; }
.quiet-section > p:last-child { max-width: 620px; margin: 0; color: #515154; font-size: 1.08rem; line-height: 1.58; }
.quiet-section kbd { padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; color: #424245; background: var(--surface); font-size: .82em; }
.site-footer { min-height: 106px; color: var(--muted); font-size: .82rem; }

.spotlight {
  width: min(680px, calc(100% - 32px));
  max-width: 680px;
  margin: 16vh auto auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
}
.spotlight::backdrop { background: rgba(29, 29, 31, .23); backdrop-filter: blur(5px); }
.spotlight-panel { border: 1px solid rgba(255,255,255,.85); border-radius: inherit; overflow: hidden; }
.spotlight-input-row { display: flex; align-items: center; gap: 13px; padding: 18px 19px 13px; }
.spotlight-input-row svg { width: 21px; height: 21px; flex: none; color: #6e6e73; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.spotlight-input-row input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1.25rem; letter-spacing: -.025em; }
.spotlight-input-row input::placeholder { color: #86868b; }
.spotlight-key { padding: 3px 5px; border: 1px solid #d7d7dc; border-radius: 5px; color: var(--muted); background: rgba(255,255,255,.6); font-size: .64rem; }
.spotlight-hint { padding: 0 20px 14px 53px; color: var(--muted); font-size: .76rem; }
.spotlight-hint span { color: #515154; }
.spotlight-results { min-height: 96px; max-height: min(52vh, 480px); overflow-y: auto; border-top: 1px solid rgba(210,210,215,.72); }
.spotlight-results-heading { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; border-bottom: 1px solid rgba(210,210,215,.72); background: rgba(247,247,249,.94); color: var(--muted); font-size: .68rem; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.spotlight-results-heading strong { color: #424245; font-weight: 650; }
.spotlight-empty { margin: 0; padding: 27px 20px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.spotlight-result { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px 14px 20px; border-bottom: 1px solid rgba(210,210,215,.55); text-decoration: none; transition: background .15s ease; }
.spotlight-result:hover, .spotlight-result.is-active { background: rgba(0,113,227,.09); }
.spotlight-result-copy { display: grid; min-width: 0; gap: 3px; }
.spotlight-result-meta { display: flex; align-items: center; gap: 8px; }
.spotlight-result small { color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .05em; }
.spotlight-result time { color: var(--muted); font-size: .65rem; }
.spotlight-result strong { overflow: hidden; font-size: .95rem; font-weight: 660; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.spotlight-result-copy > span { overflow: hidden; color: var(--muted); font-size: .78rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.spotlight-result > svg { width: 18px; height: 18px; flex: none; color: var(--blue); fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.65; }
/* Matched sub-topics hang under the report they belong to, drawn as a tree. */
.spotlight-result.has-children { padding-bottom: 11px; border-bottom-color: transparent; }
.spotlight-result.is-child { position: relative; padding: 9px 18px 9px 47px; }
.spotlight-result.is-child::before, .spotlight-result.is-child::after { position: absolute; border: 0 solid rgba(198,198,206,.9); content: ''; }
.spotlight-result.is-child::before { top: 0; bottom: 0; left: 30px; border-left-width: 1px; }
.spotlight-result.is-child.is-last-child::before { bottom: auto; height: 50%; }
.spotlight-result.is-child::after { top: 50%; left: 30px; width: 10px; border-top-width: 1px; }
.spotlight-result.is-child small { color: #7a7a82; font-size: .63rem; }
.spotlight-result.is-child strong { font-size: .855rem; font-weight: 615; }
.spotlight-result.is-child .spotlight-result-copy > span:last-child { font-size: .72rem; }
.spotlight-result.is-child > svg { width: 15px; height: 15px; opacity: .7; }
/* A report shown only to host its matched topics keeps the head, drops the blurb. */
.spotlight-result.is-context .spotlight-result-copy > span:last-child { display: none; }
.spotlight-footer { display: flex; gap: 16px; padding: 10px 20px; color: var(--muted); font-size: .68rem; }

@media (max-width: 720px) {
  .site-shell { width: min(100% - 32px, 1200px); }
  .site-nav { min-height: 66px; }
  .nav-links { gap: 15px; font-size: .78rem; }
  .nav-links a:first-child { display: none; }
  .search-trigger { padding: 6px 9px; }
  .search-trigger kbd { display: none; }
  .home-hero { min-height: min(670px, calc(100dvh - 66px)); padding: 68px 0 54px; }
  .home-hero h1 { font-size: clamp(3.4rem, 16.5vw, 5.6rem); }
  .hero-bottom { align-items: start; flex-direction: column; gap: 28px; margin-top: 42px; }
  .hero-bottom p { font-size: 1rem; }
  .home-section { padding: 78px 0; }
  .about-section { grid-template-columns: 1fr; gap: 32px; }
  .about-label { min-height: 0; }
  .about-label > span { display: none; }
  .about-content h2 { font-size: clamp(2.55rem, 12vw, 4.5rem); }
  .about-copy { grid-template-columns: 1fr; gap: 20px; margin: 34px 0 38px; }
  .about-copy p, .about-copy p:first-child { font-size: 1rem; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts > * + * { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .section-intro { display: block; margin-bottom: 37px; }
  .feature { grid-template-columns: 35px minmax(0, 1fr) auto; gap: 12px; padding: 25px 5px; }
  .feature:hover { padding-right: 8px; padding-left: 8px; }
  .feature h3 { font-size: 1.8rem; }
  .feature p:last-child { font-size: .92rem; }
  .section-link { margin-top: 16px; padding-bottom: 0; }
  .index-row { grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 13px; padding: 23px 4px; }
  .index-row:hover { padding-right: 8px; padding-left: 8px; }
  .index-num { font-size: .68rem; }
  .index-meta { gap: 9px; }
  .index-main strong { font-size: 1.42rem; }
  .index-summary { font-size: .89rem; }
  .site-footer { min-height: 84px; }
  .spotlight { width: min(100% - 20px, 680px); margin-top: 72px; }
  .spotlight-input-row { padding: 16px 15px 11px; }
  .spotlight-hint { padding-left: 48px; }
  .spotlight-results { max-height: 56vh; }
  .spotlight-result.is-child { padding-left: 38px; }
  .spotlight-result.is-child::before, .spotlight-result.is-child::after { left: 24px; }
  .spotlight-result.is-child::after { width: 8px; }
  .spotlight-footer { gap: 10px; padding: 9px 15px; font-size: .61rem; }
}
