/* The console's visual skin. Command output and embedded products keep their own
   structure; this layer gives the workspace depth, hierarchy and responsive controls. */
:root {
  --bg: #101214;
  --surface: #181b1e;
  --fg: #eeefed;
  --mid: #b0b4b6;
  --dim: #848b90;
  --line: #2b3034;
  --canvas: #0b0d0e;
  --panel: #131619;
  --raised: #1c2023;
  --edge: rgba(255, 255, 255, .075);
  --edge-light: rgba(255, 255, 255, .13);
  --shadow: 0 36px 100px #00000082, 0 8px 26px #0000004a;
  --accent: #93d7ae;
  --accent-ink: #b6e7ca;
  --proj-ink: color-mix(in oklab, var(--proj) 68%, #fff);

  /* One physical model for everything you can press: a cap with a lit top edge, a side
     wall visible under it, and a pixel of real travel. */
  --key-top: #23282c;
  --key-bot: #171b1e;
  --key-wall: #08090b;
  --key-lip: rgba(255, 255, 255, .085);
  --key-ink: #c9cdcf;
  /* The brushed deck the title bar and the command dock are cut from, and the recessed
     well the command line sits in. */
  --deck: linear-gradient(180deg, #1c2125, #14181b);
  --well: linear-gradient(180deg, #090b0d, #0f1215);
  --scan: rgba(255, 255, 255, .014);
}
[data-theme="light"] {
  --bg: #f7f8f5;
  --surface: #f0f2ef;
  --fg: #242c29;
  --mid: #515e57;
  --dim: #69756d;
  --line: #d8dfd8;
  --canvas: #e3e8e2;
  --panel: #eef1ec;
  --raised: #fff;
  --edge: rgba(26, 47, 30, .11);
  --edge-light: rgba(26, 47, 30, .18);
  --shadow: 0 30px 80px #263d2b14, 0 6px 18px #263d2b0d;
  --accent: #4f7a5f;
  --accent-ink: #2f5a3e;
  --proj-ink: color-mix(in oklab, var(--proj) 60%, #182b20);
  --key-top: #ffffff;
  --key-bot: #e9ede7;
  --key-wall: #c4ccc4;
  --key-lip: rgba(255, 255, 255, .9);
  --key-ink: #3a4741;
  --deck: linear-gradient(180deg, #f6f8f4, #e8ebe5);
  --well: linear-gradient(180deg, #e4e9e3, #f1f3ee);
  --scan: rgba(38, 61, 43, .017);
}
html.js { height: 100%; }
.js body {
  height: 100%;
  overflow: hidden;
  background-color: var(--canvas);
  background-image: radial-gradient(ellipse at 50% 0, #74837a12, transparent 65%),
    radial-gradient(var(--edge) .6px, transparent .6px);
  background-size: auto, 8px 8px;
}
.desktop-header, .desktop-footer { display: none; }
.js .desktop-header, .js .desktop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1480px, calc(100% - 80px));
  margin-inline: auto;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: .03em;
}
.js .desktop-header { height: 56px; }
.desktop-brand { display: flex; gap: 12px; align-items: center; color: var(--mid); letter-spacing: .13em; }
.brand-mark { font-size: 25px; color: var(--fg); font-weight: 600; letter-spacing: -.12em; margin-right: 6px; line-height: 1; }
.brand-mark > span { color: var(--accent); }


.availability { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .015em; }
.availability i { display: inline-block; height: 5px; width: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px #a0c5ac30; }
.js .desktop-footer { height: 40px; font-size: 9px; letter-spacing: .015em; }
.desktop-footer > span { display: flex; align-items: center; gap: 8px; }
kbd { font-family: inherit; font-size: 9px; line-height: 1.5; padding: 1px 5px; margin-left: 8px; border: 1px solid var(--edge-light); border-radius: 4px; color: var(--mid); box-shadow: 0 1px 0 var(--edge); }
.js .shell {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  width: min(1480px, calc(100% - 80px));
  height: calc(100dvh - 96px);
  margin-inline: auto;
  border: 1px solid var(--edge-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 1px 0 var(--key-lip) inset,
    0 0 90px -40px color-mix(in oklab, var(--accent) 45%, transparent);
  background: var(--bg);
  isolation: isolate;
}
.bar {
  min-width: 0;
  min-height: 54px;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 0 21px;
  font-size: 10px;
  text-transform: none;
  letter-spacing: .025em;
  background: var(--deck);
  border-bottom: 1px solid var(--edge);
  box-shadow: 0 1px 0 var(--key-lip) inset, 0 1px 0 #00000059;
}
.bar .id { display: inline-flex; align-items: center; gap: 0; font-size: 12px; letter-spacing: -.02em; }
.bar .id::before { content: none; }
.bar-host { color: var(--dim); }
/* The one lit thing in the bar: a power indicator shaped like a prompt. */
.terminal-mark {
  width: 27px; height: 25px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 12px;
  border: 1px solid color-mix(in oklab, var(--accent) 26%, var(--edge-light));
  border-radius: 6px;
  font-size: 14px;
  color: var(--accent-ink);
  background: var(--well);
  text-shadow: 0 0 12px color-mix(in oklab, var(--accent) 55%, transparent);
  box-shadow: 0 1px 0 var(--key-lip), inset 0 1px 3px -1px #0000008c,
    inset 0 0 14px -6px color-mix(in oklab, var(--accent) 70%, transparent);
}
.bar b { color: var(--mid); margin-left: 5px; }

.bar .k { gap: 8px; height: 30px; padding: 0 11px; font-size: 10px; }
.bar .k::before, .bar .k::after { content: none; }

.mid { display: grid; grid-template-columns: 218px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); min-width: 0; }
.rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 23px 12px 16px;
  background: var(--panel);
  border-right: 1px solid var(--edge);
  border-bottom: 0;
  overflow: hidden auto;
}
.rail-home { margin-bottom: 22px; }
.rail h2 { color: var(--dim); font-weight: 400; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }

.overview {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  background: linear-gradient(180deg, var(--key-top), var(--key-bot));
  border: 1px solid var(--edge);
  border-radius: 8px;
  color: var(--fg);
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 0 var(--key-lip) inset, 0 2px 0 var(--key-wall), 0 5px 12px -6px #00000073;
  transition: transform .13s var(--ease), box-shadow .13s var(--ease), border-color .18s var(--ease);
}
.overview:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--key-lip) inset, 0 1px 0 var(--key-wall), 0 2px 5px -3px #00000073; }
.overview > span:first-child { color: var(--accent); font-size: 16px; line-height: 1; }

.overview:hover { border-color: color-mix(in oklab, var(--accent) 30%, var(--edge-light)); transform: translateY(-1px); box-shadow: 0 1px 0 var(--key-lip) inset, 0 3px 0 var(--key-wall), 0 9px 18px -8px #0000008c; }
.rail h2 { display: flex; justify-content: space-between; margin: 0 12px 8px; line-height: 1.5; }
.rail h2 span { color: var(--dim); font-size: 9px; letter-spacing: 0; }
.rail-item {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 3px 8px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 12px 11px;
  text-align: left;
  color: var(--mid);
  font-size: 11px;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.rail-item .nm::before, .rail-item .nm::after { content: none; }
.rail-item .n { display: block; grid-row: 1 / 3; color: var(--dim); font-size: 10px; }
.rail-item .dot { width: 5px; height: 5px; background: color-mix(in oklab, var(--c), var(--fg) 15%); box-shadow: 0 0 8px color-mix(in oklab, var(--c) 18%, transparent); }
.rail-item .stack { display: block; grid-column: 2 / 4; overflow: hidden; text-overflow: ellipsis; font-size: 9px; letter-spacing: -.025em; color: var(--dim); text-transform: none; white-space: nowrap; }
.rail-item:hover { background: var(--raised); border-color: var(--edge); color: var(--fg); }
.rail-item[aria-current="true"] {
  color: var(--fg);
  background: linear-gradient(100deg, color-mix(in oklab, var(--c) 13%, var(--surface)), color-mix(in oklab, var(--c) 4%, var(--surface)));
  border-color: color-mix(in oklab, var(--c) 26%, var(--line));
  box-shadow: inset 2px 0 0 var(--c), 0 6px 16px -12px color-mix(in oklab, var(--c) 70%, transparent);
}
.rail-item[aria-current="true"]::before, .rail-item[aria-current="true"]::after { display: none; }
.rail .foot { display: block; margin-top: auto; padding: 22px 10px 2px; font-size: 10px; }
.rail-links { display: grid; gap: 10px; padding-bottom: 19px; }
.rail .foot a { color: var(--dim); border: 0; }
.rail .foot a span { margin-right: 6px; }
.rail .foot a:hover { color: var(--fg); }
.rail-contact { border-top: 1px solid var(--edge); padding-top: 19px; }

.rail-contact button { display: flex; justify-content: space-between; width: 100%; padding: 8px 0 12px; border: 0; background: none; color: var(--fg); font: inherit; font-size: 12px; cursor: pointer; }

.rail-contact button:hover { color: var(--accent-ink); }
.rail-location { display: flex; justify-content: space-between; font-size: 9px; color: var(--dim); }
.rail-location > span { font-size: 9px; }
.workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 40px minmax(0, 1fr) auto;
  min-height: 0; min-width: 0;
  background:
    radial-gradient(120% 70% at 82% -10%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 62%),
    radial-gradient(90% 50% at 10% -5%, var(--edge), transparent 60%),
    var(--bg);
}
/* The tell that this is a screen and not a page. Barely above the noise floor: it should
   read as texture on the surface, never as stripes across the text. */
.workspace::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, var(--scan) 0 1px, transparent 1px 3px);
}
.workspace-bar { display: flex; align-items: center; background: var(--panel); border-bottom: 1px solid var(--edge); color: var(--dim); font-size: 10px; gap: 16px; padding-right: 22px; }
.workspace-tab {
  position: relative;
  display: flex; align-items: center; align-self: stretch;
  gap: 9px;
  padding: 0 22px;
  border-right: 1px solid var(--edge);
  color: var(--fg);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 6%, var(--bg)), var(--bg));
  box-shadow: inset 0 14px 22px -20px color-mix(in oklab, var(--accent) 85%, transparent);
}
.workspace-tab::before { content: ''; height: 1px; position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.workspace-tab > span:first-child { color: var(--accent); font-size: 14px; }


.workspace-help { margin-left: auto; padding: 6px 0 6px 10px; background: none; border: 0; font: inherit; color: var(--dim); cursor: pointer; }
.workspace-help:hover { color: var(--fg); }

.log { min-width: 0; padding: 22px clamp(24px, 3vw, 48px) 30px; overscroll-behavior: contain; scroll-padding-top: 22px; }
.log > * { max-width: 1100px; margin-inline: auto; }
.log > .block:has(> .dimline) { border: 0; background: none; box-shadow: none; padding: 0; margin-bottom: 20px; }
.log .dimline { font-size: 10px; color: var(--dim); letter-spacing: .035em; }
.log > .intro-block { padding: 0; border: 0; box-shadow: none; background: none; }
.intro { gap: 0; max-width: none; }
.intro-top { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 14px; padding: 0 0 29px; }
.intro-copy { position: relative; z-index: 1; }
.intro .intro-path { margin: 0 0 16px; font-size: 10px; color: var(--mid); }
.intro-path > span:first-child { color: var(--accent); margin-right: 7px; }

.intro .name { font-size: clamp(38px, 4.1vw, 62px); line-height: 1.05; letter-spacing: -.075em; font-weight: 500; max-width: 7.6ch; margin: 0 0 16px; color: var(--fg); }
.intro .name .decode { overflow-wrap: normal; }
.name-period { color: var(--accent); }
.intro .who { max-width: 58ch; font-size: 10px; letter-spacing: 0; color: var(--dim); line-height: 1.8; margin-bottom: 14px; }
.intro .about { max-width: 60ch; color: var(--mid); font-size: 13px; line-height: 1.85; }
.intro .about .ex .s { color: var(--mid); }

.intro .did-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; font-size: 9px; letter-spacing: .14em; color: var(--mid); }
.did-head > span { font-size: 9px; text-transform: none; font-weight: 400; letter-spacing: .025em; color: var(--dim); }
.intro .did { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.intro .did li {
  position: relative;
  min-width: 0;
  padding: 13px 15px 14px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: linear-gradient(150deg, var(--surface), color-mix(in oklab, var(--surface) 34%, var(--bg)));
  box-shadow: 0 1px 0 var(--key-lip) inset, 0 16px 30px -24px #000000cc, 0 2px 4px -2px #00000047;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.intro .did li::before { content: none; }
/* A filament along the top edge in the project's own colour, lit only on approach. */
.intro .did li::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; top: -1px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--c) 75%, transparent), transparent);
  transition: opacity .22s var(--ease);
}
.intro .did li:hover::after { opacity: 1; }
.intro .did li:hover {
  border-color: color-mix(in oklab, var(--c) 32%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 1px 0 var(--key-lip) inset, 0 22px 36px -26px #000000d9,
    0 16px 34px -22px color-mix(in oklab, var(--c) 55%, transparent);
}
.did-title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }

.did-title > button { display: flex; align-items: center; gap: 9px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--fg); padding: 0; cursor: pointer; }


.did-title > i { margin-left: auto; background: color-mix(in oklab, var(--c), var(--fg) 12%); height: 5px; width: 5px; border-radius: 50%; box-shadow: 0 0 9px color-mix(in oklab, var(--c) 14%, transparent); }
.did-description { font-size: 12px; line-height: 1.75; color: var(--mid); }
.intro .did li b { color: var(--mid); font-weight: 400; }
.intro .intro-note { margin-top: 12px; font-size: 10px; color: var(--dim); }
.intro-note > span { margin-right: 6px; color: var(--accent); }
.intro-note b { color: var(--mid); font-weight: 400; }
/* ── keycaps ──────────────────────────────────────────────
   Every control in the console is the same object seen at different sizes: a cap with a
   lit top lip, a side wall under it, and one pixel of travel when it goes down. */
.bar .k,
.dock .chip,
.intro .cta .k,
.card .links .k,
.prompt-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  color: var(--key-ink);
  cursor: pointer;
  border: 1px solid var(--edge-light);
  border-radius: 7px;
  background: linear-gradient(180deg, var(--key-top), var(--key-bot));
  box-shadow: 0 1px 0 var(--key-lip) inset,
    0 2px 0 var(--key-wall),
    0 5px 12px -5px #0000008c;
  transition: transform .13s var(--ease), box-shadow .13s var(--ease),
    border-color .18s var(--ease), color .18s var(--ease);
}
.bar .k::before, .bar .k::after,
.dock .chip::before, .dock .chip::after,
.intro .cta .k::before, .intro .cta .k::after,
.card .links .k::before, .card .links .k::after { content: none; }

.bar .k:hover,
.dock .chip:hover, .dock .chip:focus-visible,
.intro .cta .k:hover,
.card .links .k:hover,
.prompt-enter:hover {
  color: var(--fg);
  border-color: color-mix(in oklab, var(--accent) 32%, var(--edge-light));
  transform: translateY(-1px);
  box-shadow: 0 1px 0 var(--key-lip) inset,
    0 3px 0 var(--key-wall),
    0 9px 18px -7px #00000099;
}
.bar .k:active,
.dock .chip:active,
.intro .cta .k:active,
.card .links .k:active,
.prompt-enter:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--key-lip) inset,
    0 1px 0 var(--key-wall),
    0 2px 5px -3px #00000099;
}

.shell .k { transition: color .15s, background .15s, border-color .15s; }
.shell .more { color: var(--dim); font-size: 10px; padding-inline: 2px; }
.shell .more::before, .shell .more::after { color: var(--dim); opacity: .55; }
/* Three keys of equal weight. Each one carries the command it runs and, under it, the
   reason to press it, so the label never floats away from its button. */
.intro .cta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  max-width: 660px;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid var(--edge);
}
.intro .cta .k {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 12px 14px 13px;
  border-radius: 9px;
  text-align: left;
}
.cta-cmd { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--fg); letter-spacing: -.01em; }
.cta-cmd > i { font-style: normal; font-size: 11px; color: var(--accent); }
.cta-note { font-size: 10px; line-height: 1.5; color: var(--dim); }
.intro .cta .cta-go {
  border-color: color-mix(in oklab, var(--accent) 42%, transparent);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--accent) 26%, var(--key-top)),
    color-mix(in oklab, var(--accent) 13%, var(--key-bot)));
  box-shadow: 0 1px 0 var(--key-lip) inset,
    0 2px 0 color-mix(in oklab, var(--accent) 20%, var(--key-wall)),
    0 5px 12px -5px #0000008c,
    0 8px 24px -10px color-mix(in oklab, var(--accent) 65%, transparent);
}
.cta-go .cta-cmd { color: var(--accent-ink); }
.cta-go .cta-cmd > i { color: var(--accent-ink); }
.cta-go .cta-note { color: color-mix(in oklab, var(--accent) 45%, var(--dim)); }
.intro .cta .cta-go:hover {
  border-color: color-mix(in oklab, var(--accent) 62%, transparent);
  box-shadow: 0 1px 0 var(--key-lip) inset,
    0 3px 0 color-mix(in oklab, var(--accent) 20%, var(--key-wall)),
    0 9px 18px -7px #00000099,
    0 12px 30px -10px color-mix(in oklab, var(--accent) 70%, transparent);
}
/* The command line is the one thing on the page you type into, so it is cut into the
   deck rather than laid on top of it: a lit rail down the left edge, a recessed well,
   and the return key sitting proud beside it. */
.prompt-area {
  padding: 12px clamp(24px, 3vw, 48px) 13px;
  background: var(--deck);
  border-top: 1px solid var(--edge);
  box-shadow: 0 1px 0 var(--key-lip) inset;
}
.prompt {
  padding: 0 9px 0 0;
  gap: 0;
  min-height: 46px;
  border: 1px solid var(--edge-light);
  border-radius: 10px;
  background: var(--well);
  box-shadow: inset 0 2px 6px -3px #000000a6,
    inset 3px 0 0 color-mix(in oklab, var(--accent) 45%, transparent);
  font-size: 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.prompt:focus-within {
  border-color: color-mix(in oklab, var(--accent) 46%, var(--edge-light));
  box-shadow: inset 0 2px 6px -3px #000000a6,
    inset 3px 0 0 var(--accent),
    0 0 0 2px color-mix(in oklab, var(--accent) 9%, transparent),
    0 0 16px -8px color-mix(in oklab, var(--accent) 60%, transparent);
}
.prompt .ps {
  padding: 0 12px 0 17px;
  font-size: 15px;
  color: var(--accent);
  text-shadow: 0 0 14px color-mix(in oklab, var(--accent) 50%, transparent);
}
.prompt .field { align-self: stretch; align-items: center; }
.prompt input, .prompt .suggest { padding: 0; font-size: 14px; letter-spacing: -.01em; }
/* A block caret is the terminal's own; browsers without it fall back to the bar. Kept
   translucent so it reads as a cursor sitting on the hint, not as a missing letter. */
.prompt input { caret-color: color-mix(in oklab, var(--accent) 62%, transparent); caret-shape: block; }
.prompt input::placeholder { color: var(--dim); }
.prompt-enter {
  gap: 8px;
  height: 30px;
  padding: 0 11px;
  border-radius: 6px;
  line-height: 1;
}
.pe-key { font-size: 14px; color: var(--accent); }

.prompt:focus-within .prompt-enter {
  border-color: color-mix(in oklab, var(--accent) 34%, var(--edge-light));
}

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.dock { min-width: 0; padding: 10px 20px 11px; align-items: center; gap: 16px; background: var(--deck); border-top: 1px solid var(--edge); box-shadow: 0 1px 0 var(--key-lip) inset; backdrop-filter: none; }

.dock .chips { gap: 6px; align-items: center; overflow-x: auto; flex-wrap: nowrap; padding: 3px 0 4px; }
.dock .chip { padding: 0 11px; height: 29px; min-height: 0; font-size: 11px; letter-spacing: -.01em; opacity: 1; border-radius: 6px; }
.shell button:focus-visible, .shell a:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; text-decoration: none; }
.echo { margin-top: 26px; margin-bottom: 12px; gap: 10px; font-size: 12px; }
.echo .ps { color: var(--dim); }
.block {
  background: linear-gradient(160deg, var(--surface), color-mix(in oklab, var(--surface) 55%, var(--bg)));
  border: 1px solid var(--edge);
  border-left: 2px solid var(--proj-ink);
  border-radius: 9px;
  padding: 22px;
  margin-bottom: 12px;
  box-shadow: 0 1px 0 var(--key-lip) inset, 0 18px 32px -26px #000000cc, 0 2px 5px -3px #0000003d;
  font-size: 12px;
}
.js .block, .js .echo { animation-duration: .22s; }
.card { padding: 0; gap: 26px; }
.card .claim { font-size: clamp(23px, 2.4vw, 34px); line-height: 1.2; color: var(--fg); letter-spacing: -.05em; font-weight: 500; margin-top: 16px; margin-bottom: 18px; }
.card .meta { font-size: 9px; gap: 7px 14px; line-height: 1.75; }
.card .meta > span:first-child { color: var(--proj-ink); }
.card .meta > .decode { color: var(--fg); }
.card p { font-size: 13px; line-height: 1.85; }
.card .nums { margin: 22px 0; gap: 0; padding: 15px 0; border-block: 1px solid var(--edge); }
.card .nums > div { gap: 5px; flex: 1; padding-left: 15px; border-left: 1px solid var(--edge); }
.card .nums > div:first-child { border: 0; padding-left: 0; }
.card .nums b { font-size: 23px; font-weight: 500; letter-spacing: -.04em; color: var(--fg); }
.card .nums span { font-size: 9px; }
.card .links { gap: 7px; }
.card .links .k { height: 31px; padding: 0 13px; font-size: 10px; letter-spacing: .02em; border-radius: 6px; }
.card .links .k::before, .card .links .k::after { content: none; }
.card .links .k:hover { border-color: color-mix(in oklab, var(--proj-ink) 55%, var(--edge-light)); color: var(--fg); }
.card .links button[data-run] {
  color: var(--proj-ink);
  border-color: color-mix(in oklab, var(--proj-ink) 38%, transparent);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--proj) 20%, var(--key-top)),
    color-mix(in oklab, var(--proj) 10%, var(--key-bot)));
  box-shadow: 0 1px 0 var(--key-lip) inset,
    0 2px 0 color-mix(in oklab, var(--proj) 18%, var(--key-wall)),
    0 5px 12px -5px #0000008c,
    0 8px 22px -12px color-mix(in oklab, var(--proj) 60%, transparent);
}
.card .pin { padding-top: 6px; }
.card .stage-phone { border: 5px solid var(--raised); border-radius: 23px; outline: 1px solid var(--edge-light); box-shadow: 0 14px 26px #0003, 0 2px 3px #0002; }
.card .chatsim, .card .device { border-radius: 9px; box-shadow: 0 12px 22px #0002; }
.stackgraph { background: var(--panel); border: 1px solid var(--edge); border-radius: 9px; padding: 16px 10px; margin-top: 22px; }
.langwrap { margin-top: 25px; }
.langs .track { border-radius: 8px; height: 5px; }
.langs .legend { font-size: 9px; gap: 5px 12px; }
.langs .legend i { height: 5px; width: 5px; border-radius: 50%; }
.shotstrip { gap: 7px; margin-top: 14px; }
.shotstrip img { border-radius: 6px; }
.table-wrap { overflow-x: auto; }
.tbl { font-size: 11px; }
.tbl th { font-size: 9px; padding-bottom: 14px; letter-spacing: .1em; }
.tbl td { padding-top: 18px; padding-bottom: 18px; border-color: var(--edge); }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }
.tbl td.stack { font-size: 10px; line-height: 1.8; }
.tbl .name { white-space: nowrap; }
.tbl .name .k { font-size: 11px; border: 0; }
.tbl .name .k::before, .tbl .name .k::after { content: none; }
.tbl .dot { width: 5px; height: 5px; margin-right: 7px; }
.tbl .project-status { display: block; font-size: 10px; line-height: 1.8; }
.tbl td .k { font-size: 10px; }
.kv { gap: 18px; font-size: 12px; }
.kv dt { font-size: 9px; }
.kv dd { overflow-wrap: anywhere; }
.help { gap: 13px 24px; font-size: 11px; }
.help code { color: var(--proj-ink); font: inherit; }
.prose { max-width: 70ch; font-size: 12px; line-height: 1.85; }
.prose h2 { font-size: 22px; letter-spacing: -.05em; }
.prose h2:first-child { margin-top: 0; font-size: 30px; }
.prose pre { font-size: 10px; }
.runner { font-size: 11px; }
.runner .rline { padding-block: 6px; }
.runner .rhead { padding-bottom: 15px; }
/* On paper a tinted cap is too polite to be the main action, so there the primary
   command is a solid one. */
[data-theme="light"] .intro .cta .cta-go {
  background: linear-gradient(180deg, #5d8c6e, #4b7a5d);
  border-color: #3d684d;
  box-shadow: 0 1px 0 #ffffff2e inset, 0 2px 0 #3a6249, 0 6px 14px -6px #2d4a3859;
}
[data-theme="light"] .cta-go .cta-cmd,
[data-theme="light"] .cta-go .cta-cmd > i { color: #fff; }
[data-theme="light"] .cta-go .cta-note { color: #d3e5d9; }
[data-theme="light"] .intro .cta .cta-go:hover {
  border-color: #345b43;
  box-shadow: 0 1px 0 #ffffff2e inset, 0 3px 0 #3a6249, 0 10px 20px -8px #2d4a3866;
}

@media (min-width: 1200px) {
  .card.with-stage { grid-template-columns: minmax(0, 1fr) minmax(240px, 29%); }
  .card.with-stage.dev-wide { grid-template-columns: minmax(0, 1fr) 0rem; }
}
@media (min-width: 1600px) {
  .log { padding-top: 32px; }
  .intro-top { padding-block: 8px 40px; }
  .intro .about { font-size: 13px; }
  .intro .who { font-size: 10px; }
  .intro .did li { padding: 17px 18px; }
  .did-description { font-size: 12px; }
}
@media (max-width: 1199px) {
  .js .shell, .js .desktop-header, .js .desktop-footer { width: calc(100% - 40px); }
  .mid { grid-template-columns: 185px minmax(0, 1fr); }
  .rail-item { padding-inline: 8px; gap: 3px 4px; }

  .intro-top { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .bar { gap: 18px; }

  .card.with-stage { grid-template-columns: minmax(0, 1fr); }
  .card .pin { width: min(100%, 340px); position: static; }
  .card.dev-wide .pin { width: 100%; }
}
@media (max-width: 900px) {
  .js .desktop-header { height: 50px; }
  .js .shell { height: calc(100dvh - 86px); }
  .js .desktop-footer { height: 36px; }


  .mid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .rail { flex-direction: row; padding: 9px 16px; gap: 6px; border-right: 0; border-bottom: 1px solid var(--edge); overflow-x: auto; }
  .rail-home, .rail h2, .rail .foot { display: none; }
  .rail-item { display: flex; width: auto; padding: 9px 12px; gap: 8px; font-size: 10px; background: var(--surface); border-color: var(--edge); }
  .rail-item .n { font-size: 8px; }
  .rail-item .stack { display: none; }
  .rail-item .dot { width: 4px; height: 4px; margin-left: 5px; }
  .workspace { grid-template-rows: 38px minmax(0, 1fr) auto; }
  .workspace-bar { font-size: 9px; }



  .bar { min-height: 49px; }
  .intro-top { grid-template-columns: minmax(0, 1fr); }
  .intro .name { font-size: 49px; }

  .intro .about { font-size: 13px; }
  .did-description { font-size: 12px; }
  .log { padding-inline: 26px; }
  .prompt-area { padding-inline: 26px; }
}
@media (max-width: 600px) {
  .js .desktop-header { height: 46px; width: calc(100% - 28px); }
  .desktop-brand { font-size: 8px; gap: 6px; letter-spacing: .08em; }

  .brand-mark { font-size: 22px; margin-right: 4px; }
  .desktop-header .availability { font-size: 8px; gap: 5px; }
  .js .shell { width: calc(100% - 16px); height: calc(100dvh - 54px - env(safe-area-inset-bottom, 0px)); border-radius: 11px; }
  .js .desktop-footer { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bar { min-height: 46px; padding: 0 12px; gap: 12px; }
  .bar .id { font-size: 9px; }
  .terminal-mark { margin-right: 7px; width: 23px; height: 22px; font-size: 13px; }

  .bar .k { margin-left: auto; padding: 7px; min-width: 32px; min-height: 32px; }
  .bar .k > span { display: none; }
  .rail { padding: 8px 10px; gap: 5px; }
  .rail-item { padding: 10px 9px; font-size: 9px; gap: 6px; min-height: 38px; }
  .rail-item .n { font-size: 8px; }
  .rail-item .dot { display: none; }
  .workspace { grid-template-rows: 35px minmax(0, 1fr) auto; }
  .workspace-tab { padding-inline: 15px; gap: 7px; }
  .workspace-bar { gap: 12px; padding-right: 13px; }


  .log { padding: 20px 17px 26px; }
  .log > .block:has(> .dimline) { margin-bottom: 20px; }
  .log .dimline { font-size: 8px; letter-spacing: -.035em; }
  .intro-top { position: relative; grid-template-columns: minmax(0, 1fr); padding-bottom: 26px; }
  .intro .intro-path { font-size: 9px; margin-bottom: 19px; }

  .intro .name { font-size: 43px; margin-bottom: 16px; }


  .intro .who { max-width: 44ch; font-size: 9px; margin-bottom: 12px; line-height: 1.9; }
  .intro .about { font-size: 12px; line-height: 1.85; }
  .intro .did { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .intro .did li { padding: 14px; }
  .did-title { margin-bottom: 6px; }
  .did-title > button { font-size: 12px; min-height: 24px; }
  .did-description { font-size: 12px; line-height: 1.8; }
  .shell .more { font-size: 10px; padding: 4px 2px; }
  .intro .intro-note { font-size: 10px; line-height: 1.8; margin-top: 14px; }
  .intro .cta { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 20px; padding-top: 18px; }
  .intro .cta .k { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding: 0 14px; min-height: 46px; }
  .cta-note { text-align: right; }
  .prompt-area { padding: 9px 11px 10px; }
  .prompt { padding: 0 7px 0 0; gap: 0; min-height: 44px; }
  .prompt .ps { padding: 0 9px 0 13px; font-size: 13px; }
  .prompt input, .prompt .suggest { font-size: 16px; letter-spacing: -.04em; }
  .prompt input::placeholder { font-size: 12px; letter-spacing: 0; }
  .prompt-enter { height: 32px; padding: 0 9px; gap: 0; }

  .dock { padding: 8px 10px; }
  .dock .chips { gap: 5px; }
  .dock .chip { font-size: 11px; padding: 0 12px; height: 34px; }
  .block { padding: 17px 14px; font-size: 12px; }
  .echo { font-size: 11px; }
  .card { gap: 25px; }
  .card .claim { font-size: 27px; }
  .card p { font-size: 12px; line-height: 1.85; }
  .card .meta { font-size: 8px; }
  .card .nums b { font-size: 22px; }
  .card .nums div { padding-left: 10px; }
  .card .nums span { font-size: 7px; }
  .card .links .k { height: 38px; font-size: 10px; }
  .card .stage-phone { border-radius: 22px; }
  .table-wrap { margin-inline: -3px; }
  .tbl { min-width: 490px; }
  .tbl td { padding-right: 18px; }
  .help { gap: 4px; font-size: 12px; }
  .help span { margin-bottom: 12px; }
  .kv { grid-template-columns: 1fr; gap: 4px; margin: 0; font-size: 12px; }
  .kv dd { margin-bottom: 15px; }
  .kv dd:last-child { margin-bottom: 0; }
  .runner { font-size: 10px; }
  .runner .rline { gap: 7px; }
  .prose pre { margin-inline: -5px; padding: 12px; font-size: 9px; }
}
@media (max-width: 370px) {
  .desktop-header .availability { font-size: 7px; }
  .bar-host { display: none; }
  .intro .name { font-size: 38px; }

  .rail-item { font-size: 8px; padding-inline: 8px; gap: 5px; }
  .rail-item .n { display: none; }

}
@media (prefers-reduced-motion: reduce) {
  .shell *, .shell *::before, .shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .intro .did li:hover { transform: none; }
}

#command-hint { margin-left: auto; }
.did-title > button:hover { color: var(--proj-ink); }

.prompt-area { position: relative; }
.completion-choices { position: absolute; bottom: calc(100% + 4px); left: 12px; right: 12px; z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding: 8px; background: var(--deck); border: 1px solid var(--edge-light); border-radius: 10px; box-shadow: 0 6px 20px #0005; }
.completion-choices[hidden] { display: none; }
.completion-choices button { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; color: var(--fg); background: var(--well); border: 1px solid var(--line); border-radius: 6px; font: inherit; cursor: pointer; }
.completion-choices button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
