@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, pre { margin: 0; }
  button, input, select { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  [hidden] { display: none !important; }
}
@layer base {
  :root {
    color-scheme: light;
    --paper: #f5f3eb;
    --ink: #242c27;
    --muted: #5c645c;
    --line: #d5d8cb;
    --accent: #176650;
    --terminal: #1d2529;
    --term-text: #dce3de;
    --term-muted: #a0acae;
    --cyan: #72d6dc;
    --blue: #87baff;
    --green: #b0d7a0;
    --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
  html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
  body { font-size: 17px; line-height: 1.65; }
  ::selection { background: #d6e6b4; color: #1d2529; }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
  button { border: 0; }
  a { text-underline-offset: 5px; }
  .wrap { width: min(1420px, calc(100% - 80px)); margin-inline: auto; }
  .skip-link { position: absolute; top: -100px; z-index: 5; padding: 12px; background: var(--ink); color: white; }
  .skip-link:focus { top: 8px; left: 8px; }
  .eyebrow { font: 13px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
  .tiny-square { display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--accent); }
}
@layer layout {
  .site-header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding-block: 18px; border-bottom: 1px solid var(--line); gap: 24px; }
  .site-header nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; }
  .site-header nav a:hover { color: var(--accent); text-decoration: underline; }
  .hero { display: grid; grid-template-columns: minmax(360px, .72fr) minmax(600px, 1.28fr); align-items: center; gap: clamp(38px, 5vw, 80px); padding-block: clamp(58px, 7vw, 94px) 64px; }
  .hero-copy h1 { font-size: clamp(68px, 6.7vw, 108px); line-height: .94; letter-spacing: -.066em; font-weight: 550; margin-top: 24px; }
  .hero-copy h1 em { font: italic 1.065em/1.08 Georgia, 'Times New Roman', serif; letter-spacing: -.075em; color: var(--accent); }
  .hero-description { max-width: 430px; color: var(--muted); font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; margin-top: 30px; }
  .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 31px; }
  .hero-footnote { font: 12px/1.7 var(--mono); color: var(--muted); margin-top: 27px; }
  .hero-footnote span { padding-inline: 6px; color: #8c9386; }
  .principles-strip { border-block: 1px solid var(--line); padding-block: 21px; display: flex; justify-content: space-between; gap: 20px; font: 13px/1.6 var(--mono); color: var(--muted); }
  .principles-strip strong { font-weight: 500; color: var(--ink); }
  .site-footer { display: flex; justify-content: space-between; padding-block: 30px; font-size: 13px; }
  .features, .installation { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); gap: clamp(56px, 7vw, 112px); padding-block: 80px; }
  .section-heading h2, .architecture h2, .closing h2, .workspace-note h2 { font-size: clamp(44px, 4.4vw, 68px); line-height: 1.05; font-weight: 500; letter-spacing: -.05em; margin-top: 22px; }
  .workspace-note { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); gap: clamp(56px, 7vw, 112px); padding-block: 0 72px; }
  .workspace-note > div:last-child { border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); font-size: 17px; max-width: 740px; }
  .workspace-note p + p { margin-top: 16px; }
  .workspace-note .text-link { display: inline-block; margin-top: 18px; }
  h2 em { font-family: Georgia, 'Times New Roman', serif; color: var(--accent); font-weight: 400; }
  .section-heading > p:last-of-type { color: var(--muted); font-size: 17px; max-width: 420px; margin-top: 22px; }
  .feature-list { border-top: 1px solid var(--line); }
  .feature-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 22px; padding-block: 28px; border-bottom: 1px solid var(--line); }
  .feature-index { font: 12px var(--mono); color: var(--accent); padding-top: 7px; }
  .feature-row h3, .step-title h3 { font-size: 24px; font-weight: 550; letter-spacing: -.6px; line-height: 1.3; }
  .feature-row p, .install-step > p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 10px; max-width: 720px; }
  .feature-row .text-link { display: inline-block; margin-top: 15px; }
  p code { font: .91em var(--mono); color: var(--accent); }
  .key-pair { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 18px; font-size: 12px; color: var(--muted); }
  .key-pair span { margin-right: 7px; }
  kbd { display: inline-block; font: 12px var(--mono); padding: 5px 8px; min-width: 28px; text-align: center; border: 1px solid #c9cec0; border-radius: 3px; box-shadow: 0 1px 0 #c9cec0; background: #faf9f4; color: var(--ink); }
  .architecture { background: #24392f; color: #f1f1e4; padding-block: 76px 28px; }
  .architecture-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 75px; align-items: center; }
  .architecture-copy { padding-bottom: 35px; }
  .architecture .eyebrow { color: #c0cdb8; }
  .architecture h2 { font-size: clamp(44px, 4.2vw, 64px); }
  .architecture h2 em { color: #c2dbad; }
  .architecture-copy > p:last-of-type { color: #c3cdc0; font-size: 17px; line-height: 1.7; margin-top: 25px; max-width: 460px; }
  .architecture .text-link { display: inline-block; margin-top: 26px; border-color: #587061; }
  .architecture .text-link:hover { color: #c2dbad; }
  .architecture-bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid #48604d; margin-top: 58px; padding-top: 23px; }
  .architecture-bottom p { color: #c3cdc0; font-size: 14px; max-width: 860px; }
  .architecture-bottom strong { color: #f1f1e4; font-weight: 550; }
  .architecture-bottom code { color: #c2dbad; }
  .architecture-glyph { font: 27px var(--mono); color: #91ac86; white-space: nowrap; }
  .file-map { font: 14px/1.75 var(--mono); }
  .file-map-heading { display: flex; justify-content: space-between; gap: 10px; color: #bdc8b8; font-size: 8px; letter-spacing: .04em; border-bottom: 1px solid #48604d; padding-bottom: 13px; }
  .map-root { display: flex; flex-direction: column; gap: 2px; padding-block: 20px; }
  .map-root code { color: #c2dbad; font-size: 16px; }
  .map-root span { color: #b6c6b7; font-size: 12px; }
  .map-group { border-left: 1px solid #658468; padding-left: 24px; margin-left: 9px; padding-bottom: 22px; }
  .map-label { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
  .map-label strong { font-weight: 500; font-size: 14px; }
  .map-step { display: grid; place-items: center; position: absolute; left: -35px; width: 20px; height: 20px; background: #24392f; color: #c2dbad; border: 1px solid #658468; border-radius: 50%; font-size: 10px; }
  .map-tag { font-size: 7px; letter-spacing: .05em; padding: 2px 5px; border: 1px solid #58705b; color: #c2dbad; border-radius: 2px; }
  .map-group > code { font-size: 13px; color: #f1f1e4; overflow-wrap: anywhere; }
  .map-group p { color: #b6c6b7; font-size: 11px; margin-top: 7px; }
  .map-peers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .map-peers > div > span { display: block; font-size: 11px; color: #b6c6b7; margin-bottom: 5px; }
  .map-peers code { font-size: 13px; }
  .map-group:last-child { padding-bottom: 0; }
  .requirements { margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 320px; }
  .requirements > span { font: 11px var(--mono); color: var(--muted); letter-spacing: .07em; }
  .requirements p { font: 14px/2.4 var(--mono); }
  .requirements a { display: inline-block; margin-top: 6px; font-size: 14px; text-decoration: underline; }
  .install-step + .install-step { margin-top: 30px; }
  .step-title { display: flex; align-items: center; gap: 15px; }
  .step-title > span { font: 10px var(--mono); color: var(--accent); border: 1px solid #b5bfae; padding: 4px 7px; border-radius: 2px; }
  .code-box { position: relative; margin-top: 15px; border: 1px solid var(--line); background: #eceee4; border-radius: 3px; }
  .code-box pre { padding: 42px 18px 20px; overflow-x: auto; font: 13px/1.8 var(--mono); tab-size: 2; }
  .code-box.compact { margin-top: 8px; }
  .copy-button { position: absolute; right: 8px; top: 7px; padding: 7px 11px; min-height: 36px; border: 1px solid #c5cdbd; color: var(--ink); background: #f5f3eb; border-radius: 3px; font: 12px var(--mono); }
  .copy-button:hover { background: #dce4d1; }
  .copy-status { color: var(--accent); font-size: 12px; min-height: 24px; padding-top: 8px; }
  .install-note { padding: 22px 0; border-block: 1px solid var(--line); margin-top: 12px; }
  .install-note strong { font-size: 16px; font-weight: 550; }
  .install-note p { color: var(--muted); font-size: 14px; margin-block: 8px 12px; }
  .install-note .text-link { font-size: 14px; }
  details { padding-top: 18px; font-size: 14px; }
  summary { cursor: pointer; padding-block: 5px; font-weight: 550; }
  details p { color: var(--muted); padding-top: 8px; }
  .more-features { padding-block: 19px; border-bottom: 1px solid var(--line); }
  .more-features dl { margin-block: 15px 20px; }
  .more-features dl > div + div { margin-top: 17px; }
  .more-features dt { font-weight: 550; }
  .more-features dd { margin: 4px 0 0; color: var(--muted); }
  .closing { display: flex; align-items: center; justify-content: space-between; gap: 32px; border-block: 1px solid var(--line); padding-block: 53px 59px; }
  .closing h2 { font-size: 43px; margin-top: 18px; }
  .closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
  .site-footer { align-items: center; color: var(--muted); font-size: 10px; }
  .site-footer .brand { color: var(--ink); font-size: 21px; }
  .site-footer a:hover { color: var(--accent); }
}
@layer components {
  .brand { display: flex; align-items: center; font-size: 27px; letter-spacing: -.9px; font-weight: 650; }
  .brand-period { color: var(--accent); }
  .brand-mark { display: grid; place-content: center; width: 30px; height: 31px; margin-right: 10px; border-radius: 3px; background: var(--ink); color: var(--paper); font: 16px var(--mono); letter-spacing: -4px; padding-right: 4px; }
  .source-link span { margin-left: 6px; }
  .button { display: inline-flex; gap: 27px; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; background: var(--ink); color: var(--paper); border-radius: 3px; font-size: 15px; font-weight: 550; transition: background .15s; }
  .button:hover { background: var(--accent); }
  .button span { font-size: 19px; line-height: 1; }
  .text-link { font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line); padding-block: 5px; }
  .text-link:hover { border-color: var(--accent); color: var(--accent); }
  .text-link span { margin-left: 8px; }
  .demo-wrap { min-width: 0; padding-top: 19px; }
  .terminal { background: var(--terminal); color: var(--term-text); border: 1px solid #3c4445; border-radius: 10px; box-shadow: 0 32px 52px -30px #15271e85, 0 2px 4px #15271e10; font: 13px/1.65 var(--mono); overflow: hidden; }
  .terminal :focus-visible { outline-color: var(--cyan); }
  .terminal-chrome { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 15px 20px; border-bottom: 1px solid #354045; color: var(--term-muted); font-size: 11px; }
  .window-dots { display: flex; gap: 6px; }
  .window-dots i { width: 8px; height: 8px; border-radius: 100%; background: #596365; }
  .native-label { font-size: 8px; letter-spacing: .09em; border: 1px solid #4c585a; padding: 0 5px; border-radius: 2px; }
  .demo-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-inline: 25px; border-bottom: 1px solid #354045; }
  .demo-tabs button { min-height: 48px; color: var(--term-muted); border-bottom: 2px solid transparent; padding: 12px 0; background: none; font-size: 11px; }
  .demo-tabs [aria-selected="true"] { color: var(--cyan); border-color: var(--cyan); }
  .terminal-body { display: flex; flex-direction: column; height: 520px; padding: 24px 25px 21px; }
  .shell-prompt { flex-shrink: 0; line-height: 1.9; white-space: nowrap; overflow: hidden; }
  .demo-entry { display: flex; gap: 12px; align-items: baseline; color: var(--term-muted); font-size: 11px; }
  .demo-entry > :first-child { font-size: 9px; letter-spacing: .08em; }
  .tree, .subtle { color: #849497; }
  .identity { color: #afcbc7; }
  .path { color: var(--cyan); }
  .git { color: var(--green); }
  .runtime { color: #c5b6e8; }
  .command { color: var(--blue); }
  .demo-example-row { min-height: 51px; padding-top: 7px; flex-shrink: 0; }
  #demo-example-control { display: flex; align-items: center; gap: 12px; }
  #demo-example-control label { font-size: 10px; color: var(--term-muted); }
  #demo-example { min-height: 44px; min-width: 0; max-width: 100%; flex: 1; color-scheme: dark; color: var(--term-text); background: var(--terminal); border: 1px solid #46575b; border-radius: 3px; padding: 6px; font-size: 12px; }
  #picker-demo { display: flex; flex: 1; min-height: 0; flex-direction: column; }
  .picker-heading { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 10px; margin-bottom: 5px; color: var(--blue); font-weight: 600; }
  .demo-scope { color: var(--term-muted); font-size: 11px; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #match-count { color: var(--term-muted); font-weight: 400; font-size: 11px; align-self: center; }
  .search-line { display: flex; align-items: center; gap: 7px; padding-bottom: 10px; }
  .search-line label { color: var(--term-muted); white-space: nowrap; }
  .search-line label span, .search-close { color: var(--cyan); font-weight: 700; }
  #demo-input-label { color: var(--term-muted); font-weight: 400; font-size: 11px; }
  .search-line input { min-width: 0; width: 100%; flex: 1; padding: 3px 0; color: var(--cyan); caret-color: var(--cyan); background: none; border: 0; border-bottom: 1px solid #46575b; border-radius: 0; font-size: 13px; }
  .search-line input:focus { outline-offset: 3px; }
  .result-list { flex: 1; min-height: 0; overflow-y: auto; }
  .result-row { display: grid; grid-template-columns: 30px 12px minmax(0, 1fr); gap: 7px; width: 100%; text-align: left; color: var(--term-text); background: transparent; padding: 4px 7px; border-radius: 2px; font-size: 12px; }
  .result-row > :last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .result-number { color: var(--cyan); }
  .result-kind { color: var(--cyan); }
  .result-row.selected { background: #b3d1c3; color: #15241e; font-weight: 650; }
  .result-row.selected .result-number, .result-row.selected .result-kind { color: #1f4a3d; }
  .result-row:not(.selected):hover { background: #303c41; }
  .picker-keys { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--term-muted); font-size: 10px; margin-top: 13px; }
  .demo-output { flex: 0 0 68px; border-top: 1px solid #354045; padding-top: 13px; margin-top: 18px; font-size: 11px; color: var(--green); overflow: auto; overflow-wrap: anywhere; white-space: pre-wrap; }
  .empty-results { color: var(--term-muted); padding: 12px 7px; font-size: 11px; }
  .context-output { margin-block: 20px; font-size: 11px; }
  #context-demo { flex: 1; min-height: 0; overflow-y: auto; }
  .context-facts > div { display: flex; gap: 15px; padding-block: 7px; font-size: 11px; }
  .context-facts small { display: block; color: var(--term-muted); font-size: 9px; }
  .terminal-status { display: flex; justify-content: space-between; gap: 10px; background: #242e32; color: var(--term-muted); padding: 10px 18px; font-size: 10px; }
  .status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-right: 6px; }
  .demo-caption { text-align: right; color: var(--muted); font: 11px/1.6 var(--mono); margin-top: 14px; }
  .demo-caption-label { color: var(--accent); margin-right: 7px; }
  .demo-guide { min-height: 132px; padding-top: 23px; }
  .demo-guide h2 { font-size: 20px; font-weight: 550; letter-spacing: -.3px; }
  .demo-guide p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 6px; max-width: 640px; }
  .demo-guide a { display: inline-block; color: var(--accent); font-size: 13px; text-decoration: underline; padding-top: 7px; }
  #git-review-demo { display: flex; flex: 1; min-height: 0; flex-direction: column; }
  .review-heading, .review-summary, .review-keys { flex-shrink: 0; }
  .review-heading { display: flex; justify-content: space-between; gap: 12px; color: var(--blue); font-size: 12px; }
  .review-heading > :last-child { color: var(--term-muted); font-size: 9px; letter-spacing: .08em; }
  .review-summary { color: var(--term-muted); font-size: 10px; margin-block: 3px 10px; }
  .review-workspace { display: grid; grid-template-columns: minmax(150px, .34fr) minmax(0, .66fr); flex: 1; min-height: 0; border-block: 1px solid #425055; }
  .review-pane { min-width: 0; min-height: 0; overflow: hidden; }
  .review-pane + .review-pane { border-left: 1px solid #526166; }
  .review-pane-title { display: flex; justify-content: space-between; padding: 6px 8px; color: var(--term-muted); font-size: 9px; letter-spacing: .06em; }
  #review-files { overflow-y: auto; }
  .review-file-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: 100%; padding: 6px 8px; color: var(--term-text); background: transparent; text-align: left; font-size: 10px; }
  .review-file-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .review-file-row span:last-child { color: var(--term-muted); }
  .review-file-row.selected { background: #b3d1c3; color: #15241e; font-weight: 650; }
  .review-file-row.selected span:last-child { color: #34584d; }
  .review-file-title { padding: 0 8px 6px; color: var(--blue); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .review-lines { height: calc(100% - 46px); overflow: auto; padding-bottom: 8px; }
  .review-line { display: grid; grid-template-columns: 28px 28px 12px minmax(max-content, 1fr); min-width: max-content; padding-inline: 6px; color: var(--term-text); font-size: 10px; line-height: 1.65; }
  .review-line > span { color: var(--term-muted); text-align: right; padding-right: 6px; }
  .review-line code { padding-inline: 5px 12px; font: inherit; white-space: pre; }
  .review-line.added { background: #145a2c; }
  .review-line.removed { background: #6d1f24; }
  .review-line.added > span, .review-line.removed > span { color: #e5ece7; }
  .syntax-keyword { color: #f5cc73; font-weight: 650; }
  .syntax-function { color: #8fc4ff; }
  .syntax-string { color: #abd49e; }
  .syntax-variable { color: #c9b5ed; }
  .review-keys { display: flex; flex-wrap: wrap; gap: 4px 15px; padding-top: 8px; color: var(--term-muted); font-size: 9px; }
}
@layer responsive {
  @media (max-width: 1100px) {
    .wrap { width: calc(100% - 64px); }
    .hero { gap: 34px; padding-block: 58px; }
    .terminal-body { padding-inline: 18px; }
    .demo-tabs { margin-inline: 18px; }
  }
  @media (max-width: 940px) {
    .hero { grid-template-columns: 1fr; gap: 36px; }
    .hero-copy h1 { font-size: clamp(68px, 10vw, 92px); max-width: 720px; }
    .hero-description { max-width: 540px; }
    .demo-wrap { padding-top: 0; }
    .principles-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 11px; }
    .site-header nav { gap: 22px; }
    .site-header nav a:first-child { display: none; }
    .features, .installation, .architecture-grid, .workspace-note { grid-template-columns: minmax(0, 1fr); gap: 35px; }
    .features, .installation { padding-block: 65px; }
    .section-heading > p:last-of-type, .architecture-copy > p:last-of-type { max-width: 440px; }
    .section-heading h2, .architecture h2 { font-size: clamp(43px, 7vw, 58px); }
    .architecture { padding-top: 62px; }
    .architecture-copy { padding-bottom: 0; }
    .architecture-bottom { margin-top: 38px; }
    .closing h2 { font-size: 36px; }
  }
  @media (max-width: 520px) {
    .wrap { width: calc(100% - 40px); }
    .site-header { padding-block: 21px; }
    .brand { font-size: 22px; }
    .brand-mark { width: 27px; height: 28px; }
    .site-header nav { font-size: 14px; gap: 17px; }
    .site-header nav a:nth-child(2), .source-link { display: none; }
    .hero { padding-top: 49px; padding-bottom: 39px; }
    .hero-copy h1 { font-size: clamp(54px, 15.8vw, 70px); }
    .hero-description { max-width: 360px; font-size: 18px; }
    .hero-footnote { font-size: 10px; }
    .terminal { font-size: 11px; }
    .terminal-body { padding: 18px 12px; }
    .demo-tabs { margin-inline: 12px; }
    .demo-tabs button { font-size: 10px; }
    .terminal-status { padding-inline: 12px; font-size: 9px; }
    .result-row { font-size: 11px; }
    .search-line input { font-size: 16px; }
    #demo-example { font-size: 16px; }
    .demo-caption { font-size: 10px; }
    .principles-strip { font-size: 11px; }
    .feature-row { gap: 10px; padding-block: 25px; }
    .section-heading h2, .architecture h2 { font-size: 42px; }
    .file-map-heading { font-size: 8px; }
    .map-peers { gap: 14px; }
    .map-peers > div > span { font-size: 10px; }
    .architecture-glyph { display: none; }
    .closing { flex-direction: column; align-items: flex-start; padding-block: 42px; }
    .closing h2 { font-size: 42px; }
    .site-footer { flex-wrap: wrap; gap: 20px; }
    .site-footer > span { display: none; }
    .code-box pre { font-size: 12px; }
    .review-workspace { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
    .review-pane + .review-pane { border-left: 0; border-top: 1px solid #526166; }
    #review-files { display: flex; overflow-x: auto; }
    .review-file-row { min-width: 185px; min-height: 44px; }
    .review-navigator .review-pane-title { display: none; }
    .review-line { font-size: 9px; grid-template-columns: 22px 22px 10px minmax(max-content, 1fr); }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
}
