:root {
  color-scheme: dark;
  --paper: #151517;
  --ink: #eeeeef;
  --muted: #b0b3bb;
  --red: #bd2027;
  --red-hover: #94171e;
  --line: #353941;
  --soft: #1d2026;
  --accent: #ff7e86;
  --code-string: #eea8b3;
  --code-function: #aebfff;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  scrollbar-color: #a0a4aa var(--paper);
}
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #17191d;
  --muted: #555b64;
  --line: #dcdfe3;
  --soft: #f5f6f7;
  --accent: #bd2027;
  --code-string: #8f2633;
  --code-function: #394e78;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: #ffffff; background: var(--red); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible, pre:focus-visible, .theme-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
p + p { margin-block-start: 1rem; }
h1, h2, h3 { font-weight: 650; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 4.5vw, 3.65rem); letter-spacing: -0.035em; }
h2 { font-size: 1.9rem; letter-spacing: -0.025em; }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
code { font-family: var(--mono); font-size: 0.88em; }
p code, li > p code { background: var(--soft); padding: 0.1em 0.25em; overflow-wrap: anywhere; }
.wrap { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 1; top: -5rem; left: 1rem; background: var(--paper); padding: 0.6rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 101px; display: flex; gap: 2rem; justify-content: space-between; align-items: center; border-block-end: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: none; font-size: 1.55rem; font-weight: 750; letter-spacing: -0.045em; }
.wordmark span { color: var(--ink); font-weight: 550; letter-spacing: -0.04em; }
.site-header nav { margin-inline-start: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1.7rem; font-size: 0.875rem; }
.site-header nav a { text-decoration: none; padding-block: 0.65rem; }
.theme-toggle { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--soft); border-color: var(--line); }
.theme-toggle svg { width: 18px; height: 18px; }
.github-link { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; }
.github-link:hover { background: var(--soft); border-color: var(--line); }
.github-link img { width: 24px; height: 24px; filter: invert(1); }
[data-theme="light"] .github-link img { filter: none; }
.hero { display: grid; grid-template-columns: 1.16fr 1fr; align-items: start; gap: 3.5rem; padding-block: 80px 75px; }
.hero-copy > p { color: var(--muted); font-size: 0.97rem; max-width: 53ch; }
.hero-copy .lead { color: var(--ink); font-size: 1.14rem; line-height: 1.55; margin-block-start: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-block: 1.8rem 1.15rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0.65rem 1.15rem; background: var(--red); color: white; border-radius: 3px; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--red-hover); color: white; }
.text-action { font-size: 0.9rem; font-weight: 550; }
.code-example { border: 1px solid var(--line); border-radius: 5px; min-width: 0; overflow: hidden; }
.code-example figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.3rem; font-size: 0.875rem; border-block-end: 1px solid var(--line); }
.code-body { padding: 1.4rem 1.3rem 1.6rem; background: var(--soft); }
.code-label { color: var(--muted); font-size: 0.875rem; }
.analyst-request { color: var(--ink); }
.agent-interpretation { color: var(--code-function); font-family: var(--mono); }
pre { margin: 0.5rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 0.875rem; line-height: 1.8; tab-size: 2; }
pre code { font-size: inherit; }
.prompt { color: var(--muted); user-select: none; }
.output-label { margin-block-start: 1.7rem; }
.code-string { color: var(--code-string); }
.code-function { color: var(--code-function); }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-block: 52px; border-block-start: 1px solid var(--line); }
.section-grid h2 + p { margin-block-start: 1.1rem; }
.section-grid p { font-size: 0.94rem; color: var(--muted); }
.evidence-list { margin: 0; }
.evidence-list > div { display: grid; grid-template-columns: 125px 1fr; gap: 1.1rem; padding-block: 1rem; border-block-end: 1px solid var(--line); }
.evidence-list > div:first-child { padding-block-start: 0.2rem; }
.evidence-list > div:last-child { border: 0; padding-block-end: 0; }
dt { font-size: 0.875rem; font-weight: 650; }
dd { margin: 0; color: var(--muted); font-size: 0.88rem; }
.workflow { padding-block: 50px; border-block-start: 1px solid var(--line); }
.section-heading { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; }
.section-heading p { font-size: 0.88rem; color: var(--muted); }
.workflow-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 5rem; align-items: center; margin-block-start: 2rem; }
.workflow-flow { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 240px; justify-self: center; }
.flow-node { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 12px 20px; border: 1px solid var(--line); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 18px color-mix(in srgb, var(--accent) 24%, transparent); color: var(--ink); font-weight: 500; }
.flow-arrow { flex: none; color: var(--accent); }
.steps { grid-column: 1; grid-row: 1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1.5rem; counter-reset: workflow; }
.steps li { counter-increment: workflow; }
.steps h3::before { content: counter(workflow) ". "; color: var(--accent); }
.command { display: block; margin-block: 0.9rem; font-size: 0.875rem; white-space: nowrap; }
.steps p { color: var(--muted); font-size: 0.875rem; }
.workflow-note { color: var(--muted); font-size: 0.875rem; margin-block-start: 1.9rem; }
.requirements-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 1.15rem; }
.requirements-list li { font-size: 0.875rem; color: var(--muted); }
.requirements-list strong { color: var(--ink); font-weight: 650; }
.recognition { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.4rem; align-items: center; margin-block-start: 2.5rem; }
.recognition img { width: 200px; height: 200px; max-width: 100%; object-fit: contain; }
.recognition p { font-size: 0.875rem; color: var(--muted); }
.recognition > div > a { display: inline-block; font-size: 0.875rem; margin-block-start: 0.9rem; }
.release { padding-block: 52px 58px; }
.project-links { padding: 0; margin: 0; list-style: none; }
.project-links li { border-block-end: 1px solid var(--line); padding-block: 0.7rem; }
.project-links li:first-child { padding-block-start: 0; }
.project-links li:last-child { border: 0; padding-block-end: 0; }
.project-links a { display: flex; min-height: 30px; justify-content: space-between; gap: 1rem; font-weight: 550; font-size: 0.92rem; text-decoration: none; }
.project-links a:hover { text-decoration: underline; }
.project-links small { display: block; font-size: 0.875rem; color: var(--muted); }
.site-footer { border-block-start: 1px solid var(--line); display: flex; justify-content: space-between; gap: 2rem; padding-block: 25px 32px; font-size: 0.875rem; color: var(--muted); }
.site-footer p + p { margin: 0; }
.site-footer p:first-child { color: var(--ink); font-weight: 600; }
.site-footer span { margin-inline-start: 0.8rem; color: var(--muted); font-weight: 400; }
.not-found { min-height: 65vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; max-width: 700px; padding-block: 4rem; }
.not-found p { color: var(--muted); }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 2rem; }
  .section-grid { gap: 3rem; }
  .recognition { grid-template-columns: 160px 1fr; gap: 1rem; }
  .steps { gap: 1.8rem; }
}
@media (max-width: 800px) {
  .site-header { min-height: 88px; }
  .site-header nav { gap: 1.2rem; }

  .hero { grid-template-columns: 1fr; padding-block: 52px; gap: 2.5rem; }
  h1 { font-size: clamp(2.8rem, 7vw, 3.65rem); max-width: 700px; }
  .hero-copy > p { max-width: 65ch; }
  .code-example { max-width: 600px; }
  .section-grid { gap: 2rem; }
  .workflow-body { grid-template-columns: 1fr; gap: 2rem; }
  .workflow-flow { grid-column: 1; grid-row: 1; }
  .steps { grid-column: 1; grid-row: 2; }
  h2 { font-size: 1.65rem; }
  .evidence-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .steps { gap: 1.25rem; }
  .command { font-size: 0.875rem; }
  .recognition { grid-template-columns: 1fr; }
  .recognition img { width: 160px; height: 160px; }
  .site-footer { display: block; }
  .site-footer p + p { margin-block-start: 0.5rem; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; gap: 0.35rem; padding-block: 17px 10px; }
  .wordmark { font-size: 1.4rem; }
  .theme-toggle { margin-inline-start: auto; }
  .site-header nav { order: 3; flex-basis: 100%; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem; font-size: 0.875rem; }
  .site-header nav a { display: flex; align-items: center; min-height: 44px; }
  .hero { padding-block: 38px 40px; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-copy .lead { font-size: 1.05rem; margin-block-start: 1.25rem; }
  .hero-copy > p { font-size: 0.91rem; }
  .actions { gap: 1.2rem; margin-block-start: 1.5rem; }
  .text-action { min-height: 44px; display: inline-flex; align-items: center; gap: 0.2rem; }
  .code-example figcaption, .code-body { padding-inline: 1rem; }
  pre { font-size: 0.875rem; }
  .section-grid { grid-template-columns: 1fr; padding-block: 36px; gap: 1.7rem; }
  .section-grid h2 { max-width: 22ch; }
  .evidence-list > div { grid-template-columns: 115px 1fr; gap: 0.7rem; }
  .evidence-list > div:first-child { padding-block-start: 0; }
  .section-heading { display: block; }
  .section-heading p { margin-block-start: 0.7rem; }
  .workflow { padding-block: 36px; }
  .steps { gap: 1.6rem; }
  .steps h3 { font-size: 1rem; }
  .command { font-size: 0.875rem; margin-block: 0.65rem; }
  .steps p { max-width: 60ch; }
  .workflow-note { margin-block-start: 1.5rem; }
  .recognition { grid-template-columns: 130px 1fr; gap: 1rem; }
  .recognition img { width: 130px; height: 130px; }
  .recognition > div > a { min-height: 44px; display: inline-flex; align-items: center; }
  .project-links a { min-height: 44px; align-items: center; }
  .project-links li { padding-block: 0.5rem; }
  .site-footer span { display: block; margin: 0.25rem 0 0; }
}
@media (max-width: 360px) {
  .recognition { grid-template-columns: 1fr; }
  .evidence-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
}
