:root {
  --paper:#f5f3ed;
  --ink:#202b29;
  --quiet:#6b726c;
  --line:#d8dcd2;
  --accent:#28624b;
  color-scheme:light;
  font-family:'DM Sans',system-ui,sans-serif;
  font-synthesis:none
}

* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink)
}
a {
  color:inherit;
  text-decoration:none
}
button,a {
  touch-action:manipulation
}
button {
  font:inherit;
  cursor:pointer
}
button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid #d89a42;
  outline-offset:4px
}
button:disabled {
  cursor:default;
  opacity:.5
}
.topbar {
  height:94px;
  max-width:1440px;
  margin:auto;
  padding:0 6%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.wordmark {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:25px;
  letter-spacing:-1px;
  font-weight:700
}
.wordmark svg {
  width:27px;
  height:27px;
  fill:none;
  stroke:var(--ink);
  stroke-width:3
}
.toplinks {
  display:flex;
  gap:30px;
  align-items:center;
  font-size:13px
}
.toplinks span:first-child {
  color:var(--quiet)
}
main {
  max-width:1440px;
  margin:auto;
  padding:0 6%
}
.intro {
  display:flex;
  align-items:end;
  justify-content:space-between;
  padding:60px 0 48px;
  gap:25px
}
.eyebrow,.nav-label {
  font-family:'DM Mono',monospace;
  font-size:11px;
  letter-spacing:1.3px;
  color:var(--quiet);
  text-transform:uppercase
}
.eyebrow {
  margin:0 0 16px
}
h1 {
  font-size:clamp(36px,4.5vw,64px);
  font-weight:500;
  line-height:1.07;
  letter-spacing:-2.8px;
  margin:0
}
.intro-note {
  font-size:15px;
  line-height:1.65;
  color:var(--quiet);
  margin:0 0 4px
}
.workbench {
  border:1px solid var(--line);
  border-radius:14px;
  display:grid;
  grid-template-columns:264px 1fr;
  min-height:710px;
  overflow:hidden;
  background:#fffefa
}
.toolnav {
  padding:25px 15px;
  background:#eeefe8;
  border-right:1px solid var(--line)
}
.nav-label {
  display:block;
  padding:0 12px 22px;
  font-size:10px
}
#tool-list {
  position:relative;
}
.tool-button {
  border:0;
  background:transparent;
  text-align:left;
  padding:12px 10px;
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--quiet);
  border-radius:9px;
  transition:background .16s,color .16s;
  margin-bottom:4px
}
.tool-button:hover {
  background:#e3e7df;
  color:var(--ink)
}
.tool-button.active {
  background:#fffefa;
  color:var(--ink);
  box-shadow:0 1px 5px #20302b0a
}
.tool-button img {
  height:34px;
  width:34px;
  border-radius:8px
}
.tool-button span {
  font-size:13px;
  line-height:1.3;
  font-weight:600
}
.tool-button small {
  display:block;
  font-size:10px;
  color:#81867e;
  font-weight:400;
  margin-top:3px
}
.local-note {
  border-top:1px solid var(--line);
  padding:22px 12px 0;
  margin-top:24px;
  display:flex;
  gap:9px;
  align-items:start
}
.local-note p {
  font-size:11px;
  color:var(--quiet);
  line-height:1.7;
  margin:0
}
.status-dot {
  background:#28624b;
  width:6px;
  height:6px;
  border-radius:50%;
  margin-top:6px;
  flex:none
}
.tool-detail {
  padding:38px 40px 28px;
  min-width:0
}
.detail-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:20px
}
.detail-kicker {
  display:flex;
  align-items:center;
  gap:9px;
  font-family:'DM Mono',monospace;
  font-size:10px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--quiet)
}
.detail-kicker img {
  height:28px;
  width:28px
}
.package-version {
  font-family:'DM Mono',monospace;
  font-size:10px;
  padding:6px 8px;
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--quiet)
}
.tool-detail h2 {
  font-size:clamp(28px,3vw,40px);
  letter-spacing:-1.6px;
  font-weight:500;
  line-height:1.12;
  margin:0 0 15px
}
.detail-summary {
  font-size:15px;
  line-height:1.6;
  color:#5b665f;
  max-width:620px;
  margin:0
}
.actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin:25px 0 24px
}
.primary-button,.secondary-button {
  border-radius:6px;
  padding:11px 16px;
  font-size:12px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:10px;
  line-height:1.2
}
.primary-button {
  background:var(--accent);
  border:1px solid var(--accent);
  color:white
}
.secondary-button {
  background:transparent;
  border:1px solid #cdd4c9;
  color:var(--ink)
}
.runtime {
  border-top:1px solid var(--line);
  padding-top:15px;
  font-size:11px;
  color:var(--quiet);
  line-height:1.6;
  display:flex;
  gap:14px
}
.runtime strong {
  font-weight:500;
  white-space:nowrap;
  color:var(--ink)
}
.example {
  margin-top:26px;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden
}
.example-bar {
  background:#eff1eb;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 15px;
  font:10px 'DM Mono',monospace;
  color:var(--quiet);
  gap:10px
}
.example-bar span:last-child {
  font-size:9px
}
.example-content {
  padding:20px
}
.example-title {
  margin:0 0 8px;
  font-size:17px;
  font-weight:500;
  letter-spacing:-.3px
}
.example-note {
  font-size:12px;
  line-height:1.7;
  color:var(--quiet);
  margin:0 0 16px
}
.result-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}
.result-stat {
  background:#f3f4ee;
  border-radius:6px;
  padding:14px;
  min-width:0
}
.result-stat span {
  display:block;
  font-size:9px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:var(--quiet);
  margin-bottom:7px
}
.result-stat strong {
  display:block;
  font:22px 'DM Mono',monospace;
  letter-spacing:-1px;
  color:var(--accent);
  overflow-wrap:anywhere
}
.evidence-table {
  width:100%;
  border-collapse:collapse;
  font-size:11px;
  margin-top:15px
}
.evidence-table th {
  text-align:left;
  font-weight:500;
  color:var(--quiet);
  font-size:10px;
  padding:9px 8px;
  border-bottom:1px solid var(--line)
}
.evidence-table td {
  padding:10px 8px;
  border-bottom:1px solid #e9ece3
}
.evidence-table td:last-child,.evidence-table th:last-child {
  text-align:right
}
.example-placeholder {
  font-size:12px;
  line-height:1.6;
  color:var(--quiet);
  margin:0
}
.raw-evidence {
  margin-top:14px
}
.raw-evidence summary {
  font-size:11px;
  color:var(--quiet);
  cursor:pointer
}
.raw-evidence pre {
  overflow:auto;
  padding:14px;
  background:#25312d;
  color:#e3e9df;
  border-radius:6px;
  font:10px/1.6 'DM Mono',monospace;
  max-height:260px
}
.prompt-row {
  display:flex;
  gap:13px;
  align-items:center;
  justify-content:space-between;
  padding-top:19px
}
.prompt-row p {
  font-size:12px;
  line-height:1.6;
  margin:0;
  color:var(--quiet)
}
.prompt-row p strong {
  display:block;
  font:9px 'DM Mono',monospace;
  letter-spacing:1px;
  color:var(--ink);
  margin-bottom:6px
}
.prompt-row button {
  border:0;
  background:#eff1eb;
  color:var(--accent);
  padding:10px 13px;
  border-radius:5px;
  white-space:nowrap;
  font-size:11px
}
.principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  padding:44px 0 50px
}
.principles span {
  font:10px 'DM Mono',monospace;
  color:var(--quiet)
}
.principles h2 {
  font-size:15px;
  font-weight:500;
  letter-spacing:-.3px;
  margin:12px 0 8px
}
.principles p {
  font-size:12px;
  line-height:1.6;
  color:var(--quiet);
  margin:0;
  max-width:260px
}
footer {
  max-width:1440px;
  margin:auto;
  border-top:1px solid var(--line);
  padding:27px 6% 34px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:11px;
  color:var(--quiet)
}
footer div {
  display:flex;
  gap:24px
}
footer a:hover,.text-link:hover {
  text-decoration:underline
}
dialog {
  border:1px solid var(--line);
  border-radius:14px;
  padding:36px;
  background:#fffefa;
  color:var(--ink);
  max-width:640px;
  width:calc(100% - 32px);
  box-shadow:0 20px 100px #18392b30
}
dialog::backdrop {
  background:#1e302954;
  backdrop-filter:blur(3px)
}
dialog h2 {
  font-size:30px;
  letter-spacing:-1px;
  font-weight:500;
  margin:0 0 15px
}
dialog p {
  font-size:13px;
  color:var(--quiet);
  line-height:1.7
}
.dialog-close {
  position:absolute;
  right:16px;
  top:12px;
  border:0;
  background:none;
  font-size:26px;
  color:var(--quiet)
}
.command-block {
  display:flex;
  gap:10px;
  align-items:center;
  padding:14px;
  background:#26332e;
  border-radius:6px;
  margin:12px 0;
  color:#ebeee3
}
.command-block code {
  flex:1;
  font:11px/1.6 'DM Mono',monospace;
  overflow-wrap:anywhere
}
.command-block button {
  background:#ffffff18;
  border:1px solid #ffffff20;
  color:white;
  padding:6px 9px;
  border-radius:4px;
  font-size:10px
}
.install-note {
  font-size:11px!important
}
.text-link {
  font-size:12px;
  color:var(--accent)
}
.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translate(-50%,15px);
  background:var(--ink);
  color:white;
  padding:12px 18px;
  border-radius:7px;
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transition:.18s
}
.toast.visible {
  transform:translate(-50%,0);
  opacity:1
}
.loading {
  padding:50px 0;
  color:var(--quiet);
  font-size:14px
}
.document {
  max-width:820px;
  margin:50px auto 80px;
  padding:0 24px
}
.document h1 {
  font-size:42px;
  margin:25px 0
}
.document h2 {
  font-size:21px;
  font-weight:500;
  margin-top:32px
}
.document p,.document li {
  font-size:15px;
  line-height:1.8;
  color:#59655d
}
.document a {
  text-decoration:underline
}
.document code {
  font:12px 'DM Mono',monospace;
  background:#e6e9df;
  padding:3px 6px;
  border-radius:3px
}

@media(max-width:1000px) {
  main {
  padding:0 4%
}
.topbar,footer {
  padding-left:4%;
  padding-right:4%
}
.workbench {
  grid-template-columns:220px 1fr
}
.tool-detail {
  padding:30px 26px
}
.tool-button span {
  font-size:12px
}
.tool-button {
  gap:9px
}
.intro-note {
  font-size:13px
}
.result-stat strong {
  font-size:18px
}
.principles {
  gap:25px
}

}

@media(max-width:700px) {
  .topbar {
  height:72px
}
.wordmark {
  font-size:23px
}
.toplinks {
  gap:16px;
  font-size:11px
}
.toplinks>span {
  display:none
}
.intro {
  padding:34px 0 28px
}
.intro h1 {
  font-size:38px;
  letter-spacing:-1.8px
}
.intro-note {
  display:none
}
.eyebrow {
  font-size:9px;
  letter-spacing:.6px
}
.workbench {
  display:block;
  border-radius:10px
}
.toolnav {
  padding:13px 10px;
  border-right:0;
  border-bottom:1px solid var(--line)
}
.nav-label,.local-note {
  display:none
}
#tool-list {
  display:flex;
  overflow-x:auto;
  gap:7px;
  padding-bottom:2px;
  scrollbar-width:thin
}
.tool-button {
  width:auto;
  flex-shrink:0;
  margin:0;
  padding:8px 10px;
  gap:8px
}
.tool-button img {
  width:25px;
  height:25px;
  border-radius:6px
}
.tool-button span {
  font-size:11px;
  max-width:108px
}
.tool-button small {
  display:none
}
.tool-detail {
  padding:25px 18px
}
.detail-top {
  margin-bottom:15px
}
.tool-detail h2 {
  font-size:31px;
  letter-spacing:-1.1px
}
.detail-summary {
  font-size:13px
}
.actions {
  margin:20px 0
}
.runtime {
  display:block;
  font-size:10px
}
.runtime strong {
  display:block;
  margin-bottom:4px
}
.example {
  margin-top:20px
}
.example-content {
  padding:15px
}
.example-title {
  font-size:16px
}
.result-grid {
  gap:6px
}
.result-stat {
  padding:10px 8px
}
.result-stat span {
  font-size:8px
}
.result-stat strong {
  font-size:16px
}
.prompt-row p {
  font-size:11px
}
.prompt-row {
  gap:9px
}
.principles {
  grid-template-columns:1fr;
  gap:23px;
  padding:30px 0
}
.principles>div {
  display:grid;
  grid-template-columns:24px 1fr;
  column-gap:12px
}
.principles span {
  grid-row:span 2;
  padding-top:3px
}
.principles h2 {
  margin:0 0 6px
}
.principles p {
  max-width:100%
}
footer {
  display:block;
  font-size:10px
}
footer div {
  margin-top:18px;
  gap:17px;
  flex-wrap:wrap
}
dialog {
  padding:28px 20px
}
.example-bar {
  font-size:9px;
  padding:10px
}
.example-bar span:last-child {
  font-size:8px
}
.evidence-table {
  font-size:10px
}
.evidence-table td,.evidence-table th {
  padding:9px 4px
}

}

@media(prefers-reduced-motion:reduce) {
  * {
  transition:none!important
}

}


.sample-preview {
  display:block;
  width:100%;
  height:220px;
  object-fit:contain;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  margin:20px 0;
}
.sample-artifacts {
  display:flex;
  gap:12px 24px;
  flex-wrap:wrap;
  margin:18px 0;
  font-size:12px;
  color:var(--accent);
}
.sample-artifacts a {
  text-decoration:underline;
  text-underline-offset:3px;
}
.share-tool {
  display:block;
  margin:18px 0 0 auto;
  padding:0;
  border:0;
  background:transparent;
  color:var(--quiet);
  font-size:12px;
  text-decoration:underline;
  text-underline-offset:3px;
}
