:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --panel: #101519;
  --ink: #d4eadb;
  --muted: #99a5aa;
  --green: #75ff9b;
  --teal: #84d8d2;
  --amber: #e8bd7d;
  --line: #2a3739;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body {
  margin: 0; min-height: 100svh; padding: 48px 24px;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 18% 10%, #152323 0, transparent 50%), var(--bg);
  color: var(--ink); font: 13px/1.6 var(--mono); -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #7bd3ac06 3px 4px);
}
::selection { color: var(--bg); background: var(--green); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 12px 16px; color: var(--bg); background: var(--green); }
.shell {
  width: min(1080px, 100%); position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px;
  background: linear-gradient(125deg, #101519, #121b1d);
  box-shadow: 0 25px 90px #0008;
}
.titlebar { display: flex; align-items: center; gap: 18px; min-height: 48px; padding: 0 21px; background: #0c1013; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.titlebar h1 { font: 400 12px/1.6 var(--mono); color: var(--muted); margin: 0; }
.session { margin-left: auto; color: var(--teal); font-size: 11px; }
.content { padding: 39px 46px 0; }
.ascii {
  margin: 0 0 37px; white-space: pre; color: var(--green);
  font: 500 clamp(7px, 1.22vw, 13px)/1.2 var(--mono); letter-spacing: 0;
  text-shadow: 0 0 16px #75ff9b25;
}
.workspace { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 47px; }
.identity { padding-top: 3px; }
.tagline { margin: 0; font-size: 19px; line-height: 1.5; letter-spacing: -.5px; }
.tree-wrap { margin: 24px 0 21px; }
.tree { display: inline-block; color: var(--green); font-size: 10px; line-height: 1.12; text-shadow: 0 0 10px #75ff9b25; }
.tree-line { display: block; white-space: pre; }
.tree-line.trunk { color: var(--amber); }
.meta { margin: 0; font-size: 10px; }
.meta > div { display: flex; gap: 13px; margin-top: 5px; }
.meta dt { color: var(--teal); min-width: 6ch; }
.meta dd { margin: 0; color: var(--muted); }
.prompt { display: flex; gap: 10px; align-items: center; margin: 23px 0 0; color: var(--green); font-size: 11px; letter-spacing: 1px; }
.cursor { display: inline-block; width: 7px; height: 13px; background: var(--green); animation: blink 1s steps(1) 3; }
.command { margin: 0 0 20px; color: var(--ink); font-size: 13px; }
.host { color: var(--green); }
.path { color: var(--teal); }
.dollar { margin-right: 10px; }
.directory:focus { outline: none; }
.directory-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 11px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.directory-heading h2 { margin: 0; font: inherit; text-transform: uppercase; letter-spacing: 1.5px; }
.project-list { margin: 17px 0 0; padding: 0; list-style: none; }
.project-list > li { margin: 0 0 20px; }
.folder { color: var(--teal); font-size: 12px; }
.folder > span, .branch { color: var(--muted); white-space: pre; }
.entry { display: flex; align-items: baseline; }
.branch { flex: none; font-size: 12px; }
.entry-content { min-width: 0; flex: 1; }
.entry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 36px; }
.entry h3 { margin: 0; font: 500 14px/1.6 var(--mono); }
.entry h3 a { display: inline-flex; align-items: center; min-height: 44px; margin-top: -4px; margin-bottom: -4px; color: var(--ink); }
.entry h3 a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.arrow { color: var(--green); margin-left: 8px; }
.status { font-size: 10px; color: var(--muted); white-space: nowrap; }
.status.public { color: var(--green); }
.status.beta { color: var(--amber); }
.entry p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.entry .availability { color: var(--amber); margin-top: 4px; font-size: 10px; }
.directory-note { margin: 24px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.directory-note > span { color: var(--teal); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); margin-top: 31px; min-height: 63px; color: var(--muted); font-size: 10px; }
.separator { padding-inline: 8px; color: var(--line); }
.footer a { padding-block: 13px; }
.footer a:hover { color: var(--green); }
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@media (max-width: 900px) {
  body { padding: 26px 20px; }
  .content { padding: 30px 29px 0; }
  .workspace { grid-template-columns: 230px minmax(0, 1fr); gap: 26px; }
  .tree { font-size: 9px; }
  .ascii { font-size: clamp(6px, 1.2vw, 11px); margin-bottom: 30px; }
  .entry-heading { gap: 8px; }
}
@media (max-width: 680px) {
  body { display: block; padding: 0; background: var(--panel); }
  .shell { width: 100%; border: 0; border-radius: 0; min-height: 100svh; box-shadow: none; }
  .titlebar { padding-inline: 20px; padding-top: env(safe-area-inset-top); }
  .content { padding: 26px 22px 0; }
  .ascii { font-size: clamp(4.5px, 1.56vw, 10px); margin-bottom: 29px; }
  .workspace { display: block; }
  .identity { position: relative; min-height: 218px; padding-top: 0; }
  .tagline { font-size: 17px; }
  .tree-wrap { position: absolute; right: -6px; top: -5px; margin: 0; }
  .tree { font-size: clamp(7px, 1.9vw, 10px); }
  .meta { margin-top: 77px; font-size: 9px; }
  .meta > div { gap: 8px; }
  .prompt { margin-top: 18px; font-size: 10px; }
  .directory { margin-top: 24px; }
  .command { margin-bottom: 18px; }
  .entry-heading { min-height: 40px; }
  .entry h3 { font-size: 14px; }
  .project-list > li { margin-bottom: 24px; }
  .entry p { font-size: 11px; }
  .footer { margin-top: 27px; min-height: 74px; padding-bottom: env(safe-area-inset-bottom); font-size: 9px; }
  .separator { padding-inline: 3px; }
}
@media (max-width: 360px) {
  .content { padding-inline: 17px; }
  .tree { font-size: 6.5px; }
  .tree-wrap { top: 5px; right: -3px; }
  .tagline { font-size: 15px; }
  .status { font-size: 9px; }
  .entry h3 { font-size: 13px; }
  .entry-heading { gap: 4px; }
  .branch { font-size: 10px; }
  .footer { align-items: flex-start; padding-top: 15px; gap: 9px; }
  .footer > span { max-width: 175px; }
  .footer a { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .shell, .titlebar, .directory-heading, .footer { border-color: CanvasText; }
  .cursor { background: CanvasText; }
  .ascii, .tree { text-shadow: none; }
}
