/* biome-ignore-all lint/style/noDescendingSpecificity: selectors are scoped to independent page components. */
/* biome-ignore-all lint/complexity/noImportantStyles: reduced motion must override every component's animation. */
:root {
  --bg: #12150e;
  --bg-2: #171b12;
  --panel: #1b2015;
  --panel-2: #222919;
  --line: #2f3826;
  --line-2: #3d4831;
  --text: #eef1e4;
  --muted: #9ba48e;
  --faint: #6b7560;
  --lime: #d1ec8c;
  --lime-2: #b5dc56;
  --coral: #ff7f61;
  --sky: #8fd3ff;
  --gold: #f4d06f;
  --violet: #c7a6ff;
  --paper: #f3f2ea;
  --ink: #1a1e15;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  color-scheme: dark;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgb(209 236 140 / 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgb(143 211 255 / 0.05), transparent 60%), var(--bg);
  overflow-x: hidden;
}
[hidden][hidden] {
  display: none;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  color: var(--ink);
  background: var(--lime);
}
code {
  font-family: var(--mono);
  font-size: 0.92em;
}
p code,
li code,
span code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgb(209 236 140 / 0.1);
  color: var(--lime);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}
.hl {
  color: var(--lime);
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--round);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.top nav a:hover {
  color: var(--text);
  background: var(--panel);
}
.top nav .nav-gh {
  color: var(--text);
  border: 1px solid var(--line-2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s,
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    opacity 0.2s;
}
.btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}
.btn.primary {
  background: var(--lime);
  color: var(--ink);
}
.btn.primary:hover:not(:disabled) {
  background: #e1f6ae;
}
.btn.ghost {
  border-color: var(--line-2);
  background: transparent;
}
.btn.ghost:hover:not(:disabled) {
  border-color: var(--lime);
  color: var(--lime);
}
.btn.small {
  padding: 9px 16px;
  font-size: 0.92rem;
}
.btn:disabled {
  opacity: 0.4;
}
.btn.chip {
  padding: 8px 14px;
  border-color: var(--line-2);
  background: var(--panel-2);
  font-size: 0.88rem;
  font-weight: 600;
}
.btn.chip:hover:not(:disabled) {
  border-color: var(--muted);
}
.btn.chip[aria-pressed="true"] {
  border-color: var(--coral);
  background: rgb(255 127 97 / 0.14);
  color: var(--coral);
}
.btn.chip b {
  min-width: 1.5em;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--line);
  font-variant-numeric: tabular-nums;
}
.link-btn {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
}
.link-btn:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* Hero */
.hero {
  padding: 56px 0 32px;
  text-align: center;
}
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tagline .sep {
  color: var(--faint);
}
.blip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgb(209 236 140 / 0.6);
  animation: blip 2s infinite;
}
@keyframes blip {
  70% {
    box-shadow: 0 0 0 10px rgb(209 236 140 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(209 236 140 / 0);
  }
}
h1,
h2 {
  font-family: var(--round);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
}
h1 {
  font-size: clamp(3rem, 9.5vw, 7.6rem);
}
h2 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
}
.lede {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}
.cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Manifold */
.manifold {
  margin: 48px 0 0;
}
.manifold svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.manifold .pipe-bg {
  fill: none;
  stroke: var(--panel-2);
  stroke-width: 22;
  stroke-linecap: round;
}
.manifold .pipe-fg {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 2;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  animation: flow 1.2s linear infinite;
}
.manifold .lane.hot .pipe-fg {
  stroke: var(--lane);
}
@keyframes flow {
  to {
    stroke-dashoffset: -12;
  }
}
.manifold .core {
  stroke: var(--lime);
  stroke-width: 2;
}
.manifold .core.pulse {
  animation: core 0.5s ease-out;
}
@keyframes core {
  40% {
    stroke-width: 6;
  }
}
.core-name {
  fill: var(--lime);
  font-family: var(--round);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
}
.core-sub {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}
.manifold .end {
  cursor: default;
}
.manifold .end rect {
  fill: var(--panel);
  stroke: var(--line-2);
  stroke-width: 1.5;
  transition:
    stroke 0.2s,
    fill 0.2s;
}
.manifold .end text {
  fill: var(--text);
  font-family: var(--mono);
  font-size: 15px;
}
.manifold .end text.sub {
  fill: var(--muted);
  font-size: 12px;
}
.manifold .end.source {
  cursor: pointer;
}
.manifold .end.source:hover rect,
.manifold .end.source:focus-visible rect {
  stroke: var(--lane);
  fill: var(--panel-2);
}
.manifold .end.source:focus-visible {
  outline: none;
}
.manifold .end.got rect {
  stroke: var(--lane);
  fill: color-mix(in srgb, var(--lane) 18%, var(--panel));
}
.manifold .packet {
  fill: var(--lane);
  filter: drop-shadow(0 0 6px var(--lane));
}
.manifold figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.counter {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--panel);
  font-family: var(--mono);
  font-size: 0.85rem;
}
.counter b {
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* Sections */
.play,
.ask,
.box,
.start {
  padding: 110px 0 0;
}
.head {
  margin-bottom: 36px;
}
.head p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}
.kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Playground */
.recipes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.recipes button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.recipes button:hover {
  color: var(--text);
}
.recipes button[aria-selected="true"] {
  border-color: var(--lime);
  background: rgb(209 236 140 / 0.1);
  color: var(--lime);
}
.recipes small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
}
.bench {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}
.file-pane {
  display: flex;
  flex-direction: column;
}
.file-pane .yaml {
  flex: 1;
}
.file-pane,
.run-pane,
.term,
.approval {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.run-pane {
  background: var(--panel);
}
.pane-bar,
.dest-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
}
.pane-note {
  margin-left: auto;
  color: var(--faint);
  font-size: 0.74rem;
  text-align: right;
}
.dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--muted);
}
.dot.live {
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.dot.down {
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
}
.yaml {
  margin: 0;
  padding: 16px 0;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text);
}
.yaml .ln {
  display: block;
  padding: 0 18px 0 14px;
  border-left: 3px solid transparent;
  white-space: pre;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.yaml .ln.on {
  border-left-color: var(--lime);
  background: rgb(209 236 140 / 0.09);
}
.yaml .ln.bad {
  border-left-color: var(--coral);
  background: rgb(255 127 97 / 0.1);
}
.yaml .k {
  color: var(--sky);
}
.yaml .s {
  color: var(--gold);
}
.yaml .t {
  color: var(--lime);
}
.yaml .n {
  color: var(--violet);
}
.yaml .c {
  color: var(--faint);
  font-style: italic;
}
.yaml.mini {
  max-height: 260px;
  font-size: 0.78rem;
}

.graph {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 26px 18px 22px;
  list-style: none;
}
.graph::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 52px;
  height: 10px;
  border-radius: 999px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.graph li {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}
.graph .node {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--line-2);
  border-radius: 16px;
  background: var(--panel);
  font-size: 1.3rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.graph li.on .node {
  border-color: var(--lime);
  box-shadow: 0 0 22px rgb(209 236 140 / 0.35);
  transform: translateY(-2px);
}
.graph li.bad .node {
  border-color: var(--coral);
  box-shadow: 0 0 22px rgb(255 127 97 / 0.35);
}
.graph li.end .node {
  border-radius: 50%;
}
.graph strong {
  max-width: 100%;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.graph small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.7rem;
}
.graph .packet {
  position: absolute;
  z-index: 2;
  top: 48px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
  transition: left 0.55s cubic-bezier(0.5, 0, 0.3, 1);
}
.graph .packet.frozen {
  background: var(--muted);
  box-shadow: none;
  animation: shiver 0.6s infinite;
}
.graph .packet.dead {
  background: var(--coral);
  box-shadow: 0 0 14px var(--coral);
  transition:
    transform 0.6s ease-in,
    opacity 0.6s ease-in;
  transform: translateY(46px) scale(0.6);
  opacity: 0;
}
.graph .packet.done {
  transition:
    transform 0.4s ease-out,
    opacity 0.4s ease-out;
  transform: scale(2.2);
  opacity: 0;
}
@keyframes shiver {
  50% {
    transform: translateX(1px);
  }
}
.run-pane.down .graph .node {
  filter: grayscale(1);
  opacity: 0.55;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 0 16px 16px;
}
.send {
  display: flex;
  flex: 1 1 260px;
  gap: 8px;
}
.send input {
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
}
.send input:focus-visible {
  outline-offset: 1px;
}
.send.ticker {
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
}
.chaos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dest,
.journal {
  border-top: 1px solid var(--line);
}
.dest-bar {
  border-bottom: 0;
  padding-bottom: 6px;
  color: var(--muted);
}
.dest-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  max-height: 180px;
  padding: 6px 16px 16px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.dest-body .empty {
  margin: auto;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.88rem;
}
.dest-body .line {
  white-space: nowrap;
  color: var(--text);
  animation: pop 0.35s ease-out;
}
.dest-body .line .t {
  color: var(--lime);
}
.bubble {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 16px;
  font-family: var(--sans);
  font-size: 0.88rem;
  animation: pop 0.35s ease-out;
}
.bubble.me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #2b5278;
}
.bubble.bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--panel-2);
}
.bubble small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}
.rows {
  width: 100%;
  border-collapse: collapse;
}
.rows th,
.rows td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
.rows th {
  color: var(--faint);
  font-weight: 400;
}
.rows tr.new td {
  animation: pop 0.35s ease-out;
}
.tag {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--line);
}
.tag.high {
  background: rgb(255 127 97 / 0.2);
  color: var(--coral);
}
.files {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.file-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 92px;
  padding: 10px 6px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--panel-2);
  animation: pop 0.35s ease-out;
}
.file-card span {
  font-size: 1.6rem;
}
.file-card small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes pop {
  from {
    transform: translateY(6px) scale(0.97);
    opacity: 0;
  }
}
.log {
  height: 168px;
  margin: 0;
  padding: 4px 16px 14px;
  overflow: auto;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.7;
}
.log li {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}
.log time {
  color: var(--faint);
}
.log .id {
  color: var(--sky);
}
.log .ev {
  color: var(--text);
}
.log .good {
  color: var(--lime);
}
.log .warn {
  color: var(--gold);
}
.log .bad {
  color: var(--coral);
}
.log .sys {
  color: var(--muted);
  font-style: italic;
}
.noscript {
  padding: 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
}
.receipts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.receipts li {
  padding: 18px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.receipts b {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

/* Ask Claude */
.ask-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  align-items: stretch;
}
.lights {
  display: inline-flex;
  gap: 6px;
}
.lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.term-body {
  min-height: 380px;
  margin: 0;
  padding: 18px;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.6;
}
.term-body li {
  margin-bottom: 8px;
  animation: pop 0.3s ease-out;
}
.term-body .you {
  padding: 10px 12px;
  border-left: 3px solid var(--line-2);
  background: var(--panel);
  color: var(--text);
}
.term-body .you::before {
  content: "> ";
  color: var(--faint);
}
.term-body .say::before {
  content: "● ";
  color: var(--lime);
}
.term-body .tool {
  display: flex;
  gap: 10px;
  padding-left: 18px;
  color: var(--muted);
}
.term-body .tool::before {
  content: "⎿";
  color: var(--faint);
}
.term-body .tool b {
  min-width: 13ch;
  color: var(--sky);
  font-weight: 400;
}
.term-body .tool .good {
  color: var(--lime);
}
.term-body .tool .bad {
  color: var(--coral);
}
.term-body .wait {
  color: var(--gold);
}
.term-body .wait::before {
  content: "◌ ";
  display: inline-block;
  animation: spin 1.2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.caret::after {
  content: "▋";
  margin-left: 2px;
  color: var(--lime);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.approval {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.approval.ready {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgb(244 208 111 / 0.12);
}
.approval.ok {
  border-color: var(--lime);
}
.approval.no {
  border-color: var(--coral);
}
.badge {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}
.approval.ready .badge {
  background: rgb(244 208 111 / 0.18);
  color: var(--gold);
}
.approval.ok .badge {
  background: rgb(209 236 140 / 0.16);
  color: var(--lime);
}
.approval.no .badge {
  background: rgb(255 127 97 / 0.16);
  color: var(--coral);
}
.approval-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.approval-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.approval-meta b {
  color: var(--text);
  font-family: var(--mono);
}
.approval .yaml {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  opacity: 0.35;
  transition: opacity 0.4s;
}
.approval.has .yaml {
  opacity: 1;
}
.approval-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.fine {
  margin: 0;
  color: var(--faint);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* What plugs in */
.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.col {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--round);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.col h3 span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgb(209 236 140 / 0.12);
  color: var(--lime);
  font-size: 1rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  font-family: var(--mono);
  font-size: 0.84rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.chips li:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
.chips small {
  color: var(--muted);
  font-size: 0.72rem;
}
.chips .soon {
  border-style: dashed;
  background: transparent;
  color: var(--faint);
}
.chips .soon:hover {
  border-color: var(--line-2);
  transform: none;
}
.ways {
  margin-top: 40px;
}
.ways ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.ways li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.ways b {
  color: var(--text);
  font-family: var(--round);
  font-size: 1.1rem;
}

/* Is / isn't */
.fit {
  margin-top: 110px;
  padding: 72px 0;
  background: var(--paper);
  color: var(--ink);
}
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.fit .kicker {
  color: #4f6b22;
}
.fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fit li {
  padding: 14px 0;
  border-bottom: 1px solid #d9dacb;
  font-family: var(--round);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fit-grid > div:last-child li {
  color: #6a6f5f;
  text-decoration: line-through;
  text-decoration-color: rgb(255 127 97 / 0.7);
  text-decoration-thickness: 3px;
}

/* Install */
.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
}
.start pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.75;
}
.start .term .fine {
  padding: 0 18px 18px;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.links a {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.links a:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* Footer */
.foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 110px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.foot .brand {
  color: var(--text);
  font-size: 1.15rem;
}
.foot p {
  flex: 1;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .bench,
  .ask-grid,
  .start-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .receipts,
  .ways ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .top nav a:not(.nav-gh):not([href="docs/index.html"]) {
    display: none;
  }
  .hero {
    padding-top: 28px;
  }
  .receipts,
  .ways ul,
  .fit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fit-grid {
    gap: 24px;
  }
  .graph {
    padding-inline: 4px;
  }
  .graph::before {
    left: 24px;
    right: 24px;
  }
  .graph .node {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
  .graph .packet {
    top: 43px;
  }
  .graph::before {
    top: 47px;
  }
  .graph small {
    display: none;
  }
  .manifold .end text.name {
    font-size: 36px;
    transform: translateY(12px);
  }
  .manifold .end text.sub,
  .core-sub,
  #file-note {
    display: none;
  }
  .core-name {
    font-size: 72px;
  }
  .tagline {
    gap: 5px;
    padding: 6px 12px;
    font-size: 0.64rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .term-body {
    min-height: 320px;
    font-size: 0.78rem;
  }
  .term-body .tool b {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
