:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #232b26;
  --muted: #5e665f;
  --green: #446932;
  --line: #dce1d5;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
::selection { background: #d5e8bc; }
.wrap { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 12px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }
.header { display: flex; align-items: center; justify-content: space-between; padding-block: 28px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: 27px; letter-spacing: -1.3px; font-weight: 750; }
.brand img { border-radius: 11px; }
.brand-period { color: var(--green); }
.header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 550; }
.header nav a { text-decoration: none; }
.header nav a:hover, .footer a:hover { color: var(--green); }
.nav-github { border: 1px solid var(--line); padding: 10px 15px; border-radius: 7px; }
.nav-github span { margin-left: 8px; }
.hero { position: relative; isolation: isolate; text-align: center; padding-top: 69px; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 0; left: 50%; width: min(900px, 85vw); height: 520px;
  background: radial-gradient(ellipse at 32% 42%, #b5ce935e, transparent 55%),
              radial-gradient(ellipse at 70% 38%, #d6acd04d, transparent 52%);
  filter: blur(32px); transform: translateX(-50%);
  animation: soft-glow 12s ease-in-out infinite alternate;
}
@keyframes soft-glow { to { transform: translateX(-47%) translateY(14px) scale(1.06); } }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: 1.6px; text-transform: uppercase; color: var(--green); font-weight: 500; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #709b45; box-shadow: 0 0 0 4px #e8eddf; flex-shrink: 0; }
h1 { margin: 26px 0 22px; font-size: clamp(48px, 5.7vw, 78px); line-height: 1.06; font-weight: 650; letter-spacing: -4.2px; }
h1 span { color: var(--green); }
.hero-description { color: var(--muted); font-size: 19px; line-height: 1.65; margin: 0; }
.install-command { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 29px; padding: 6px 6px 6px 18px; background: #252d27; color: #e3eadc; border-radius: 9px; font-family: var(--mono); font-size: 13px; text-align: left; box-shadow: 0 14px 30px -18px #232b2699; }
.install-prompt { color: #9fbf86; user-select: none; }
.install-command code { min-width: 0; overflow-x: auto; white-space: nowrap; font-family: inherit; scrollbar-width: none; }
.copy-command { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 0; border-radius: 6px; background: #ffffff1a; color: inherit; font: 600 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; transition: background 150ms; }
.copy-command:hover, .copy-command[data-copied] { background: var(--green); color: #fff; }
.copy-command:focus-visible { outline-color: #9fbf86; outline-offset: 2px; }
.install-alternatives { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 9px; margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.install-alternatives a { color: var(--ink); font-weight: 600; }
.install-alternatives a:hover { color: var(--green); }
.install-alternatives a[aria-disabled="true"] { cursor: progress; opacity: .75; }
.download-feedback { color: var(--muted); font-size: 12px; line-height: 1.7; margin-block: 14px; }
.download-feedback a { color: var(--green); }
.download-detail { display: flex; justify-content: center; gap: 10px; color: var(--muted); font-size: 11px; margin-top: 11px; }
.app-preview { margin: 62px 0 0; text-align: left; }
.preview-label { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 13px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.preview-tag { text-transform: uppercase; letter-spacing: 1.4px; }
.app-preview > a { display: block; border-radius: 12px; box-shadow: 0 15px 42px #29351b1a, 0 2px 8px #29351b0d; }
.app-preview img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #b9c3b4; }
.app-preview figcaption { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 16px; }
.harnesses { padding-block: 65px 67px; text-align: center; border-bottom: 1px solid var(--line); }
.harnesses h2 { margin: 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.harness-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 39px; list-style: none; padding: 0; margin: 25px 0 21px; font-family: var(--mono); font-weight: 600; font-size: 18px; letter-spacing: -.7px; }
.harnesses > p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-bottom: 0; }
.section { padding-block: 80px; }
.section-heading { margin-bottom: 37px; }
.section-heading .eyebrow { justify-content: flex-start; margin-top: 0; }
h2 { font-size: clamp(32px, 3.4vw, 45px); letter-spacing: -1.7px; line-height: 1.12; font-weight: 620; margin: 16px 0; }
.section-heading > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 0; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.workflow-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 27px 24px; border: 1px solid var(--line); background: #fffefa; border-radius: 10px; }
.workflow-card::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 35%), #c9dfa685, transparent 70%);
  opacity: var(--spot-opacity, 0); transition: opacity 180ms ease;
}
.card-number { margin: 0; font-family: var(--mono); color: var(--muted); font-size: 9px; letter-spacing: 1.2px; }
.flow-diagram { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 114px; font-family: var(--mono); }
.flow-node { border: 1px solid #d4d9cd; border-radius: 6px; background: #f1f3ec; padding: 10px 12px; font-size: 10px; text-align: center; white-space: nowrap; }
.node-green { background: #eff5e5; border-color: #ccdcb6; color: #48612c; }
.node-pink { background: #faedf8; border-color: #e5c9df; color: #8a487b; }
.node-blue { background: #eaf2f9; border-color: #c5d8e7; color: #416581; }
.flow-arrow { color: #818c7c; }
.worker-stack { display: flex; flex-direction: column; gap: 7px; }
h3 { font-size: 17px; letter-spacing: -.35px; line-height: 1.35; font-weight: 650; }
.workflow-card h3 { margin: 0 0 11px; }
.workflow-card > p:not(.card-number):not(.card-caption) { color: var(--muted); line-height: 1.75; font-size: 13px; margin: 0 0 24px; }
.workflow-card .card-caption { border-top: 1px solid var(--line); padding-top: 16px; margin: auto 0 0; font-family: var(--mono); font-size: 10px; color: var(--green); }
.custom-workflow { display: flex; align-items: center; gap: 17px; margin-top: 17px; padding: 22px 24px; border: 1px dashed #c9d2c1; border-radius: 10px; }
.custom-symbol { color: var(--green); font-size: 27px; }
.custom-workflow p { margin: 0; flex: 1; font-size: 13px; line-height: 1.7; color: var(--muted); }
.custom-workflow strong { color: var(--ink); font-weight: 600; }
.custom-workflow a { flex-shrink: 0; font-size: 12px; font-weight: 550; text-decoration: none; }
.details { border-top: 1px solid var(--line); }
.details-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; padding-top: 8px; }
.detail-mark { font-family: var(--mono); font-size: 19px; color: var(--green); letter-spacing: 2px; }
.details-grid h3 { margin: 22px 0 11px; font-size: 16px; }
.details-grid p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0; }
.getting-started { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--line); }
.start-intro .eyebrow { justify-content: flex-start; margin-top: 25px; }
.start-intro > img { border-radius: 21px; }
.start-intro .install-command { margin-top: 0; }
.start-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; font-size: 15px; margin-bottom: 25px; }
.start-intro > p.install-alternatives { justify-content: flex-start; margin-bottom: 0; font-size: 13px; line-height: 1.6; }
.start-intro > p.download-feedback { font-size: 12px; margin-block: 14px 0; }
.start-steps { padding-top: 8px; }
.start-steps ol { list-style: none; margin: 0; padding: 0; }
.start-steps li { display: flex; gap: 18px; margin-bottom: 26px; }
.step-number { flex-shrink: 0; display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #ccd8bf; border-radius: 50%; font-family: var(--mono); font-size: 11px; color: var(--green); }
.start-steps h3 { margin: 3px 0 7px; font-size: 15px; }
.start-steps li p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.install-note { padding: 17px 19px; background: #edf0e5; border-radius: 7px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.source-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.source-note a { color: var(--ink); }
.footer { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding-block: 35px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 25px; }
.footer p { color: var(--muted); font-size: 11px; line-height: 1.75; margin: 9px 0 0; }
.footer nav { display: flex; align-items: center; gap: 25px; font-size: 12px; }
.footer nav a { text-decoration: none; }
.footer .footer-credit { grid-column: 1 / -1; margin: 0; font-size: 10px; }

.docs-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 65px; padding-block: 47px 70px; }
.documentation { min-height: calc(100vh - 235px); padding-top: 55px; }
.documentation > .eyebrow { justify-content: flex-start; }
.documentation h1 { font-size: clamp(42px, 5vw, 64px); letter-spacing: -2.7px; }
.documentation-intro { color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 35px; }
.documentation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.documentation-card { display: flex; flex-direction: column; padding: 28px; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; background: #fffefa; }
.documentation-card:hover { border-color: #9caf87; background: #f1f5e9; }
.documentation-card h2 { display: flex; justify-content: space-between; gap: 12px; margin: 20px 0 15px; font-size: 25px; letter-spacing: -.7px; }
.documentation-card h2 span { color: var(--green); font-size: 19px; }
.documentation-card > p:not(.card-number) { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 24px; }
.documentation-card .card-caption { margin-top: auto; border-top: 1px solid var(--line); padding-top: 17px; font-family: var(--mono); color: var(--green); font-size: 11px; }
.documentation-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 28px; }
.documentation-note code { font-family: var(--mono); }
.documentation-feedback { font-size: 13px; line-height: 1.8; margin-top: 22px; }
.documentation-feedback a { color: var(--green); }
.docs-back { display: inline-block; font-size: 11px; color: var(--green); margin-bottom: 23px; text-decoration: none; }
.docs-sidebar { position: sticky; top: 28px; align-self: start; }
.docs-sidebar .eyebrow { justify-content: flex-start; margin-top: 0; }
.toc ul { list-style: none; padding: 0; margin: 18px 0 25px; }
.toc ul ul { padding-left: 15px; margin-block: 0; }
.toc a { display: block; padding-block: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; text-decoration: none; }
.toc a:hover { color: var(--green); }
.docs-source { font-size: 11px; color: var(--green); }
.docs-content { min-width: 0; max-width: 780px; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.docs-content > .eyebrow { justify-content: flex-start; margin-top: 0; }
.docs-content h1 { font-size: 45px; letter-spacing: -1.8px; margin-block: 15px 20px; line-height: 1.15; }
.docs-content h2 { font-size: 27px; letter-spacing: -.8px; margin: 47px 0 20px; padding-top: 25px; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.docs-content h3 { font-size: 20px; margin-top: 32px; scroll-margin-top: 30px; }
.docs-content p, .docs-content li { color: var(--muted); }
.docs-content strong { color: var(--ink); font-weight: 600; }
.docs-content a { color: var(--green); }
.docs-content .headerlink { margin-left: 9px; opacity: 0; text-decoration: none; font-size: .7em; }
.docs-content h2:hover .headerlink, .docs-content h3:hover .headerlink, .docs-content .headerlink:focus { opacity: 1; }
.docs-content code { font-family: var(--mono); font-size: .82em; background: #eaede3; border-radius: 4px; padding: 2px 4px; color: var(--ink); }
.docs-content pre { max-width: 100%; overflow-x: auto; padding: 19px 22px; background: #252d27; color: #e3eadc; border-radius: 8px; font-size: 12px; line-height: 1.8; }
.docs-content pre code { padding: 0; background: none; color: inherit; font-size: inherit; border-radius: 0; }
.docs-content li { margin-block: 8px; }
.docs-content blockquote { margin-inline: 0; padding: 2px 20px; border-left: 3px solid #b7cba3; background: #eef1e7; }
.docs-content table { border-collapse: collapse; font-size: 13px; width: 100%; }
.docs-content th, .docs-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.docs-content img { height: auto; }
.docs-content .docs-end { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; margin-top: 45px; font-size: 12px; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .workflow-card { padding: 24px 18px; }
  .flow-diagram { gap: 6px; }
  .flow-node { padding: 9px 7px; font-size: 9px; }
  .details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
  .getting-started { gap: 45px; }
  .docs-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 35px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .header { padding-block: 20px; }
  .header nav { gap: 18px; font-size: 12px; }
  .nav-github { padding: 8px 11px; }
  .brand { font-size: 24px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding-top: 47px; }
  .eyebrow { font-size: 9px; letter-spacing: 1px; }
  h1 { font-size: clamp(39px, 7.4vw, 54px); letter-spacing: -2.3px; margin-block: 23px 20px; }
  .hero-description { font-size: 16px; }
  .desktop-break { display: none; }
  .install-command { margin-top: 24px; padding-left: 14px; gap: 9px; font-size: 12px; }
  .copy-command { padding: 9px 10px; }
  .copy-command span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .download-detail { gap: 7px; font-size: 10px; flex-wrap: wrap; }
  .app-preview { margin-top: 40px; }
  .preview-label { font-size: 8px; }
  .app-preview > a, .app-preview img { border-radius: 7px; }
  .app-preview figcaption { font-size: 10px; padding-inline: 12px; }
  .harnesses { padding-block: 43px; }
  .harness-list { gap: 18px 26px; font-size: 16px; }
  .section { padding-block: 51px; }
  h2 { font-size: 33px; letter-spacing: -1.3px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading > p:last-child { font-size: 14px; }
  .workflow-grid { grid-template-columns: 1fr; gap: 14px; }
  .workflow-card { padding: 23px; }
  .flow-diagram { min-height: 101px; gap: 13px; }
  .flow-node { padding: 10px 14px; font-size: 10px; }
  .workflow-card > p:not(.card-number):not(.card-caption) { margin-bottom: 20px; }
  .custom-workflow { flex-wrap: wrap; padding: 18px; gap: 10px; }
  .custom-workflow p { flex-basis: calc(100% - 40px); font-size: 12px; }
  .custom-workflow a { margin-left: 30px; }
  .details-grid { gap: 29px 24px; }
  .details-grid h3 { font-size: 15px; margin-top: 16px; }
  .details-grid p { font-size: 12px; }
  .getting-started { grid-template-columns: 1fr; gap: 33px; }
  .start-intro > img { width: 66px; height: 66px; border-radius: 17px; }
  .start-steps { padding-top: 0; }
  .footer { grid-template-columns: 1fr; gap: 23px; padding-block: 28px; }
  .footer nav { gap: 24px; }
  .docs-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 24px 45px; }
  .docs-sidebar { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .toc ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block: 13px; }
  .toc a { padding-block: 4px; font-size: 11px; }
  .docs-content { font-size: 14px; }
  .docs-content h1 { font-size: 35px; }
  .docs-content h2 { font-size: 25px; }
  .docs-content pre { padding: 15px; font-size: 11px; }
  .documentation { padding-top: 35px; }
  .documentation-intro { font-size: 16px; }
  .documentation-grid { grid-template-columns: 1fr; gap: 15px; }
  .documentation-card { padding: 23px; }
  .documentation-card h2 { font-size: 23px; }
}

@media (max-width: 380px) {
  .header nav { gap: 12px; }
  .header nav > a:first-child { display: none; }
  .details-grid { grid-template-columns: 1fr; }
}

.reveal-enabled .reveal-item {
  opacity: 0; transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-enabled .reveal-item.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .copy-command { transition: none; }
  .hero::before { animation: none; }
  .workflow-card::before { transition: none; }
  .reveal-enabled .reveal-item { opacity: 1; transform: none; transition: none; }
}
