:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #68736b;
  --line: #dfe5df;
  --paper: #f6f7f3;
  --panel: #ffffff;
  --forest: #19271f;
  --lime: #dff45f;
  --green: #5b9569;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.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; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px max(24px, calc((100vw - 1180px) / 2)); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: var(--lime); background: var(--forest); }
.primary-nav { display: flex; gap: 7px; color: var(--muted); font-size: 14px; }
.primary-nav a { padding: 8px 10px; border-radius: 8px; }
.primary-nav a:hover { color: var(--ink); background: #edf0ec; }
.header-action, .primary-button { padding: 9px 14px; border-radius: 9px; color: white; background: var(--forest); font-size: 14px; }

main { min-height: 70vh; }
.hero { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr); gap: 48px; align-items: end; max-width: 1180px; margin: 0 auto; padding: 76px 24px 36px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; color: #55705e; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.eyebrow span { width: 7px; height: 7px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 4px rgba(91,149,105,.13); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 6.5vw, 76px); line-height: .98; letter-spacing: -.065em; font-weight: 600; }
.hero-lede { max-width: 710px; margin: 22px 0 27px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.search { display: flex; align-items: center; gap: 10px; max-width: 720px; padding: 8px 9px 8px 15px; border: 1px solid #d7ddd7; border-radius: 14px; background: white; box-shadow: 0 14px 40px rgba(28,47,35,.08); }
.search svg { width: 19px; height: 19px; fill: none; stroke: #7a877e; stroke-width: 1.7; }
.search input { min-width: 0; flex: 1; padding: 8px 0; border: 0; outline: 0; color: var(--ink); }
.search button { padding: 10px 18px; border: 0; border-radius: 10px; color: var(--forest); background: var(--lime); font-weight: 700; cursor: pointer; }
.signal-card { position: relative; min-height: 270px; padding: 25px; overflow: hidden; border-radius: 19px; color: #edf5ef; background: radial-gradient(circle at 85% 15%, rgba(223,244,95,.2), transparent 30%), linear-gradient(145deg,#17251d,#294231); }
.signal-card p { margin: 0; color: #cddf9a; font-size: 11px; font-weight: 700; letter-spacing: .09em; }
.signal-card h2 { position: relative; z-index: 1; margin: 42px 0 12px; font-size: 27px; line-height: 1.14; letter-spacing: -.035em; }
.signal-card span { position: relative; z-index: 1; color: #b5c4ba; font-size: 13px; line-height: 1.45; }
.signal-orbit { position: absolute; right: -55px; bottom: -60px; width: 180px; height: 180px; border: 1px solid rgba(223,244,95,.32); border-radius: 50%; box-shadow: 0 0 0 30px rgba(223,244,95,.05),0 0 0 60px rgba(223,244,95,.03); }

.stats { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1132px; margin: 4px auto 0; border: 1px solid var(--line); border-radius: 14px; background: var(--line); gap: 1px; overflow: hidden; }
.stats div { padding: 20px; background: white; }
.stats strong { display: block; font-size: 25px; letter-spacing: -.04em; }
.stats span { color: var(--muted); font-size: 12px; }
.explore-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 42px; max-width: 1180px; margin: 48px auto 0; padding: 0 24px 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2, .updates h2, .benchmark-band h2 { margin: 0; font-size: 26px; letter-spacing: -.035em; }
.section-heading > span { color: var(--muted); font-size: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 15px; }
.filter { padding: 7px 11px; border: 1px solid #d9dfda; border-radius: 99px; background: white; color: var(--muted); font-size: 12px; }
.filter.active { border-color: var(--forest); color: white; background: var(--forest); }
.entity-list { display: grid; gap: 9px; }
.entity-row { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: white; transition: transform .15s ease,border-color .15s ease; }
.entity-row:hover { transform: translateY(-1px); border-color: #aebbb1; }
.entity-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: #375341; background: #edf3ee; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.entity-body strong { display: block; font-size: 15px; }
.entity-body small { display: block; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.entity-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.entity-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.updates { padding-left: 30px; border-left: 1px solid var(--line); }
.updates article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.updates article > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #4d6856; background: #e8efe9; font-size: 11px; font-weight: 700; }
.updates strong { font-size: 14px; }
.updates article p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.text-link { display: inline-block; margin-top: 18px; color: #31553c; font-size: 13px; font-weight: 700; }
.benchmark-band { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.8fr); gap: 50px; align-items: center; max-width: 1132px; margin: 0 auto 70px; padding: 38px; border-radius: 19px; color: #edf4ef; background: var(--forest); }
.benchmark-band > div > p:last-child { max-width: 620px; color: #aebdb3; line-height: 1.55; }
.benchmark-band .eyebrow { color: #bed18f; }
.benchmark-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.benchmark-grid span { padding: 13px; border: 1px solid #415348; border-radius: 10px; color: #cbd8cf; font-size: 12px; background: rgba(255,255,255,.03); }
.site-footer { display: flex; justify-content: space-between; gap: 30px; max-width: 1180px; margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); }
.site-footer strong, .site-footer span { display: block; }
.site-footer span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 18px; color: var(--muted); font-size: 13px; }

.detail-page { max-width: 1180px; margin: 0 auto; padding: 42px 24px 80px; }
.back-link { color: var(--muted); font-size: 13px; }
.profile-header { display: grid; grid-template-columns: 78px minmax(0,1fr) auto; gap: 24px; align-items: start; margin-top: 28px; padding: 32px 0 42px; border-bottom: 1px solid var(--line); }
.profile-monogram { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 20px; color: var(--lime); background: var(--forest); font-size: 23px; font-weight: 750; }
.profile-title h1 { margin: 0; font-size: clamp(38px,5vw,62px); letter-spacing: -.055em; line-height: 1; }
.profile-title > p:not(.eyebrow) { max-width: 720px; color: var(--muted); line-height: 1.55; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag-row span { padding: 6px 9px; border: 1px solid #d6ddd7; border-radius: 99px; background: white; color: #56625a; font-size: 11px; }
.profile-actions { display: grid; gap: 9px; min-width: 170px; }
.profile-actions a, .profile-actions button { display: block; width: 100%; padding: 10px 13px; border-radius: 9px; text-align: center; font-size: 13px; cursor: pointer; }
.profile-actions button { border: 1px solid #cad3cc; color: var(--ink); background: white; }
.profile-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 50px; padding-top: 40px; }
.profile-main h2, .source-panel h2 { margin: 0 0 16px; font-size: 21px; letter-spacing: -.025em; }
.profile-main h2:not(:first-child) { margin-top: 38px; }
.placeholder-graph { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.placeholder-graph span { padding: 9px 12px; border-radius: 9px; background: #eaf1eb; color: #36513e; font-size: 12px; }
.placeholder-graph span:first-child { color: white; background: var(--forest); }
.placeholder-graph i { width: 25px; height: 1px; background: #9dac9f; }
.source-panel { padding-left: 30px; border-left: 1px solid var(--line); }
.source-panel dl { margin: 0; }
.source-panel dt { margin-top: 16px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.source-panel dd { margin: 4px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.source-note { margin-top: 22px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.empty-state { padding: 28px; border: 1px dashed #cbd4cd; border-radius: 13px; color: var(--muted); background: rgba(255,255,255,.55); }
.empty-state h3 { margin: 0 0 7px; color: var(--ink); font-size: 15px; }
.empty-state p { margin: 0; font-size: 12px; }

@media (max-width: 860px) {
  .primary-nav { display: none; }
  .hero, .explore-layout, .benchmark-band, .profile-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .stats { grid-template-columns: repeat(2,1fr); margin-inline: 24px; }
  .updates, .source-panel { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .benchmark-band { margin-inline: 24px; }
  .profile-header { grid-template-columns: 70px minmax(0,1fr); }
  .profile-actions { grid-column: 2; display: flex; }
}
@media (max-width: 560px) {
  .site-header { padding-inline: 15px; }
  .header-action { display: none; }
  .hero, .explore-layout, .detail-page { padding-inline: 15px; }
  .hero h1 { font-size: 44px; }
  .search { flex-wrap: wrap; }
  .search input { width: calc(100% - 34px); }
  .search button { width: 100%; }
  .stats { margin-inline: 15px; }
  .entity-row { grid-template-columns: 44px minmax(0,1fr); }
  .entity-icon { width: 44px; height: 44px; }
  .entity-status { grid-column: 2; }
  .benchmark-band { margin-inline: 15px; padding: 27px; }
  .benchmark-grid { grid-template-columns: 1fr; }
  .profile-header { grid-template-columns: 1fr; }
  .profile-actions { grid-column: 1; flex-direction: column; }
  .site-footer { flex-direction: column; padding-inline: 15px; }
}
