:root {
  color-scheme: light;
  --ink: #111318;
  --ink-soft: #2e323a;
  --night: #0b0d12;
  --night-raised: #131720;
  --muted: #6b7078;
  --muted-light: #9ca3ad;
  --line: #deddd7;
  --line-strong: #c5c4bd;
  --paper: #fffefa;
  --canvas: #f2f0e9;
  --wash: #e9e7df;
  --accent: #c8ff53;
  --accent-dark: #354f00;
  --link: #3444bb;
  --green: #176b4b;
  --amber: #875207;
  --red: #a33737;
  --codex: #19a994;
  --claude-code: #dc704d;
  --gemini-cli: #5977ff;
  --cursor: #252932;
  --github-copilot: #a277ff;
  --muse-code: #00a2ff;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--link); text-underline-offset: 3px; }
code, pre, kbd { font-family: var(--mono); }
code { overflow-wrap: anywhere; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--night);
  background: var(--accent);
  border-radius: 6px;
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(200, 255, 83, .52); outline-offset: 3px; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  color: #fff;
  background: rgba(11, 13, 18, .97);
  border-bottom: 1px solid #252a34;
  backdrop-filter: blur(14px);
}
.site-header__inner {
  display: flex;
  width: min(1320px, calc(100% - 48px));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--night);
  background: var(--accent);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: -.06em;
}
.brand__name { display: flex; gap: 5px; align-items: baseline; font-size: .84rem; }
.brand__name strong { letter-spacing: -.02em; }
.brand__name em { color: var(--accent); font-style: normal; font-weight: 800; }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a {
  padding: 8px 11px;
  color: #b8bec7;
  border-radius: 6px;
  font-size: .76rem;
  font-weight: 730;
  text-decoration: none;
}
.site-nav a:hover { color: #fff; background: #1c212a; }
.site-nav__github { margin-left: 7px; border: 1px solid #303641; }

#main-content { min-height: calc(100vh - 150px); }
.loading, .not-found {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}
.loading h1, .not-found h1 { margin: 6px 0 15px; font-size: clamp(2.4rem, 6vw, 4.3rem); letter-spacing: -.06em; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px max(24px, calc((100% - 1320px) / 2)) 28px;
  color: #fff;
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  border-bottom: 1px solid #252a34;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -260px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(115px);
  opacity: .13;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  gap: clamp(48px, 8vw, 116px);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero h1, .page-head h1, .detail-head h1 {
  margin: 10px 0 22px;
  font-size: clamp(3.25rem, 6.6vw, 6rem);
  line-height: .92;
  letter-spacing: -.075em;
}
.hero h1 span { color: var(--accent); }
.hero__copy > p:last-child { max-width: 620px; margin: 0; color: #adb4bf; font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 1.62; }
.hero__star {
  display: inline-flex;
  gap: 9px;
  margin-top: 24px;
  padding: 10px 14px;
  align-items: center;
  color: var(--night);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 7px;
  font-size: .75rem;
  font-weight: 850;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.hero__star:hover { background: #d8ff82; box-shadow: 0 6px 0 rgba(200, 255, 83, .18); transform: translateY(-2px); }
.hero__star:focus-visible { outline: 3px solid rgba(200, 255, 83, .72); outline-offset: 3px; }
.hero__star span:first-child { font-size: 1rem; line-height: 1; }
.eyebrow { margin: 0 0 8px; color: var(--link); font-size: .65rem; font-weight: 860; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent); }

.hero__command-palette {
  overflow: hidden;
  background: #151922;
  border: 1px solid #343a47;
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38), 10px 10px 0 rgba(200, 255, 83, .08);
}
.command-palette__bar {
  display: flex;
  gap: 7px;
  min-height: 40px;
  padding: 0 15px;
  align-items: center;
  background: #10131a;
  border-bottom: 1px solid #2a303b;
}
.command-palette__bar > span { width: 8px; height: 8px; background: #3c424d; border-radius: 50%; }
.command-palette__bar > span:first-child { background: #ff6e5e; }
.command-palette__bar > span:nth-child(2) { background: #f2ba45; }
.command-palette__bar > span:nth-child(3) { background: var(--accent); }
.command-palette__bar strong { margin-left: 6px; color: #777f8c; font-family: var(--mono); font-size: .62rem; font-weight: 600; }
.search { max-width: 940px; margin-top: 28px; }
.hero__command-palette .search { margin: 0; padding: 24px 24px 15px; }
.search > label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: .72rem; font-weight: 780; }
.hero__command-palette .search > label { color: #c7ccd4; }
.search__input-wrap { position: relative; display: flex; align-items: center; }
.search__input-wrap > span { position: absolute; left: 18px; color: #707782; font-size: 1.45rem; pointer-events: none; }
.search input {
  width: 100%;
  height: 64px;
  padding: 12px 55px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid #d5d4ce;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font-size: 1rem;
}
.search input::placeholder { color: #777d85; }
.search input:focus { border-color: var(--accent-dark); outline-color: var(--accent); }
.search kbd { position: absolute; right: 15px; min-width: 29px; padding: 4px 7px; color: #555b64; background: #eeece5; border: 1px solid #cdccc5; border-bottom-width: 2px; border-radius: 5px; text-align: center; }
.search-hint { margin: 10px 2px 0; color: #858c97; font-size: .66rem; line-height: 1.45; }
.search-hint__link { padding: 0; color: var(--accent); background: transparent; border: 0; font-family: var(--mono); font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
.search-hint__link:hover { color: #e4ffad; }
.search-hint__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.quick-searches { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 24px 22px; align-items: center; }
.quick-searches > span { margin-right: 3px; color: #747c88; font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }
.quick-search {
  padding: 6px 9px;
  color: #c4cad3;
  background: #1e232d;
  border: 1px solid #363d49;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: .63rem;
}
.quick-search:hover { color: var(--night); background: var(--accent); border-color: var(--accent); }

.hero__footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, .8fr) minmax(520px, 1.2fr);
  gap: 38px;
  margin-top: 58px;
  padding-top: 22px;
  align-items: center;
  border-top: 1px solid #2b303a;
}
.atlas-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.atlas-stats div { padding: 0 16px; border-left: 1px solid #2e3440; }
.atlas-stats div:first-child { padding-left: 0; border-left: 0; }
.atlas-stats dt { color: #fff; font-family: var(--mono); font-size: .88rem; font-weight: 800; }
.atlas-stats dd { margin: 4px 0 0; color: #7f8792; font-size: .64rem; line-height: 1.35; }

.tool-tabs { display: flex; gap: 6px; max-width: 100%; margin: 0; padding: 3px 0; overflow-x: auto; scrollbar-width: thin; }
.tool-tab {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  padding: 8px 10px;
  align-items: center;
  color: #a6adb7;
  background: #151922;
  border: 1px solid #303641;
  border-radius: 6px;
  font-size: .69rem;
  font-weight: 730;
  text-decoration: none;
}
.tool-tab__dot { width: 7px; height: 7px; background: #8a8f98; border-radius: 50%; }
.tool-tab--codex .tool-tab__dot { background: var(--codex); }
.tool-tab--claude-code .tool-tab__dot { background: var(--claude-code); }
.tool-tab--gemini-cli .tool-tab__dot { background: var(--gemini-cli); }
.tool-tab--cursor .tool-tab__dot { background: #d9dde5; }
.tool-tab--github-copilot .tool-tab__dot { background: var(--github-copilot); }
.tool-tab--muse-code .tool-tab__dot { background: var(--muse-code); }
.tool-tab:hover, .tool-tab.is-active { color: var(--night); background: var(--accent); border-color: var(--accent); }

.capability-section, .reference-section, .tool-summary, .detail-page, .comparison-page, .coverage-page { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.capability-section { padding: 66px 0 28px; }
.section-heading { display: flex; gap: 24px; margin-bottom: 22px; align-items: end; justify-content: space-between; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.05em; }
.section-heading > a { flex: 0 0 auto; font-size: .76rem; font-weight: 780; }
.section-heading--reference { align-items: end; }
.section-heading--reference > p { max-width: 430px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.capability-card {
  display: flex;
  min-width: 0;
  min-height: 196px;
  padding: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 3px 0 #e2e0d8;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.capability-card:hover { border-color: #9ea19a; box-shadow: 0 7px 0 #dedbd1; transform: translateY(-3px); }
.capability-card__top { display: flex; gap: 12px; margin-bottom: 17px; justify-content: space-between; }
.capability-card__id { color: var(--link); font-family: var(--mono); font-size: .62rem; }
.capability-card__top > span:last-child { color: #9a9fa6; }
.capability-card > strong { font-size: 1rem; letter-spacing: -.02em; }
.capability-card > span:not(.capability-card__top, .capability-card__footer) { margin-top: 8px; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.capability-card__footer { display: flex; margin-top: auto; padding-top: 16px; align-items: center; justify-content: space-between; }
.capability-card__footer small { color: var(--muted); font-family: var(--mono); font-size: .61rem; }
.capability-card__coverage { display: flex; gap: 4px; }
.capability-card__coverage i { width: 13px; height: 4px; background: #dddcd6; border-radius: 4px; }
.capability-card__coverage i.is-mapped { background: var(--accent-dark); }

.reference-section { padding: 54px 0 84px; }
.reference-shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 22px; align-items: start; }
.filter-panel {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 13px;
  padding: 17px;
  background: #171a21;
  border: 1px solid #292e38;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(17, 19, 24, .12);
}
.filter-panel__head { display: flex; padding-bottom: 13px; align-items: center; justify-content: space-between; border-bottom: 1px solid #30343d; }
.filter-panel__head .eyebrow { color: var(--accent); }
.filter-panel__head h3 { margin: 0; color: #fff; font-size: .94rem; letter-spacing: -.02em; }
.filter-panel__head > span { color: #5f6671; font-family: var(--mono); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { color: #868e99; font-size: .6rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.field select { width: 100%; min-height: 42px; padding: 8px 32px 8px 10px; color: #e7eaf0; background: #21252e; border: 1px solid #383e49; border-radius: 6px; font-size: .74rem; }
.button { display: inline-flex; min-height: 42px; padding: 8px 14px; align-items: center; justify-content: center; color: var(--night); background: var(--accent); border: 1px solid var(--accent); border-radius: 6px; font-size: .74rem; font-weight: 820; text-decoration: none; }
.button:hover { background: #d5ff7b; }
.button--quiet { color: #c9ced6; background: transparent; border-color: #414752; }
.button--quiet:hover { color: #fff; background: #272c35; }
.reference-results { min-width: 0; }
.results-bar { display: flex; min-height: 50px; padding: 0 3px; align-items: center; justify-content: space-between; color: var(--muted); font-size: .74rem; }
.results-bar p { margin: 0; }
.results-bar strong { color: var(--ink); font-family: var(--mono); }
.entry-list { display: grid; gap: 9px; }
.entry-card {
  --tool-accent: #747a84;
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(230px, .9fr) 150px;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--tool-accent);
  border-radius: 9px;
  box-shadow: 0 2px 0 #e4e2db;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.entry-card--codex { --tool-accent: var(--codex); }
.entry-card--claude-code { --tool-accent: var(--claude-code); }
.entry-card--gemini-cli { --tool-accent: var(--gemini-cli); }
.entry-card--cursor { --tool-accent: var(--cursor); }
.entry-card--github-copilot { --tool-accent: var(--github-copilot); }
.entry-card--muse-code { --tool-accent: var(--muse-code); }
.entry-card:hover { border-color: #b5b4ad; border-left-color: var(--tool-accent); box-shadow: 0 7px 18px rgba(17, 19, 24, .07); transform: translateY(-1px); }
.entry-card__identity, .entry-card__usage, .entry-card__footer { min-width: 0; padding: 17px 18px; }
.entry-card__usage, .entry-card__footer { border-left: 1px solid #e9e7e0; }
.entry-card__meta { display: flex; flex-wrap: wrap; gap: 5px 10px; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.entry-card__tool { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-soft); }
.entry-card__tool i { width: 7px; height: 7px; background: var(--tool-accent); border-radius: 50%; }
.entry-card__title { display: flex; gap: 10px; margin: 13px 0 5px; align-items: baseline; }
.entry-card h3 { margin: 0; font-size: 1.08rem; letter-spacing: -.025em; }
.entry-card h3 a { color: var(--ink); text-decoration: none; }
.entry-card h3 a:hover { color: var(--link); text-decoration: underline; }
.entry-card__title > span { overflow: hidden; color: #8a8f96; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.entry-card__role { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.47; }
.entry-card__usage { display: grid; gap: 10px; align-content: center; }
.entry-card__usage > div { display: grid; gap: 4px; }
.entry-card__usage span { color: var(--muted); font-size: .56rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.entry-card__usage code { display: block; min-width: 0; padding: 6px 8px; overflow: hidden; color: #2a2f37; background: #f0eee8; border-radius: 5px; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.entry-card__footer { display: flex; gap: 14px; align-items: flex-start; justify-content: center; flex-direction: column; font-size: .66rem; }
.entry-card__footer > a { font-weight: 800; text-decoration: none; }
.entry-card__footer > a:hover { text-decoration: underline; }
.badge, .relationship { display: inline-flex; width: fit-content; padding: 3px 6px; align-items: center; border-radius: 4px; font-size: .58rem; font-weight: 830; }
.badge--experimental, .badge--rolling-out, .badge--conditional { color: var(--amber); background: #ffefcf; }
.badge--deprecated, .badge--removed { color: var(--red); background: #fde6e6; }
.badge--unknown { color: #5c6269; background: #e9eae7; }
.verification { color: var(--green); font-weight: 750; }
.verification::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: currentColor; border-radius: 50%; vertical-align: 1px; }
.verification--needs-verification, .verification--unverified { color: var(--amber); }
.empty { padding: 66px 20px; color: var(--muted); background: var(--paper); border: 1px dashed var(--line-strong); border-radius: 9px; text-align: center; }
.empty h2 { margin-top: 0; color: var(--ink); }
.load-more { display: flex; justify-content: center; padding-top: 28px; }
.task-matches { display: flex; gap: 24px; margin-bottom: 10px; padding: 15px 17px; align-items: center; justify-content: space-between; color: #d8dde5; background: #171a21; border-left: 4px solid var(--accent); border-radius: 7px; }
.task-matches .eyebrow { color: var(--accent); }
.task-matches h2 { margin: 0; font-size: .9rem; }
.task-match-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.task-match-links a { color: var(--accent); font-size: .72rem; font-weight: 760; }

.page-head {
  padding: 52px max(24px, calc((100% - 1320px) / 2)) 40px;
  color: #fff;
  background-color: var(--night);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 34px 34px;
  border-bottom: 1px solid #242a34;
}
.page-head::before { content: ""; display: block; width: 56px; height: 6px; margin-bottom: 30px; background: var(--accent); border-radius: 6px; }
.page-head .eyebrow { color: var(--accent); }
.page-head--codex::before { background: var(--codex); }
.page-head--claude-code::before { background: var(--claude-code); }
.page-head--gemini-cli::before { background: var(--gemini-cli); }
.page-head--cursor::before { background: #e8eaf0; }
.page-head--github-copilot::before { background: var(--github-copilot); }
.page-head--muse-code::before { background: var(--muse-code); }
.page-head h1 { max-width: 960px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-head > p:not(.eyebrow) { max-width: 790px; color: #aeb5c0; font-size: .98rem; line-height: 1.63; }
.page-head .search { max-width: 850px; }
.page-head .search > label { color: #c8cdd5; }
.page-head .tool-tabs { margin-top: 18px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; color: var(--muted); font-size: .7rem; }
.page-head .breadcrumbs, .page-head .breadcrumbs a { color: #8d95a1; }
.tool-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 0 #e1dfd7; }
.metric, .summary-list { padding: 19px; background: var(--paper); border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric { display: flex; flex-direction: column; }
.metric strong { font-family: var(--mono); font-size: 1.38rem; }
.metric span { margin-top: 5px; color: var(--muted); font-size: .68rem; }
.summary-list { grid-column: span 1; border-top: 1px solid var(--line); }
.summary-list:nth-of-type(5) { border-left: 0; }
.summary-list h2 { margin: 0 0 11px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.summary-list > span, .summary-list > a { display: flex; gap: 10px; padding: 5px 0; justify-content: space-between; color: var(--muted); font-size: .71rem; }
.summary-list > span strong { color: var(--ink); }
.summary-list--sources { grid-column: span 2; }

.detail-page { --tool-accent: var(--accent-dark); padding: 42px 0 82px; }
.detail-page--codex { --tool-accent: var(--codex); }
.detail-page--claude-code { --tool-accent: var(--claude-code); }
.detail-page--gemini-cli { --tool-accent: var(--gemini-cli); }
.detail-page--cursor { --tool-accent: var(--cursor); }
.detail-page--github-copilot { --tool-accent: var(--github-copilot); }
.detail-page--muse-code { --tool-accent: var(--muse-code); }
.detail-head { max-width: 980px; margin-bottom: 44px; padding: 28px 30px; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--tool-accent); border-radius: 10px; box-shadow: 0 4px 0 #e2e0d8; }
.detail-head__meta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: var(--muted); font-size: .62rem; font-weight: 810; letter-spacing: .05em; text-transform: uppercase; }
.detail-head h1 { margin-top: 18px; font-size: clamp(2.7rem, 6vw, 4.9rem); }
.detail-role { color: var(--tool-accent); font-size: .74rem; font-weight: 820; letter-spacing: .04em; text-transform: uppercase; }
.detail-head > p:last-of-type { max-width: 850px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.67; }
.aliases { font-size: .79rem !important; }
.aliases code { padding: 3px 6px; background: #e9e7e0; border-radius: 4px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(34px, 6vw, 76px); align-items: start; }
.detail-section { padding: 29px 0; border-top: 1px solid var(--line); }
.detail-section:first-child { padding-top: 0; border-top: 0; }
.detail-section h2 { margin: 0 0 16px; font-size: 1.3rem; letter-spacing: -.035em; }
.detail-section h3 { margin: 0 0 8px; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.detail-section p, .detail-section li { line-height: 1.66; }
.detail-section ul { margin: 0; padding-left: 21px; }
pre { max-width: 100%; margin: 0; padding: 17px 19px; overflow-x: auto; color: #eef1f5; background: #151820; border-left: 4px solid var(--tool-accent, var(--accent)); border-radius: 7px; box-shadow: inset 0 1px 0 #2d323d; font-size: .8rem; line-height: 1.58; }
.examples { display: grid; gap: 11px; }
.examples > div { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 2px 0 #e3e1d9; }
.examples p { margin: 13px 0 0; color: var(--muted); font-size: .8rem; }
.section-note { max-width: 360px; color: var(--muted); font-size: .7rem; line-height: 1.45; text-align: right; }
.example-head { display: flex; gap: 16px; margin-bottom: 8px; align-items: center; justify-content: space-between; }
.example-head h3 { margin: 0; }
.copy-example { min-width: 66px; padding: 6px 9px; color: var(--ink-soft); background: #eeece5; border: 1px solid #cfcdc6; border-radius: 5px; font-family: var(--mono); font-size: .61rem; font-weight: 760; }
.copy-example:hover { color: var(--night); background: var(--accent); border-color: #a7cd4f; }
.quick-tutorial ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.quick-tutorial li { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 12px; padding: 13px 15px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.quick-tutorial li > span { display: grid; width: 27px; height: 27px; place-items: center; color: var(--night); background: var(--accent); border-radius: 50%; font-family: var(--mono); font-size: .66rem; font-weight: 900; }
.quick-tutorial li p { margin: 3px 0 0; color: var(--ink-soft); font-size: .79rem; }
.guidelines dl { display: grid; gap: 1px; margin: 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 8px; }
.guidelines dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 13px 15px; background: var(--paper); }
.guidelines dt { color: var(--muted); font-size: .61rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.guidelines dd { margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.55; }
.related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.related-links a { display: flex; padding: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; flex-direction: column; text-decoration: none; }
.related-links a:hover { border-color: var(--link); }
.related-links span { margin-top: 5px; color: var(--muted); font-size: .68rem; }
.detail-aside { display: grid; gap: 11px; position: sticky; top: 87px; }
.detail-aside section { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--tool-accent); border-radius: 8px; box-shadow: 0 2px 0 #e3e1d9; }
.detail-aside h2 { margin: 0 0 14px; font-size: .69rem; letter-spacing: .06em; text-transform: uppercase; }
.detail-aside dl { display: grid; gap: 11px; margin: 0; }
.detail-aside dl div { display: grid; gap: 2px; }
.detail-aside dt { color: var(--muted); font-size: .59rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.detail-aside dd { margin: 0; font-size: .76rem; line-height: 1.46; }
.detail-aside ul { padding-left: 18px; color: var(--muted); font-size: .72rem; line-height: 1.54; }
.official-link { display: block; margin-top: 13px; font-size: .71rem; font-weight: 780; }

.comparison-page { padding: 38px 0 82px; }
.comparison-note { margin-bottom: 18px; padding: 15px 17px; color: #3d434d; background: #eef4d9; border-left: 4px solid #8aae2f; border-radius: 0 7px 7px 0; font-size: .78rem; line-height: 1.56; }
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-spacing: 0; border-radius: 9px; box-shadow: 0 3px 0 #e2e0d8; }
.comparison-table th, .comparison-table td { min-width: 0; padding: 15px; line-height: 1.5; overflow-wrap: anywhere; text-align: left; }
.comparison-table thead th { color: #656b73; background: #e9e7df; font-size: .61rem; font-weight: 830; letter-spacing: .07em; text-transform: uppercase; }
.comparison-table tbody th, .comparison-table tbody td { border-top: 1px solid var(--line); font-size: .76rem; }
.comparison-table tbody th { width: 19%; }
.comparison-table tbody td:nth-child(2) { width: 18%; }
.comparison-table tbody td:nth-child(3) { width: 15%; }
.comparison-table tr.is-active { background: #eef4d9; }
.relationship--exact { color: var(--green); background: #e3f4ea; }
.relationship--similar, .relationship--partial { color: var(--amber); background: #ffefcf; }
.relationship--none, .relationship--unknown { color: #5c6269; background: #e9eae7; }
.comparison-legend { color: var(--muted); font-size: .76rem; line-height: 1.55; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.coverage-page { padding: 34px 0 84px; }
.coverage-note { display: grid; grid-template-columns: minmax(210px, .35fr) minmax(0, 1fr); gap: 22px; margin-bottom: 16px; padding: 18px 20px; color: #dce1e7; background: var(--night-raised); border-left: 5px solid var(--accent); border-radius: 0 8px 8px 0; font-size: .78rem; line-height: 1.55; }
.coverage-note strong { color: #fff; }
.coverage-note span { color: #9fa7b2; }
.coverage-totals { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 54px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 0 #e1dfd7; }
.coverage-totals > div { display: flex; min-height: 112px; padding: 20px; justify-content: center; flex-direction: column; border-left: 1px solid var(--line); }
.coverage-totals > div:first-child { border-left: 0; }
.coverage-totals strong { font-family: var(--mono); font-size: 1.65rem; }
.coverage-totals span { margin-top: 6px; color: var(--muted); font-size: .7rem; }
.coverage-page > .section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.coverage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.coverage-card { --coverage-accent: var(--accent-dark); min-width: 0; padding: 21px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--coverage-accent); border-radius: 9px; box-shadow: 0 3px 0 #e1dfd7; }
.coverage-card--codex { --coverage-accent: var(--codex); }
.coverage-card--claude-code { --coverage-accent: var(--claude-code); }
.coverage-card--gemini-cli { --coverage-accent: var(--gemini-cli); }
.coverage-card--cursor { --coverage-accent: var(--cursor); }
.coverage-card--github-copilot { --coverage-accent: var(--github-copilot); }
.coverage-card--muse-code { --coverage-accent: var(--muse-code); }
.coverage-card__head { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.coverage-card__head > span { width: 9px; height: 9px; background: var(--coverage-accent); border-radius: 50%; }
.coverage-card__head p { margin: 0 0 3px; color: var(--muted); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; }
.coverage-card__head h2 { margin: 0; font-size: 1.05rem; }
.coverage-card__head h2 a { color: var(--ink); text-decoration: none; }
.coverage-card__head > strong { font-family: var(--mono); font-size: 1.55rem; }
.coverage-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 20px 0 16px; background: var(--line); border: 1px solid var(--line); }
.coverage-card dl div { padding: 11px; background: var(--paper); }
.coverage-card dt { color: var(--muted); font-size: .59rem; letter-spacing: .04em; text-transform: uppercase; }
.coverage-card dd { margin: 5px 0 0; font-family: var(--mono); font-size: .88rem; font-weight: 800; }
.coverage-meter { height: 6px; overflow: hidden; background: #dfded8; border-radius: 9px; }
.coverage-meter i { display: block; height: 100%; background: var(--coverage-accent); }
.coverage-card > p { margin: 11px 0 0; color: var(--muted); font-size: .66rem; }
.coverage-card time { color: var(--ink-soft); font-family: var(--mono); }
.coverage-method { display: grid; grid-template-columns: minmax(210px, .35fr) minmax(0, 1fr); gap: 34px; margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.coverage-method h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.04em; }
.coverage-method dl { display: grid; gap: 14px; margin: 0; }
.coverage-method dl div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
.coverage-method dt { font-size: .73rem; font-weight: 820; }
.coverage-method dd { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.guide-page { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 54px 0 84px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.guide-card { min-height: 250px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--accent-dark); border-radius: 9px; box-shadow: 0 8px 22px rgba(33, 36, 42, .05); }
.guide-card > span { color: var(--link); font-family: var(--mono); font-size: .7rem; font-weight: 850; }
.guide-card h2 { margin: 28px 0 10px; font-size: 1.15rem; letter-spacing: -.03em; }
.guide-card p { min-height: 92px; margin: 0 0 18px; color: var(--muted); font-size: .79rem; line-height: 1.6; }
.guide-card a { font-size: .73rem; font-weight: 800; }
.guide-callout { margin-top: 18px; padding: 16px 18px; color: #3d434d; background: #eef4d9; border-left: 4px solid #8aae2f; border-radius: 0 7px 7px 0; font-size: .78rem; line-height: 1.56; }

.not-found p { color: var(--muted); line-height: 1.6; }
.site-footer { display: flex; width: min(1320px, calc(100% - 48px)); min-height: 86px; margin: 0 auto; padding: 26px 0 36px; align-items: center; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); font-size: .7rem; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--ink); }
.site-footer a { font-weight: 750; }

@media (max-width: 1120px) {
  .hero__content { grid-template-columns: minmax(0, .8fr) minmax(430px, 1.2fr); gap: 46px; }
  .hero__footer { grid-template-columns: 1fr; gap: 18px; }
  .capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .entry-card { grid-template-columns: minmax(230px, 1fr) minmax(220px, .82fr); }
  .entry-card__footer { grid-column: 1 / -1; padding: 11px 18px; border-top: 1px solid #e9e7e0; border-left: 0; align-items: center; justify-content: space-between; flex-direction: row; }
}

@media (max-width: 900px) {
  .hero { padding-top: 50px; }
  .hero__content { grid-template-columns: 1fr; gap: 38px; }
  .hero__copy { max-width: 760px; }
  .hero__command-palette { max-width: 760px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-shell { grid-template-columns: 1fr; }
  .filter-panel { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel__head { grid-column: 1 / -1; }
  .filter-panel .button { align-self: end; }
  .tool-summary { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .summary-list:nth-of-type(5) { border-left: 0; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .detail-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); position: static; }
}

@media (max-width: 680px) {
  .site-header__inner, .capability-section, .reference-section, .tool-summary, .detail-page, .comparison-page, .coverage-page, .site-footer { width: min(100% - 28px, 1320px); }
  .site-header__inner { min-height: 60px; }
  .brand__name { display: none; }
  .site-nav { gap: 0; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
  .site-nav a { padding: 7px; font-size: .7rem; }
  .site-nav__github { margin-left: 2px; border: 0; }
  .hero { padding: 40px 14px 24px; }
  .hero h1 { font-size: clamp(2.9rem, 16vw, 4.45rem); }
  .hero__copy > p:last-child { font-size: .94rem; }
  .hero__command-palette { border-radius: 9px; box-shadow: 6px 6px 0 rgba(200, 255, 83, .08); }
  .hero__command-palette .search { padding: 18px 16px 12px; }
  .search input { height: 57px; padding-right: 16px; font-size: .87rem; }
  .search kbd { display: none; }
  .quick-searches { padding: 0 16px 17px; }
  .quick-searches > span { width: 100%; }
  .hero__footer { margin-top: 42px; }
  .atlas-stats { grid-template-columns: 1fr 1fr; gap: 17px 0; }
  .atlas-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tool-tab { padding: 7px 9px; }
  .capability-section { padding-top: 44px; }
  .capability-grid, .filter-panel, .related-links, .detail-aside { grid-template-columns: 1fr; }
  .capability-card { min-height: 174px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; }
  .section-note { text-align: left; }
  .section-heading--reference > p { max-width: none; }
  .filter-panel { padding: 15px; }
  .results-bar { min-height: 60px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 5px; }
  .entry-card { grid-template-columns: 1fr; }
  .entry-card__identity, .entry-card__usage, .entry-card__footer { padding: 15px; }
  .entry-card__usage, .entry-card__footer { grid-column: auto; border-top: 1px solid #e9e7e0; border-left: 0; }
  .entry-card__footer { align-items: flex-start; flex-direction: column; }
  .entry-card__title { align-items: flex-start; flex-direction: column; gap: 4px; }
  .task-matches { align-items: flex-start; flex-direction: column; }
  .page-head { padding: 34px 14px 29px; }
  .page-head::before { margin-bottom: 24px; }
  .page-head h1 { font-size: clamp(2.6rem, 14vw, 4.1rem); }
  .tool-summary { grid-template-columns: 1fr 1fr; }
  .summary-list, .summary-list--sources { grid-column: 1 / -1; border-left: 0; }
  .detail-page { padding-top: 28px; }
  .detail-head { margin-bottom: 31px; padding: 21px 19px; }
  .guidelines dl div { grid-template-columns: 1fr; gap: 5px; }
  .comparison-table, .comparison-table tbody, .comparison-table tr, .comparison-table th, .comparison-table td { display: block; width: 100% !important; }
  .comparison-table { border: 0; background: transparent; box-shadow: none; }
  .comparison-table thead { display: none; }
  .comparison-table tbody tr { margin-bottom: 9px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
  .comparison-table tbody th, .comparison-table tbody td { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; padding: 5px 0; border: 0; }
  .comparison-table tbody th::before, .comparison-table tbody td::before { content: attr(data-label); color: var(--muted); font-size: .59rem; font-weight: 820; letter-spacing: .05em; text-transform: uppercase; }
  .coverage-note, .coverage-method, .coverage-method dl div { grid-template-columns: 1fr; gap: 9px; }
  .coverage-totals { grid-template-columns: 1fr 1fr; }
  .coverage-totals > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .coverage-totals > div:nth-child(4) { border-top: 1px solid var(--line); }
  .coverage-grid { grid-template-columns: 1fr; }
  .guide-page { width: min(100% - 28px, 1080px); padding-top: 40px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; }
  .guide-card p { min-height: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .capability-card, .entry-card { transition: none; }
}

/* Product polish: keep the reference dense, but give the main surfaces clearer hierarchy. */
body {
  background:
    radial-gradient(circle at 8% -10%, rgba(200, 255, 83, .10), transparent 28rem),
    var(--canvas);
}
.site-header__inner { min-height: 72px; }
.brand__mark { box-shadow: 0 0 0 4px rgba(200, 255, 83, .09); }
.site-nav a { transition: color .15s ease, background .15s ease, transform .15s ease; }
.site-nav a:hover { transform: translateY(-1px); }
.hero { padding-top: 84px; }
.hero__command-palette { box-shadow: 0 30px 80px rgba(0, 0, 0, .42), 10px 10px 0 rgba(200, 255, 83, .10); }
.hero__command-palette .search input { border-color: #e1e5d5; box-shadow: 0 12px 30px rgba(0, 0, 0, .24); }
.hero__command-palette .search input:focus { box-shadow: 0 0 0 4px rgba(200, 255, 83, .16), 0 12px 30px rgba(0, 0, 0, .24); }
.capability-card, .entry-card, .tool-summary, .detail-head, .examples > div, .detail-aside section, .coverage-card, .comparison-table {
  box-shadow: 0 8px 22px rgba(33, 36, 42, .045), 0 2px 0 #e2e0d8;
}
.capability-card:hover, .entry-card:hover { box-shadow: 0 14px 28px rgba(33, 36, 42, .10), 0 3px 0 #d7d4ca; }
.filter-panel { box-shadow: 0 14px 30px rgba(17, 19, 24, .16); }
.filter-panel select:focus, .button:focus-visible, .tool-tab:focus-visible, .quick-search:focus-visible { outline: 3px solid rgba(200, 255, 83, .72); outline-offset: 2px; }
.results-bar { border-bottom: 1px solid var(--line); margin-bottom: 9px; }
.entry-card__footer > a { color: var(--link); }
.page-head { padding-top: 62px; }
.detail-head { box-shadow: 0 14px 30px rgba(33, 36, 42, .08), 0 3px 0 #e2e0d8; }
.official-link::after { content: "  ↗"; }

@media (max-width: 680px) {
  .site-header__inner { min-height: 60px; }
  .hero { padding-top: 40px; }
  .page-head { padding-top: 34px; }
}

@media print {
  .site-header, .search, .quick-searches, .tool-tabs, .filter-panel, .load-more, .site-footer { display: none; }
  body { background: #fff; }
  .hero { color: #000; background: #fff; }
  .reference-shell { display: block; }
  .entry-list { display: block; }
  .entry-card { display: block; margin-bottom: 10px; break-inside: avoid; }
}
