@font-face {
  font-family: DM Sans;
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #f8f6f0;
  --paper: #fffdf7;
  --text: #262a25;
  --dim: #73766b;
  --line: #dedfd3;
  --active: #e9562b;
  --asleep: #627953;
  --waiting: #327e83;
  --ok: #50753c;
  --bad: #b2392c;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
textarea,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button,
a,
textarea,
input {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 3px solid var(--active);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.dim,
.hint {
  color: var(--dim);
}
.hint {
  font-size: 12px;
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  background: var(--paper);
  padding: 16px;
  z-index: 20;
}
.top,
main,
footer {
  max-width: 1440px;
  margin: auto;
  padding-left: 60px;
  padding-right: 60px;
}
.top {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -1px;
}
.brand:hover {
  text-decoration: none;
}
.logo {
  color: var(--active);
  font:
    bold 43px/1 Georgia,
    serif;
  margin-top: -6px;
}
.brand-tag {
  font: 9px var(--mono);
  letter-spacing: 1.2px;
  border-left: 1px solid var(--line);
  margin-left: 10px;
  padding-left: 17px;
  color: var(--dim);
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 12px;
}
nav a {
  white-space: nowrap;
}
.nav-source {
  border: 1px solid #cdd0c2;
  padding: 8px 14px;
  border-radius: 4px;
}
.hero {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 42px 0 38px;
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 40px;
  align-items: end;
}
.eyebrow,
.note-index,
.small-label,
.live-label,
.examples-label,
.preview-label,
.live-bottom,
.run-reference {
  font: 10px/1.5 var(--mono);
  letter-spacing: 1.2px;
}
.eyebrow {
  font-weight: 500;
}
.status-dot,
.live-label i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--active);
  margin-right: 7px;
}
.hero h1 {
  font: clamp(52px, 5.6vw, 82px) / 0.99 var(--serif);
  letter-spacing: -1.8px;
  margin: 19px 0 0;
  position: relative;
  width: fit-content;
}
.hero h1 em {
  font-weight: 400;
  color: #727e59;
}
.hero-star {
  font: normal 52px var(--sans);
  color: var(--active);
  position: absolute;
  right: -53px;
  top: -13px;
  transform: rotate(12deg);
}
.hero-note {
  max-width: 330px;
  justify-self: end;
  padding-bottom: 3px;
}
.note-index {
  color: var(--dim);
}
.hero-note p {
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 0;
}
.hero-note .note-end {
  font-size: 12px;
  color: var(--dim);
  margin-top: 10px;
}
.note-end span {
  color: var(--active);
  font-size: 25px;
  margin-left: 12px;
}
.playground-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 13px;
}
.playground-heading h2 {
  font-size: 14px;
  letter-spacing: -0.2px;
  font-weight: 500;
  margin: 0;
}
.playground-heading > span {
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: var(--dim);
}
.grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  border: 1px solid #cdd0c2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 9px 26px #343a2410;
}
.compose {
  background: var(--paper);
  min-width: 0;
  border-right: 1px solid #cdd0c2;
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 15px 23px;
  gap: 10px;
}
.small-label {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.5px;
}
.prompt-area {
  padding: 22px 23px 20px;
}
.prompt-area > label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
textarea,
input {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 4px;
}
#goal {
  width: 100%;
  resize: vertical;
  min-height: 80px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.65;
  background: #f7f6f0;
}
textarea::placeholder {
  color: #828679;
}
button {
  border: 1px solid #cdd0c2;
  border-radius: 4px;
  color: var(--text);
  background: transparent;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 500;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover:not(:disabled) {
  background: #eeeee4;
}
button.primary {
  background: var(--active);
  color: #fff;
  border-color: var(--active);
  font-size: 12px;
  white-space: nowrap;
  padding: 11px 15px;
}
button.primary:hover:not(:disabled) {
  background: #ce431c;
  border-color: #ce431c;
  transform: translateY(-1px);
}
.primary .spark {
  font-size: 18px;
  line-height: 10px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
}
.prompt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 11px;
}
.prompt-actions .hint {
  font-size: 10px;
  max-width: 220px;
}
.examples-label {
  font-size: 8px;
  color: var(--dim);
  margin: 20px 0 8px;
  letter-spacing: 1px;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  border-radius: 3px;
  padding: 5px 9px;
  font-size: 10px;
  white-space: nowrap;
  border-color: #dedfd3;
}
.chip:hover:not(:disabled),
.chip[aria-pressed="true"] {
  color: #a63d1b;
  background: #fce9dc;
  border-color: #eabda0;
}
.code-area {
  background: #242a25;
  color: #e7e9db;
  margin: 0 14px;
  border-radius: 5px;
  overflow: hidden;
}
.editor-heading {
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #ffffff13;
  font: 10px var(--mono);
  color: #c2c9b8;
}
.editor-heading small {
  font-size: 9px;
  color: #a6b19c;
}
.file-dot {
  display: inline-block;
  background: #cbd998;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 6px;
}
.editor {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.editor pre,
.editor textarea {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 17px;
  font: 12px/1.85 var(--mono);
  white-space: pre;
  overflow: auto;
  tab-size: 2;
  border: 0;
  border-radius: 0;
}
.editor textarea {
  color: transparent;
  caret-color: #f8f6f0;
  background: transparent;
  resize: none;
  z-index: 1;
  outline-offset: -3px;
}
.editor textarea::selection {
  background: #fff3;
  color: transparent;
}
.editor pre {
  pointer-events: none;
  color: #e2e7d5;
}
.editor.streaming {
  box-shadow: inset 0 0 0 1px #ff956b;
}
.tok-com {
  color: #9da991;
  font-style: italic;
}
.tok-str {
  color: #d2e6a1;
}
.tok-num {
  color: #eec999;
}
.tok-kw {
  color: #bcbfdf;
}
.tok-await {
  color: #f4b389;
}
.tok-glob {
  color: #d1d7bf;
}
.tok-sleep,
.tok-ask {
  color: #ffb98f;
}
.code-footer {
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #ffffff13;
}
.code-footer .hint {
  color: #b0b8a4;
  font-size: 10px;
}
.code-footer button.go {
  background: #e4eccb;
  border-color: #e4eccb;
  color: #2e3c20;
  padding: 9px 13px;
}
.code-footer button.go:hover:not(:disabled) {
  background: #f3f8e6;
}
.tools-note {
  padding: 13px 23px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font: 8px var(--mono);
  color: var(--dim);
  letter-spacing: 0.4px;
}
.tools-note code {
  font-size: 9px;
  letter-spacing: 0;
}
code {
  font-family: var(--mono);
}
.live-panel {
  position: relative;
  min-width: 0;
  background: #f0f1e8;
  display: flex;
  flex-direction: column;
}
.live-label {
  font-size: 9px;
  letter-spacing: 0.8px;
}
.live-label i {
  background: #6b815b;
  width: 5px;
  height: 5px;
}
.empty {
  text-align: center;
  padding: 12px 26px 25px;
  flex: 1;
  background-image: radial-gradient(#73806025 0.65px, transparent 0.65px);
  background-size: 14px 14px;
}
.instrument {
  height: 215px;
  width: 260px;
  position: relative;
  margin: 0 auto;
}
.orbit {
  position: absolute;
  border: 1px solid #7e8c5a40;
  left: 50%;
  top: 50%;
  border-radius: 50%;
}
.orbit-one {
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
}
.orbit-two {
  width: 228px;
  height: 116px;
  transform: translate(-50%, -50%) rotate(-30deg);
}
.sleep-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #dbe2ba;
  box-shadow:
    inset -8px -7px 0 #c8d29d,
    0 6px 20px #768b3d10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #a6b47e;
  color: #53613c;
}
.closed-eyes {
  font:
    27px/1 Georgia,
    serif;
  letter-spacing: 7px;
  margin: 13px 0 0 6px;
  transform: rotate(180deg);
}
.core-mouth {
  font: 16px Georgia;
  opacity: 0.7;
}
.orbit-point {
  position: absolute;
  top: 34px;
  right: 51px;
  width: 13px;
  height: 13px;
  background: var(--active);
  border: 4px solid #f0f1e8;
  border-radius: 50%;
  box-sizing: content-box;
}
.orbit-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font: 8px var(--mono);
  letter-spacing: 1.5px;
  color: #697453;
}
.instrument-cross {
  position: absolute;
  color: #969d84;
  font: 16px var(--mono);
}
.cross-one {
  top: 37px;
  left: 11px;
}
.cross-two {
  bottom: 45px;
  right: 9px;
}
.empty h3 {
  font: 37px/1.05 var(--serif);
  letter-spacing: -0.6px;
  font-weight: 400;
  margin: 21px 0 12px;
}
.empty h3 em {
  color: #6b7953;
}
.empty > p {
  color: #6f7565;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.preview-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 25px 0 0;
  position: relative;
}
.preview-path:before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 15px;
  border-top: 1px dashed #a9b297;
}
.preview-path > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.path-node {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #c6ceb5;
  background: #f0f1e8;
  color: #65734d;
  font-size: 16px;
  margin-bottom: 9px;
}
.path-node.active {
  color: var(--active);
  border-color: #e0b699;
}
.preview-path b {
  font-size: 11px;
  font-weight: 600;
}
.preview-path small {
  font-size: 8px;
  color: #6f7565;
  margin-top: 3px;
}
.preview-label {
  display: block;
  font-size: 7px;
  letter-spacing: 0.6px;
  color: #737c68;
  margin: 20px 0 0;
}
.live-bottom {
  padding: 13px 22px;
  border-top: 1px solid #d7dccb;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: #737a67;
  font-size: 7px;
  letter-spacing: 0.5px;
}
.live-bottom span + span {
  letter-spacing: 0;
  font-size: 9px;
  font-family: var(--sans);
}
#runview {
  padding: 22px;
}
.run-reference {
  color: #7b826f;
  font-size: 9px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
}
.state {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fafbf3;
  border: 1px solid #d7dfc6;
  border-radius: 5px;
  padding: 24px 18px;
  min-height: 150px;
}
.ring {
  position: relative;
  width: 66px;
  height: 66px;
  flex: none;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 2;
}
.ring .track {
  stroke: #d9dece;
}
.ring .arc {
  stroke: var(--active);
  stroke-linecap: round;
  stroke-dasharray: 119.4;
  transition: stroke-dashoffset 0.9s linear;
}
.ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.headline {
  font: 30px/1.12 var(--serif);
  letter-spacing: -0.4px;
}
.sub {
  color: #68745b;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 9px;
}
.state.asleep {
  background: repeating-linear-gradient(135deg, #f5f7eb 0 8px, #edf1df 8px 9px);
  border-color: #becb9b;
}
.state.asleep .arc {
  stroke: var(--asleep);
}
.state.waiting .arc {
  stroke: var(--waiting);
}
.state.done .arc {
  stroke: var(--ok);
}
.state.failed .arc {
  stroke: var(--bad);
}
.ask {
  padding: 16px;
  background: #e2eeeb;
  border: 1px solid #aacac1;
  border-radius: 4px;
  margin-top: 16px;
}
.ask label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ask input {
  flex: 1;
  width: 0;
  min-width: 100px;
  background: #fffdf7;
  padding: 10px;
}
.ask button {
  background: var(--waiting);
  border-color: var(--waiting);
}
.lifeline {
  display: flex;
  height: 22px;
  margin: 22px 0 10px;
  border-radius: 3px;
  overflow: hidden;
  background: #dfe3d5;
}
.seg {
  height: 100%;
  min-width: 3px;
  transition: flex-grow 0.9s linear;
}
.seg.active {
  background: var(--active);
}
.seg.asleep {
  background: repeating-linear-gradient(
    135deg,
    #a2b580 0 5px,
    #bcca9f 5px 10px
  );
}
.seg.waiting {
  background: #80b7ae;
}
.seg.queued {
  background: #c9cdbf;
}
.legend {
  display: flex;
  gap: 5px 12px;
  flex-wrap: wrap;
  font-size: 8px;
  color: #6d7562;
  align-items: center;
}
.legend .k {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: -8px;
  border-radius: 1px;
}
.k.active {
  background: var(--active);
}
.k.asleep {
  background: #91a76c;
}
.k.waiting {
  background: #80b7ae;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
  border-top: 1px solid #d2d9c5;
  border-left: 1px solid #d2d9c5;
}
.stat {
  border-right: 1px solid #d2d9c5;
  border-bottom: 1px solid #d2d9c5;
  padding: 9px 12px;
}
.stat b {
  display: block;
  font: 20px/1.4 var(--serif);
  font-variant-numeric: tabular-nums;
}
.stat span {
  font: 8px var(--mono);
  text-transform: uppercase;
  color: #737d63;
}
.feed {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 300px;
  overflow: auto;
}
.feed li {
  display: grid;
  grid-template-columns: 53px 16px minmax(0, 1fr);
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid #dce0d2;
  font-size: 11px;
}
.feed .t {
  font: 9px/1.9 var(--mono);
  color: #77816a;
}
.feed .i {
  text-align: center;
}
.feed .m {
  overflow-wrap: anywhere;
}
.feed .print .m,
.feed .ai .m {
  white-space: pre-wrap;
}
.feed .print .m {
  font-family: var(--mono);
  font-size: 11px;
}
.feed .sys .m {
  color: #6d7662;
}
.feed .asleep .m {
  color: #57713d;
}
.feed .failed .m {
  color: var(--bad);
}
.result {
  border: 1px solid #c9d5b5;
  background: #f9fbee;
  border-radius: 3px;
  margin-top: 15px;
  padding: 13px;
  font: 12px/1.6 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 260px;
  overflow: auto;
}
.result .label {
  display: block;
  font: 9px var(--mono);
  color: #707d5c;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.actions {
  margin-top: 18px;
}
.actions button {
  font-size: 10px;
  padding: 7px 10px;
}
.actions .hint {
  flex-basis: 100%;
  font-size: 10px;
}
.error-message {
  font-size: 12px;
  border-left: 3px solid var(--bad);
  color: var(--bad);
  padding: 9px 12px;
  margin: 14px 22px;
  background: #faebe3;
}
.possibilities {
  padding: 75px 0 55px;
}
.section-heading h2 {
  font: 42px/1.1 var(--serif);
  letter-spacing: -0.5px;
  margin: 13px 0 8px;
}
.section-heading > p {
  color: var(--dim);
  font-size: 13px;
  margin: 0;
}
.section-heading > .eyebrow {
  font-size: 9px;
  color: #777c6c;
}
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.use-case {
  text-align: left;
  border: 0;
  border-radius: 0;
  padding: 24px 26px 27px;
  background: transparent;
}
.use-case:first-child {
  padding-left: 0;
}
.use-case + .use-case {
  border-left: 1px solid var(--line);
}
.use-case:last-child {
  padding-right: 0;
}
.use-case:hover:not(:disabled) {
  background: #efeee5;
}
.use-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 8px var(--mono);
  letter-spacing: 0.6px;
  color: #777d6b;
}
.use-number > span {
  font-size: 20px;
  color: var(--active);
}
.use-case h3 {
  font: 32px/1.1 var(--serif);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 17px 0 12px;
}
.use-case p {
  font-size: 12px;
  color: var(--dim);
  max-width: 280px;
  line-height: 1.8;
  margin-bottom: 23px;
}
.use-code {
  font: 9px var(--mono);
  color: #656e57;
}
.use-code i {
  color: var(--active);
  font-style: normal;
  margin: 0 6px;
}
.how {
  padding: 10px 0 55px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 32px 0;
}
.col .n {
  font: 11px var(--mono);
  color: var(--active);
}
.col h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 8px 0;
}
.col p {
  color: var(--dim);
  font-size: 12px;
  line-height: 1.85;
  margin: 0;
}
.snippet {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f0f0e6;
  overflow: hidden;
}
.snippet-h {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #6a735c;
}
.snippet-h a {
  text-decoration: underline;
}
.snippet pre {
  margin: 0;
  overflow: auto;
  padding: 22px;
  font: 11px/1.85 var(--mono);
  color: #424b36;
}
.snippet .kw {
  color: #7a5681;
}
.snippet .fn {
  color: #366c64;
}
.snippet .str {
  color: #52703a;
}
.snippet .num {
  color: #995a36;
}
.snippet .com {
  color: #7a816d;
  font-style: italic;
}
.history-section {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
}
.history-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 16px;
}
.history-heading h2 {
  font: 29px var(--serif);
  margin: 0;
}
.history-heading .hint {
  font-size: 10px;
}
.history {
  list-style: none;
  padding: 0;
  margin: 0;
}
.history li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.history li a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pill {
  font: 8px var(--mono);
  border: 1px solid #c9cebd;
  padding: 3px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
.pill.running {
  color: var(--active);
}
.pill.suspended {
  color: var(--asleep);
}
.pill.done {
  color: var(--ok);
}
.pill.failed {
  color: var(--bad);
}
footer {
  display: flex;
  gap: 35px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  padding-bottom: 35px;
}
footer p {
  color: var(--dim);
  font-size: 10px;
  line-height: 1.8;
}
footer .brand {
  font-size: 18px;
}
footer .logo {
  font-size: 34px;
}
footer .limits {
  margin-left: auto;
  font: 8px/1.9 var(--mono);
}
button.busy .spark {
  animation: spin 3s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 50px;
    padding-bottom: 48px;
  }
}
@media (max-width: 1100px) {
  .top,
  main,
  footer {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero {
    gap: 38px;
    grid-template-columns: 1.5fr 1fr;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-star {
    font-size: 38px;
    right: -36px;
  }
  .hero-note p {
    font-size: 13px;
  }
  .small-label {
    display: none;
  }
  .prompt-actions {
    align-items: flex-start;
  }
  .prompt-actions .hint {
    max-width: 150px;
  }
  .preview-path small {
    font-size: 7px;
  }
  .brand-tag {
    display: none;
  }
  .code-footer .hint {
    max-width: 160px;
  }
}
@media (max-width: 820px) {
  .top,
  main,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
  .top {
    height: 78px;
  }
  nav {
    gap: 16px;
  }
  .nav-source {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-note {
    justify-self: start;
    max-width: 440px;
  }
  .hero-note .note-index {
    display: none;
  }
  .hero-note p {
    margin: 0;
    font-size: 14px;
  }
  .hero-note p br {
    display: none;
  }
  .hero-note .note-end {
    margin-top: 7px;
  }
  .playground-heading > span {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .compose {
    border-right: 0;
    border-bottom: 1px solid #cdd0c2;
  }
  .prompt-actions .hint {
    max-width: none;
  }
  .empty {
    padding-top: 10px;
  }
  .instrument {
    height: 190px;
  }
  .live-panel {
    min-height: 550px;
  }
  .preview-path {
    max-width: 450px;
    width: 100%;
    margin: 25px auto 0;
  }
  .preview-path small {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .use-case {
    padding: 20px 16px;
  }
  .use-case h3 {
    font-size: 28px;
  }
  .use-number {
    font-size: 7px;
  }
  .use-code {
    font-size: 8px;
  }
  .cols {
    gap: 20px;
  }
  footer {
    flex-wrap: wrap;
    gap: 15px 25px;
  }
  footer .limits {
    margin-left: 0;
  }
  .editor {
    height: 220px;
  }
}
@media (max-width: 540px) {
  .top,
  main,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand {
    font-size: 20px;
  }
  nav {
    font-size: 11px;
    gap: 17px;
  }
  .hero h1 {
    font-size: 52px;
    letter-spacing: -1px;
  }
  .hero-star {
    font-size: 28px;
    right: -22px;
    top: -9px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .hero-note p {
    font-size: 13px;
  }
  .hero-note .note-end {
    font-size: 11px;
  }
  .playground-heading h2 {
    font-size: 12px;
  }
  .panel-top {
    padding: 14px 16px;
  }
  .panel-top .eyebrow {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .live-label {
    font-size: 8px;
  }
  .prompt-area {
    padding: 18px 16px;
  }
  .prompt-area > label {
    font-size: 15px;
  }
  .prompt-actions .hint {
    font-size: 9px;
    max-width: 115px;
  }
  .prompt-actions .primary {
    font-size: 11px;
    padding: 10px;
  }
  .code-area {
    margin: 0 8px;
  }
  .editor pre,
  .editor textarea {
    font-size: 11px;
    padding: 14px;
  }
  .code-footer .hint {
    max-width: 140px;
    font-size: 9px;
  }
  .tools-note {
    padding: 13px 16px;
    font-size: 7px;
    gap: 7px;
  }
  .tools-note code {
    font-size: 8px;
  }
  .possibilities {
    padding: 45px 0 35px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .use-cases,
  .cols {
    grid-template-columns: 1fr;
  }
  .use-case,
  .use-case:first-child,
  .use-case:last-child {
    padding: 22px 0;
  }
  .use-case + .use-case {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .use-case h3 br {
    display: none;
  }
  .use-case h3 {
    font-size: 30px;
    margin: 10px 0;
  }
  .use-case p {
    max-width: none;
    margin-bottom: 12px;
  }
  .use-number {
    font-size: 9px;
  }
  .use-code {
    font-size: 10px;
  }
  .cols {
    gap: 23px;
  }
  .history-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .history li .dim {
    display: none;
  }
  .live-bottom {
    padding: 13px 16px;
  }
  .live-bottom span + span {
    font-size: 8px;
  }
  #runview {
    padding: 18px 16px;
  }
  .state {
    padding: 20px 14px;
    gap: 12px;
  }
  .headline {
    font-size: 27px;
  }
  .ring {
    width: 50px;
    height: 50px;
  }
  .empty {
    padding-left: 15px;
    padding-right: 15px;
  }
  .preview-label {
    font-size: 6px;
  }
  .sub {
    font-size: 10px;
  }
  .preview-path small {
    font-size: 8px;
  }
  .snippet pre {
    font-size: 10px;
    padding: 16px;
  }
  footer p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.example-library {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 25px;
  padding: 16px 20px;
  background: #eceee2;
  border: 1px solid #cdd0c2;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.example-library + .grid {
  border-radius: 0 0 6px 6px;
}
.library-label {
  display: flex;
  flex-direction: column;
}
.library-label strong {
  font-size: 12px;
  font-weight: 500;
}
.library-label > span {
  font-size: 9px;
  color: #717b61;
}
.script-examples {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
.script-example {
  font-size: 10px;
  border-color: #c7ceba;
  padding: 7px 10px;
  background: #f8f9f0;
}
.script-example[aria-pressed="true"] {
  background: #34432c;
  color: #f8f9f0;
  border-color: #34432c;
}
.example-library > p {
  grid-column: 1/-1;
  font-size: 11px;
  color: #647056;
  margin: 0;
}
.sleep-core {
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.3s,
    background 0.3s;
}
.sleep-core:hover:not(:disabled) {
  background: #e8efc7;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.06);
}
.dreaming .sleep-core {
  background: #f5cfa1;
  box-shadow: inset -8px -7px 0 #eab677;
  transform: translate(-50%, -50%) rotate(8deg);
}
.dreaming .closed-eyes {
  transform: none;
  letter-spacing: 8px;
  font-size: 20px;
}
.dreaming .orbit-point {
  background: #797dba;
}
.dream-bubble {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: -62px;
  padding: 10px 13px;
  border: 1px solid #d5c5a6;
  background: #fff9e9;
  border-radius: 7px 7px 7px 0;
  box-shadow: 0 4px 18px #56482810;
  font: 12px var(--serif);
  transform: rotate(3deg);
  pointer-events: none;
}
.dream-bubble code {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  color: #ac5d33;
}
.dream-bubble small {
  display: block;
  margin-top: 5px;
  font: 8px var(--sans);
  color: #84745c;
}
.architecture {
  padding: 12px 0 55px;
}
.architecture-flow {
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px 1fr;
  margin-top: 32px;
  align-items: center;
}
.architecture-node {
  padding: 22px 18px;
  border: 1px solid #ced3c1;
  border-radius: 5px;
  background: #fffdf7;
  min-width: 0;
}
.diagram-tag,
.contribution-label {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #737e63;
}
.architecture-node h3 {
  font: 29px var(--serif);
  margin: 16px 0;
}
.architecture-node pre {
  font: 10px/1.9 var(--mono);
  overflow: auto;
  color: #59634c;
  min-height: 65px;
}
.architecture-node pre > span {
  color: #ac572e;
}
.architecture-node pre .diagram-output {
  color: #48703f;
}
.node-status {
  font-size: 8px;
  color: #7b826d;
  border-top: 1px solid #dde1d3;
  padding-top: 13px;
  margin-top: 20px;
}
.node-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--active);
  margin-right: 4px;
}
.diagram-arrow {
  text-align: center;
}
.diagram-arrow span {
  display: block;
  font: 6px var(--mono);
  color: #797e6d;
}
.diagram-arrow b {
  font-size: 27px;
  font-weight: 400;
  color: #96a480;
}
.stored {
  background: repeating-linear-gradient(135deg, #ebefdf 0 8px, #e7ecd9 8px 9px);
  border-color: #b9c799;
}
.snapshot {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font: 10px/1.8 var(--mono);
  color: #5d7245;
  min-height: 75px;
}
.contributions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin-top: 30px;
}
.contributions h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 9px 0;
}
.contributions p {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.85;
  margin: 0;
  max-width: 500px;
}
.benefit-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 10px;
  color: var(--dim);
}
.benefit-strip b {
  color: #4c5d3d;
  font-weight: 500;
}
@media (max-width: 1100px) {
  .example-library {
    grid-template-columns: 1fr;
  }
  .script-examples {
    justify-content: flex-start;
  }
  .library-label {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .architecture-flow {
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
  }
  .architecture-node {
    padding: 18px 13px;
  }
  .diagram-arrow span {
    font-size: 5px;
    letter-spacing: -0.3px;
  }
  .architecture-node pre {
    font-size: 8px;
  }
  .diagram-tag {
    font-size: 6px;
  }
  .node-status {
    font-size: 7px;
  }
}
@media (max-width: 700px) {
  .architecture-flow {
    grid-template-columns: 1fr;
  }
  .diagram-arrow {
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
  .diagram-arrow b {
    transform: rotate(90deg);
    font-size: 22px;
  }
  .diagram-arrow span {
    font-size: 9px;
  }
  .architecture-node {
    padding: 22px;
  }
  .architecture-node pre {
    font-size: 11px;
  }
  .diagram-tag,
  .node-status {
    font-size: 9px;
  }
  .contributions {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .benefit-strip {
    flex-direction: column;
    gap: 10px;
  }
  .example-library {
    padding: 15px;
  }
  .script-example {
    font-size: 10px;
    padding: 7px 9px;
  }
  .example-library > p {
    font-size: 10px;
  }
  .dream-bubble {
    right: -20px;
  }
  .hero-star {
    right: 8px;
    top: 0;
  }
}

.compose > .code-area {
  margin-top: 14px;
}
.compose > .prompt-area {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-bottom: 8px;
}
/* Workflows: user output first, runtime plumbing on demand. */
.example-flow {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font: 10px var(--mono);
  color: #596e43;
  margin-top: 5px;
}
.example-flow span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.example-flow i {
  font-style: normal;
  color: var(--active);
}
.state {
  min-height: 0;
  padding: 13px 14px;
  gap: 12px;
  background: #f8faef;
}
.ring {
  width: 34px;
  height: 34px;
}
.ring > svg {
  display: none;
}
.ring span {
  position: static;
  display: block;
}
.ring span svg {
  width: 27px;
  height: 27px;
  transform: none;
}
.headline {
  font: 500 15px/1.4 var(--sans);
  letter-spacing: -0.2px;
}
.sub {
  margin-top: 3px;
  font-size: 10px;
}
.run-reference {
  margin-bottom: 10px;
}
.feed {
  max-height: 280px;
  overscroll-behavior: contain;
  margin: 15px 0;
}
.feed:empty {
  display: none;
}
.feed li.event {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #d7ddcd;
  font-size: 12px;
}
.event-icon {
  width: 18px;
  height: 18px;
  color: #6c7b5b;
  margin-top: 2px;
}
.event-icon svg {
  width: 18px;
  height: 18px;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #718061;
  margin-bottom: 5px;
}
.event-meta time {
  color: #828a78;
  letter-spacing: 0;
  font-size: 8px;
}
.event-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.event-log .event-text {
  font: 11px/1.7 var(--mono);
  color: #333d2c;
}
.event-answer .event-icon,
.event-answer .event-meta {
  color: #26706c;
}
.event-ask .event-text {
  font-size: 11px;
  color: #6c7760;
}
.event-ask .event-meta {
  color: #6c7760;
}
.event-content {
  min-width: 0;
}
.event-webhook .event-text {
  font: 10px/1.7 var(--mono);
}
.action-eyebrow {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 1.2px;
  color: #337b77;
  margin-bottom: 9px;
}
.ask {
  padding: 16px;
  border-radius: 5px;
  margin: 15px 0;
  background: #e4efea;
  animation: none;
}
.ask label {
  font-size: 14px;
  line-height: 1.45;
}
.askchoices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.askchoices:empty {
  display: none;
}
.askchoices button {
  color: #205954;
  background: #fafff8;
  border: 1px solid #87b8a8;
  padding: 9px 15px;
  font-size: 12px;
}
.askchoices button:hover:not(:disabled) {
  background: #cfe5d8;
}
.ask #ask-text {
  margin-top: 10px;
}
.ask input {
  font-size: 12px;
  padding: 8px 10px;
}
.ask .primary {
  font-size: 11px;
  padding: 9px 12px;
}
.execution-details {
  margin-top: 20px;
  border-top: 1px solid #d2d9c5;
  padding-top: 13px;
}
.execution-details > summary,
.integration > summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  list-style-position: inside;
}
.execution-details > summary span {
  font-weight: 400;
  font-size: 9px;
  color: #7c846e;
  margin-left: 6px;
}
.execution-details .lifeline {
  height: 12px;
  margin-top: 16px;
}
.execution-details .stats {
  margin: 15px 0;
}
.stat b {
  font: 500 14px/1.6 var(--sans);
}
.trace .event-text {
  font-size: 10px;
  color: #69765a;
}
.trace .event-meta {
  display: none;
}
.trace li.event {
  padding: 7px 0;
}
.trace {
  max-height: 220px;
}
.result {
  font-size: 11px;
  margin: 15px 0;
}
.actions .hint {
  font-size: 10px;
}
.webhook-panel {
  border: 1px solid #a7b8d0;
  background: #e8edf6;
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
}
.webhook-panel .action-eyebrow {
  color: #5d6e97;
}
.webhook-panel h3 {
  font-size: 14px;
  margin: 0 0 12px;
}
.webhook-panel label {
  display: block;
  font-size: 10px;
  margin-bottom: 7px;
}
.webhook-panel input {
  flex: 1;
  min-width: 0;
  padding: 9px;
  font: 9px var(--mono);
  background: #fffdf7;
}
.webhook-panel button {
  font-size: 10px;
}
.webhook-panel textarea {
  width: 100%;
  font: 11px/1.6 var(--mono);
  padding: 10px;
  background: #fffdf7;
}
.webhook-panel details {
  margin-top: 12px;
}
.webhook-panel summary {
  font-size: 11px;
  cursor: pointer;
  margin-bottom: 12px;
}
.hook-note {
  font-size: 9px;
  color: #64738c;
  margin: 9px 0;
  line-height: 1.6;
}
#webhook-curl {
  font: 10px/1.6 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f7f9ff;
  padding: 10px;
  border-radius: 3px;
}
.workflow-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 24px 0;
  font: 11px var(--mono);
  color: #60714b;
}
.workflow-mini i {
  font-style: normal;
  color: var(--active);
  margin-left: 20px;
}
.use-case h3 {
  margin-bottom: 0;
}
.integration {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 5px;
}
.integration summary {
  font-size: 14px;
}
.integration summary span {
  font-size: 11px;
  color: var(--dim);
  font-weight: 400;
  margin-left: 12px;
}
.integration-copy {
  max-width: 850px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.9;
  margin-top: 20px;
}
.integration-copy pre {
  overflow: auto;
  font-size: 11px;
  background: #eeeee3;
  padding: 15px;
  color: #445538;
}
.how {
  padding-bottom: 35px;
}
.empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.preview-path {
  flex-shrink: 0;
}
/* The invitation stays discoverable; the exit stays reachable. */
.trip-toggle {
  font-size: 10px;
  white-space: nowrap;
  border: 1px dashed #d78862;
  background: #f9efdf;
  color: #9c4727;
  padding: 7px 10px;
}
.trip-toggle span {
  display: inline-block;
  font-size: 15px;
  vertical-align: middle;
  margin-left: 4px;
}
.trip-hint {
  color: #ac522c;
  animation: invitation 3.5s ease-in-out infinite;
  font-weight: 600;
}
.trip-toggle:not([aria-pressed="true"]) {
  animation: invitation 3.5s ease-in-out infinite;
}
@keyframes invitation {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
.exit-trip {
  position: fixed;
  right: 20px;
  top: 16px;
  z-index: 20;
  border-radius: 999px;
  background: #fff7d7;
  color: #35213f;
  border: 2px solid #513359;
  box-shadow: 3px 3px 0 #3d1e5b;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 600;
}
.exit-trip:hover:not(:disabled) {
  background: #fff !important;
}
#trip-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.top,
body > main,
footer {
  position: relative;
  z-index: 1;
}
body.psychedelic {
  background:
    radial-gradient(ellipse at 20% 10%, #d65c68, transparent 60%),
    radial-gradient(ellipse at 80% 70%, #dca550, transparent 55%), #472358;
  --active: #b72f67;
  --asleep: #566740;
  --waiting: #1e666c;
  --text: #30233d;
  --dim: #665d64;
  --line: #d1b1a0;
  --paper: #fff3d0;
  --bg: #fff3d0;
}
.psychedelic .top {
  background: #fff0ccf5;
  border-radius: 0 0 28px 28px;
  border-bottom: 2px solid #753d67;
}
.psychedelic .hero {
  border: 0;
  margin-top: 20px;
}
.psychedelic .hero h1 {
  color: #fff4c3;
  text-shadow: 3px 4px 0 #7a2a65;
}
.psychedelic .hero h1 em {
  color: #ffc2bf;
}
.psychedelic .hero-star {
  color: #b9eac5;
}
.psychedelic .hero .eyebrow,
.psychedelic .hero-note,
.psychedelic .hero-note .note-index,
.psychedelic .hero-note .note-end,
.psychedelic .playground-heading,
.psychedelic .playground-heading > span {
  color: #fff1ce;
}
.psychedelic .status-dot {
  background: #fcc77a;
}
.psychedelic .example-library {
  background: #f9d985;
  border: 2px solid #5b3268;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}
.psychedelic .grid {
  border: 2px solid #5b3268;
  border-radius: 0 0 24px 24px;
  box-shadow: 7px 8px 0 #3e205b66;
}
.psychedelic .compose {
  background: #fff2d1;
  border-color: #c1979f;
}
.psychedelic .live-panel {
  background: #d6e6ce;
}
.psychedelic .empty {
  background-color: #d6e6ce;
}
.psychedelic .code-area {
  background: #382744;
}
.psychedelic .editor-heading,
.psychedelic .code-footer {
  border-color: #ffffff20;
}
.psychedelic .code-footer button.go {
  background: #f2bbce;
  border-color: #f2bbce;
  color: #532742;
}
.psychedelic .script-example {
  background: #fff4cf;
  border-color: #bd7e83;
}
.psychedelic .script-example[aria-pressed="true"] {
  background: #633772;
  color: #fff5d1;
}
.psychedelic .possibilities,
.psychedelic .architecture,
.psychedelic .how,
.psychedelic .history-section {
  background: #fff0d2f5;
  padding: 28px;
  margin-top: 32px;
  border: 2px solid #763d69;
  border-radius: 24px 9px 24px 9px;
}
.psychedelic .section-heading h2 {
  color: #653365;
}
.psychedelic .stored {
  background: repeating-linear-gradient(135deg, #dbe6bb 0 8px, #d4dfb0 8px 9px);
}
.psychedelic .architecture-node {
  background-color: #fff7df;
}
.psychedelic .stored {
  background-color: #dbe6bb;
}
.psychedelic .sleep-core {
  background: #ffbbac;
  box-shadow: inset -8px -7px 0 #ee91a4;
  border-color: #bd6991;
  color: #703d6a;
}
.psychedelic .orbit {
  border-color: #746a8255;
}
.psychedelic footer {
  margin-top: 30px;
  background: #fff0ccd9;
  border-radius: 20px 20px 0 0;
}
.psychedelic .use-case:hover:not(:disabled) {
  background: #f8ddad;
}
.psychedelic .integration {
  background: #fff6de;
}
.psychedelic .trip-toggle {
  animation: none;
}
.psychedelic .hero-note .note-end span {
  color: #fbcda1;
}
@media (max-width: 1100px) {
  .top nav {
    gap: 14px;
  }
  .nav-source {
    display: none;
  }
}
@media (max-width: 700px) {
  .top {
    gap: 12px;
  }
  .top nav {
    gap: 10px;
  }
  .top nav > a[href="#how"] {
    display: none;
  }
  .top .brand-tag {
    display: none;
  }
  .trip-toggle {
    font-size: 9px;
    padding: 6px 8px;
  }
  .top .brand {
    font-size: 18px;
  }
  .exit-trip {
    right: 12px;
    top: 12px;
    padding: 9px 13px;
  }
  .psychedelic .top {
    padding-right: 145px;
  }
  .psychedelic .top nav {
    display: none;
  }
  .psychedelic .possibilities,
  .psychedelic .architecture,
  .psychedelic .how,
  .psychedelic .history-section {
    padding: 20px;
  }
  .execution-details > summary span {
    display: block;
    margin-left: 13px;
    margin-top: 4px;
  }
  .integration summary span {
    display: block;
    margin: 8px 0;
  }
  .headline {
    font-size: 14px;
  }
  .ring {
    width: 28px;
    height: 28px;
  }
  .sub {
    font-size: 9px;
  }
  .ask label {
    font-size: 13px;
  }
  .askchoices button {
    padding: 9px 12px;
  }
  .feed li.event {
    gap: 7px;
  }
  .script-examples {
    gap: 6px;
  }
  .example-flow {
    font-size: 9px;
    line-height: 1.8;
  }
  .hero h1 {
    font-size: 49px;
  }
  .live-panel {
    min-height: 0;
  }
  .empty {
    padding-top: 10px;
    padding-bottom: 30px;
    min-height: 480px;
  }
  .state {
    padding: 12px;
  }
  .workflow-mini {
    font-size: 11px;
  }
}
.run-picker {
  position: relative;
  font-family: var(--sans);
  z-index: 5;
  letter-spacing: 0;
}
.run-picker > summary {
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  padding: 4px 9px;
  border: 1px solid #cbd2bc;
  border-radius: 4px;
  white-space: nowrap;
}
.run-picker > summary::-webkit-details-marker {
  display: none;
}
.run-picker > summary span {
  margin-left: 7px;
}
.run-picker[open] > summary {
  background: #e5ead9;
}
.run-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 340px;
  max-width: calc(100vw - 70px);
  padding: 12px 15px;
  background: var(--paper);
  border: 1px solid #c9d0bd;
  border-radius: 6px;
  box-shadow: 0 12px 35px #24361f24;
  color: var(--text);
}
.run-menu-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  margin-bottom: 5px;
}
.run-menu-heading span {
  font-size: 8px;
  color: var(--dim);
}
.run-menu .history {
  max-height: 260px;
  overflow: auto;
}
.run-menu .history li {
  gap: 8px;
  font-size: 11px;
  min-height: 40px;
}
.run-menu .history li > .dim {
  display: none;
}
.run-menu .pill {
  font-size: 7px;
}
.run-menu .history li a {
  padding: 5px 0;
}
.run-picker summary:focus-visible {
  outline: 2px solid var(--active);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .trip-hint,
  .trip-toggle {
    animation: none !important;
  }
}
.psychedelic .hero {
  background: #25113d70;
  padding: 34px 24px;
  border-radius: 25px 8px;
}
.psychedelic .playground-heading {
  background: #25113d80;
  padding: 9px 14px;
  border-radius: 8px;
}
.psychedelic .nav-source,
.psychedelic #trip-toggle {
  display: none;
}
.psychedelic .top {
  padding-right: 200px;
}
@media (max-width: 700px) {
  .psychedelic .hero {
    padding: 25px 16px;
  }
  .psychedelic .hero h1 {
    font-size: 42px;
  }
  .psychedelic .top {
    padding-right: 145px;
  }
}
button.trip-hint {
  font-size: 9px;
  border: 0;
  border-radius: 0;
  padding: 4px;
  background: transparent;
  color: #a34826;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
button.trip-hint:hover:not(:disabled) {
  background: transparent;
  color: #713821;
}
.status-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.deadline-countdown {
  font: 500 17px/1.4 var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  color: #526f38;
  min-width: 8ch;
}
.deadline-track {
  height: 3px;
  background: #dce3cd;
  margin-top: -3px;
  overflow: hidden;
  border-radius: 0 0 4px 4px;
}
#deadline-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #839f5e;
  transform-origin: left;
  will-change: transform;
}
.economics {
  padding: 0 0 55px;
}
.cost-controls {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
  padding: 20px 24px;
  background: #eeefe4;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cost-controls label {
  font-size: 11px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.cost-controls output {
  position: absolute;
  right: 0;
  top: -2px;
  font: 18px var(--serif);
}
.cost-controls input[type="range"] {
  accent-color: #6f8452;
  margin: 14px 0 0;
  width: 100%;
  padding: 0;
}
.cost-controls select,
.cost-controls input[type="number"] {
  font: 12px var(--sans);
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid #ccd2bd;
  border-radius: 4px;
  color: var(--text);
  width: 100%;
}
.cost-controls label > span {
  font-size: 9px;
  font-weight: 400;
  color: var(--dim);
}
.workload-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 0 0 25px;
  gap: 20px;
}
.workload-tiles b {
  display: block;
  font: 44px/1.2 var(--serif);
  color: #526a3d;
}
.workload-tiles span {
  font-size: 11px;
  color: var(--dim);
}
.waiting-chart {
  padding: 25px 0;
}
.waiting-chart h3,
.cost-heading h3 {
  font: 27px var(--serif);
  margin: 0 0 6px;
}
.waiting-chart > p {
  font-size: 11px;
  color: var(--dim);
  margin: 0 0 22px;
}
.waiting-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 15px;
  align-items: center;
  margin: 12px 0;
  font-size: 11px;
}
.held-bar,
.saved-bar {
  height: 35px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 9px var(--mono);
  letter-spacing: 1px;
  overflow: hidden;
}
.held-bar {
  color: #8c4f4b;
  background: repeating-linear-gradient(135deg, #ead0c8 0 8px, #e1bcb4 8px 9px);
  border: 1px solid #d6aaa1;
}
.saved-bar {
  background: #eef0e4;
  border: 1px dashed #a2b386;
  justify-content: space-between;
  color: #627c48;
}
.saved-bar b {
  font-size: 8px;
  font-weight: 400;
  text-align: center;
}
.saved-bar i {
  font-style: normal;
  display: grid;
  place-items: center;
  background: #efaa75;
  color: #743c1c;
  height: 100%;
  padding: 0 12px;
}
.waiting-axis {
  margin-left: 175px;
  display: flex;
  justify-content: space-between;
  font: 9px var(--mono);
  color: #858b7b;
}
.waiting-chart .chart-note,
.chart-note {
  font-size: 9px;
  color: var(--dim);
  margin: 12px 0 0;
}
.cost-comparison {
  padding: 22px 24px;
  background: #f0f1e6;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cost-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.cost-heading > span {
  font: 8px var(--mono);
  color: var(--dim);
}
.cost-row {
  display: grid;
  grid-template-columns: 280px minmax(40px, 1fr) 110px;
  gap: 25px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #d8decb;
}
.cost-row b {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.cost-row small {
  font-size: 9px;
  color: var(--dim);
  display: block;
  margin-top: 3px;
}
.cost-row output {
  text-align: right;
  font: 15px var(--mono);
  font-variant-numeric: tabular-nums;
}
.cost-meter {
  height: 14px;
  background: #e0e5d4;
  border-radius: 2px;
  overflow: hidden;
}
.cost-meter > span {
  height: 100%;
  min-width: 3px;
  display: block;
  background: #799754;
}
.cost-meter.cpu > span {
  background: #6a9795;
}
.baseline .cost-meter > span {
  background: #cf8b7e;
}
.cost-context {
  font-size: 11px;
  line-height: 1.8;
  color: #6b7460;
  margin: 18px 0;
}
.cost-assumptions {
  font-size: 10px;
  line-height: 1.8;
  color: var(--dim);
}
.cost-assumptions summary {
  cursor: pointer;
  color: var(--text);
}
.cost-assumptions p {
  max-width: 1000px;
}
.cost-assumptions a {
  text-decoration: underline;
}
.tool-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.tool-capabilities span {
  font: 11px var(--mono);
  padding: 9px 12px;
  border: 1px solid #cbd4bb;
  border-radius: 5px;
  background: #eff2e4;
  color: #5c7346;
}
.tool-boundary {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 23px;
  font-size: 12px;
}
.tool-boundary b {
  color: var(--active);
  font-weight: 400;
}
.host-example {
  background: #eeeee3;
  padding: 18px;
  margin: 22px 0;
  border-radius: 4px;
}
.host-example pre {
  padding: 0;
  margin: 15px 0;
  font-size: 12px;
}
.host-example p {
  font-size: 11px;
  margin: 0;
}
.psychedelic .economics {
  background: #fff0d2f5;
  padding: 28px;
  margin-top: 32px;
  margin-bottom: 30px;
  border: 2px solid #763d69;
  border-radius: 24px 9px 24px 9px;
}
.psychedelic .cost-controls,
.psychedelic .cost-comparison {
  background: #f7e5b7;
}
.psychedelic .workload-tiles b {
  color: #7e3b73;
}
.psychedelic .cost-controls input[type="range"] {
  accent-color: #ad427c;
}
@media (max-width: 800px) {
  .cost-controls {
    gap: 16px;
    padding: 18px;
    grid-template-columns: 1fr 1fr;
  }
  .cost-controls label:first-child {
    grid-column: 1/-1;
  }
  .cost-row {
    grid-template-columns: 1fr 100px;
    gap: 10px;
  }
  .cost-meter {
    grid-column: 1/-1;
    grid-row: auto;
    order: 3;
    height: 9px;
  }
  .cost-row output {
    grid-column: 2;
    grid-row: auto;
  }
  .cost-row > div:first-child {
    grid-column: 1;
  }
  .cost-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .waiting-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .waiting-axis {
    margin-left: 0;
  }
  .workload-tiles b {
    font-size: 34px;
  }
  .workload-tiles span {
    font-size: 10px;
  }
  .saved-bar b {
    font-size: 7px;
    letter-spacing: 0;
  }
  .saved-bar i {
    padding: 0 8px;
    font-size: 8px;
  }
  .host-example pre {
    font-size: 10px;
  }
  .tool-boundary {
    gap: 10px;
    font-size: 10px;
  }
  .psychedelic .economics {
    padding: 20px;
  }
  .deadline-countdown {
    font-size: 15px;
  }
}
