:root {
  color-scheme: dark;
  --ink: #eff3ed;
  --muted: #a8b5ab;
  --line: #33433a;
  --soft: #1b2820;
  --card: #152019;
  --surface: #152019;
  --accent: #ccf79b;
  --blue: #ccf79b;
  --green: #ccf79b;
  --bg: #101914;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
html { scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 1rem/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
::selection { color: var(--bg); background: var(--accent); }
.wrap { width: min(1200px, calc(100% - 80px)); max-width: 1200px; margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: -120px; left: 20px; padding: 12px 20px; color: var(--bg); background: var(--accent); }
.skip-link:focus { top: 12px; }
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 100px; }
.brand { display: inline-flex; align-items: center; gap: 13px; line-height: 1.05; white-space: nowrap; font-size: 1rem; letter-spacing: .015em; }
.brand strong { font-weight: 650; }
.brand small { display: block; color: var(--muted); font: .75rem/1.6 var(--mono); letter-spacing: .12em; margin-top: 5px; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--accent); color: var(--accent); font: italic 30px/1 Georgia, serif; }
.brand-mark span { font-size: 22px; margin-top: 9px; }
nav { display: flex; align-items: center; gap: 34px; font-size: .875rem; }
nav a { padding-block: 11px; color: var(--muted); }
nav a:hover { color: var(--accent); }
nav .nav-repo { color: var(--ink); padding: 9px 17px; border: 1px solid var(--line); border-radius: 5px; }
.nav-repo span { margin-left: 15px; }
.hero { padding: 76px 0 0; background: var(--bg); color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.13fr 1fr; gap: 68px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; color: var(--accent); font: .75rem/1.5 var(--mono); letter-spacing: .12em; }
h1 { font-size: clamp(2.6rem, 4.8vw, 4.15rem); line-height: 1.3; letter-spacing: -.035em; font-weight: 650; margin: 0; }
h1 span { color: var(--accent); }
.hero-description { margin: 26px 0 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.95; }
.actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 34px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: transparent; font-family: inherit; font-size: .875rem; font-weight: 600; line-height: 1.5; transition: background .18s, transform .18s; }
.button.primary { color: #18251b; background: var(--accent); border-color: var(--accent); }
.button:hover { transform: translateY(-2px); background: #24382b; }
.button.primary:hover { background: #e1ffbf; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .875rem; border-bottom: 1px solid #697969; padding: 10px 0 6px; min-height: 44px; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.audience-note { margin: 25px 0 0; color: var(--muted); font-size: .875rem; }
.research-desk { min-width: 0; padding: 30px; background: #e0ead5; color: #1b3020; border-top: 5px solid var(--accent); border-radius: 3px; }
.desk-header { padding-bottom: 23px; }
.desk-header .mono-label { color: #4b6541; }
.desk-header h2 { margin: 14px 0 0; font-size: 1.625rem; line-height: 1.45; }
.outcome-list { margin: 0; }
.outcome-list > div { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; padding: 22px 0; border-top: 1px solid #b6c8aa; }
.outcome-list dt { font-size: 1rem; font-weight: 600; }
.outcome-list dt span { display: block; margin-bottom: 7px; color: #59734b; font: .8125rem/1.5 var(--mono); }
.outcome-list dd { margin: 0; align-self: center; color: #40593a; font-size: .9375rem; line-height: 1.8; }
.desk-note { border-top: 1px solid #b6c8aa; margin: 0; padding-top: 17px; color: #4b6541; font-size: .875rem; }
.mono-label { display: block; font: .75rem/1.6 var(--mono); letter-spacing: .09em; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 31px; margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-row > div { display: flex; align-items: center; justify-content: center; gap: 16px; border-right: 1px solid var(--line); }
.facts-row > div:first-child { justify-content: start; }
.facts-row > div:last-child { border: 0; justify-content: end; }
.facts-row strong { font-size: 1.5rem; font-weight: 600; line-height: 1.4; letter-spacing: -.03em; color: #d4e0ca; }
.facts-row span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 1020px) {
  .wrap { width: calc(100% - 48px); }
  .hero-grid { gap: 32px; }
  h1 { font-size: clamp(2.2rem, 4.7vw, 3rem); }
  .research-desk { padding: 24px; }
  .facts-row > div { flex-direction: column; align-items: start; gap: 8px; padding-left: 26px; }
  .facts-row > div:first-child { padding-left: 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 2rem; }
  .header-inner { flex-wrap: wrap; gap: 8px; padding-block: 18px; min-height: 88px; }
  nav { gap: 12px; flex-wrap: wrap; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 8px; font-size: .75rem; }
  .site-header .nav-repo { padding: 9px; }
  .site-header .nav-repo span { margin-left: 6px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  h1 { font-size: clamp(2rem, 8.5vw, 3.5rem); }
  .hero-description { font-size: 1rem; }
  .outcome-list > div { gap: 15px; }
  .facts-row { margin-top: 54px; grid-template-columns: 1fr 1fr; row-gap: 25px; }
  .facts-row > div:nth-child(odd) { padding-left: 0; }
  .facts-row > div:nth-child(even) { border-right: 0; }
  .facts-row strong { font-size: 1.5rem; }
  .facts-row > div:last-child { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 420px) {
  .outcome-list > div { grid-template-columns: 1fr; gap: 9px; }
  .outcome-list dt span { display: inline; margin-right: 8px; }
}

/* Page sections */
main { padding: 0; }
section { scroll-margin-top: 0; }
.section { padding-block: 98px; background: transparent; }
h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.35; letter-spacing: -.025em; font-weight: 600; }
.section-label { margin: 0 0 19px; color: var(--accent); font: .75rem/1.5 var(--mono); letter-spacing: .1em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 40px; }
.section-intro { max-width: 410px; margin: 0 0 5px; font-size: 1rem; line-height: 1.85; color: var(--muted); }
.owner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.skill-card { display: flex; flex-direction: column; min-width: 0; padding: 27px; background: #152019; border: 1px solid var(--line); border-radius: 7px; transition: border-color .18s, background .18s, transform .18s; }
.skill-card:hover { border-color: #88ad70; background: #1d2c21; transform: translateY(-3px); }
.card-topline { display: flex; align-items: center; gap: 13px; font-size: .8125rem; color: var(--muted); }
.skill-number { font: .875rem/1.5 var(--mono); color: var(--accent); }
.card-arrow { margin-left: auto; font-size: 23px; color: var(--muted); line-height: 1; }
.skill-card h3 { margin: 24px 0 13px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.45; }
.skill-card p { color: var(--muted); font-size: 1rem; margin: 0 0 30px; line-height: 1.85; }
.card-bottom { display: flex; flex-direction: column; gap: 7px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.card-bottom code { font: .75rem/1.65 var(--mono); overflow-wrap: anywhere; color: #d1dfc8; }
.output-label { color: #c3d7b8; font-size: .875rem; line-height: 1.65; }
.owner-card { padding: 31px; }
.owner-card h3 { font-size: 2rem; margin-top: 25px; line-height: 1.35; }
.owner-card p { max-width: 430px; }
.research-card { background: #263c28; border-color: #627953; }
.research-card:hover { background: #2d452e; }
.research-card .card-bottom { border-color: #4a6544; }
.manuscript-card { background: #1c2925; border-color: #455b50; }
.specialist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.section-footnote { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 25px; }
.section-footnote > span { font-size: .8125rem; color: var(--muted); }
.section-footnote .text-link { white-space: nowrap; }
.workflow-section { background: #dce6d4; color: #17271b; padding-block: 86px 38px; }
.workflow-layout { display: grid; grid-template-columns: .85fr 1.3fr; gap: 90px; align-items: start; }
.workflow-section .section-label { color: #466535; }
.workflow-copy h2 { font-size: clamp(2.4rem, 4vw, 3.5rem); }
.workflow-copy h2 span { color: #57753f; }
.workflow-copy p:not(.section-label) { color: #4e624d; margin: 26px 0 18px; }
.workflow-section .text-link { color: #243c24; border-color: #71856a; }
.workflow-section .text-link:hover { color: #456331; }
.workflow-section a:focus-visible { outline-color: #314e28; }
.workflow-list { display: grid; }
.workflow-list article { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid #bacbb0; }
.workflow-list article:first-child { padding-top: 0; }
.workflow-list article:last-child { border: 0; }
.workflow-marker { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; margin-top: 2px; border: 1px solid #809873; border-radius: 50%; font-size: 20px; color: #37542a; }
.workflow-list h3 { margin: 0 0 8px; font-weight: 600; font-size: 1.125rem; }
.workflow-list h3 small { display: inline-block; color: #5b7053; font: .75rem/1.5 var(--mono); letter-spacing: .04em; margin-left: 15px; }
.workflow-list p { margin: 0; color: #4a5e45; font-size: 1rem; line-height: 1.8; }
.principles { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 26px; padding-top: 27px; margin-top: 43px; border-top: 1px solid #aabb9f; color: #45613b; font-size: .8125rem; }
.principles span::before { content: "+"; margin-right: 10px; color: #536f44; font-family: var(--mono); }
.learning-section { padding-bottom: 88px; }
.demo-feature { display: grid; grid-template-columns: .85fr 1.2fr; align-items: center; gap: 44px; padding: 44px; background: #213027; border: 1px solid #4a5b4b; border-radius: 9px; }
.demo-kicker { margin: 0 0 20px; color: #b6c9aa; font: .75rem/1.5 var(--mono); letter-spacing: .06em; }
.demo-copy h3 { font: 3.2rem/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.025em; margin: 0 0 22px; color: #f0f3e9; }
.demo-copy > p:not(.demo-kicker):not(.demo-note) { margin: 0 0 28px; color: #b5c3b2; font-size: 1rem; line-height: 1.85; }
.demo-note { color: #b5c3b2; font-size: .75rem; margin: 16px 0 0; }
.demo-preview { display: block; background: #f8fafc; color: #263e2b; border: 1px solid #d7e3cf; border-radius: 5px; overflow: hidden; transition: transform .2s; }
.demo-preview:hover { transform: translateY(-3px); }
.preview-heading { display: flex; justify-content: space-between; border-bottom: 1px solid #cfd9c6; padding: 13px 18px; font: .75rem/1.5 var(--mono); }
.demo-preview img { display: block; width: 100%; height: auto; }
.preview-footer { display: flex; justify-content: space-around; padding: 12px 10px; border-top: 1px solid #d4ddcd; font-size: .75rem; }
.tutorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 35px; }
.tutorial-link { display: flex; align-items: start; gap: 17px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.tutorial-link > span:last-child { margin-left: auto; color: var(--accent); font-size: 21px; }
.tutorial-index { color: #a9bf9d; font: italic 1.5rem/1.3 Georgia, serif; }
.tutorial-link .mono-label { color: var(--muted); font-size: .75rem; }
.tutorial-link h3 { margin: 9px 0 8px; font-size: 1.125rem; font-weight: 550; }
.tutorial-link:hover h3 { color: var(--accent); }
.tutorial-link p { color: var(--muted); font-size: .875rem; margin: 0; }
.demo-source { display: inline-block; margin-top: 24px; color: var(--muted); font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; }
.demo-source:hover { color: var(--accent); }
.install-section { padding-block: 80px 36px; border-top: 1px solid var(--line); background: #16221b; }
.install-grid { display: grid; grid-template-columns: .83fr 1.2fr; gap: 80px; align-items: start; }
.install-grid h2 { font-size: 3rem; }
.install-grid h2 span { color: var(--accent); }
.install-description { max-width: 365px; color: var(--muted); margin: 24px 0 20px; font-size: 1rem; }
.install-facts { list-style: none; margin: 0 0 19px; padding: 0; color: #c1cdbc; font-size: .875rem; }
.install-facts li { padding-block: 4px; }
.install-facts li::before { content: "✓"; color: var(--accent); margin-right: 10px; }
.starter-prompt { margin: 24px 0 15px; border-left: 2px solid var(--accent); padding-left: 17px; color: #d0dfc7; font-size: .9375rem; overflow-wrap: anywhere; }
.terminal { min-width: 0; border: 1px solid #53674d; border-radius: 8px; overflow: hidden; background: #0c140f; }
.terminal-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; background: #233326; border-bottom: 1px solid #42533c; padding: 16px 22px; color: #bdcfb4; font: .75rem/1.5 var(--mono); }
.terminal-header > span:first-child { display: flex; align-items: center; gap: 9px; }
.terminal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.command-block { padding: 24px 22px; }
.command-label { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #b1c4a6; font-size: .8125rem; }
.command-block pre { margin: 18px 0 0; padding: 2px 0 12px; overflow-x: auto; color: #d9eccb; font: .875rem/2 var(--mono); scrollbar-width: thin; scrollbar-color: #657557 #152019; }
.command-block code { white-space: pre; overflow-wrap: normal; font: inherit; }
.apply-block { border-top: 1px solid #283c2b; background: #122017; }
.copy-button { border: 1px solid #526c46; background: #243a23; color: #e0f4ce; border-radius: 4px; padding: 10px 12px; min-height: 44px; font-family: inherit; font-size: .875rem; line-height: 1.4; cursor: pointer; }
.copy-button:hover { background: #34502d; }
.copy-button:disabled { cursor: wait; opacity: .7; }
[hidden] { display: none !important; }
.copy-status { margin: 0; padding: 17px 22px; font-size: .75rem; color: #a5b99b; line-height: 1.8; }
.research-boundary { margin-block: 45px 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer { padding: 50px 0 26px; color: var(--ink); font-size: 1rem; max-width: none; margin: 0; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 37px; }
.footer-main > p { color: var(--muted); font-size: .875rem; margin: 0; }
.footer-main .text-link { white-space: nowrap; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom > span { color: #98ab90; font: .75rem/1.5 var(--mono); letter-spacing: .08em; }
.footer-bottom nav { gap: 20px; flex-wrap: wrap; font-size: .8125rem; }
@media (max-width: 1020px) {
  .workflow-layout, .install-grid { gap: 45px; }
  .specialist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-feature { padding: 30px; gap: 27px; }
  .demo-copy h3 { font-size: 2.6rem; }
  .footer-main { flex-wrap: wrap; }
  .footer-main > p { order: 3; width: 100%; }
}
@media (max-width: 760px) {
  .section { padding-block: 64px; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .section-intro { max-width: none; font-size: .9375rem; }
  .owner-grid, .specialist-grid, .workflow-layout, .demo-feature, .tutorial-grid, .install-grid { grid-template-columns: 1fr; }
  .skill-card, .owner-card { padding: 24px; }
  .owner-card h3 { font-size: 1.8rem; }
  .section-footnote { align-items: start; flex-direction: column; gap: 7px; }
  .workflow-section { padding-block: 60px 30px; }
  .workflow-layout { gap: 38px; }
  .workflow-copy h2 br:nth-child(2) { display: none; }
  .workflow-copy h2 { font-size: 2.5rem; }
  .workflow-list h3 small { margin-left: 0; display: block; margin-top: 3px; }
  .workflow-list article { gap: 14px; }
  .principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 22px; }
  .demo-feature { padding: 26px; gap: 30px; }
  .demo-copy h3 { font-size: 2.6rem; }
  .tutorial-grid { gap: 0; margin-top: 20px; }
  .install-section { padding-top: 60px; }
  .install-grid { gap: 34px; }
  .install-grid h2 { font-size: 2.5rem; }
  .install-description { max-width: none; }
  .footer-main { align-items: start; flex-direction: column; gap: 20px; padding-bottom: 25px; }
  .footer-main > p { order: 0; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 10px; }
  .footer-bottom nav { column-gap: 20px; row-gap: 0; }
}
