@font-face {
  font-family: 'Ioskeley Mono';
  src: url('/_jar/assets/IoskeleyMono-Regular-d7d684643b.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
    'Helvetica Neue', sans-serif;
  overflow-x: hidden;
}
html, body {
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
}

body {
  background-color: #f8f6f1;
  background-image: url("/paper-texture.svg"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%237b7164' opacity='.045' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  background-blend-mode: multiply, normal;
  background-repeat: no-repeat, repeat;
  background-size: max(100%, 900px) 1100px, 180px 180px;
  background-position: top left;
}

button, input, select, textarea {
  font-family: inherit;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

:root {
  --font-ioskeley-mono: 'Ioskeley Mono', ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;
  --sh-class: #24292e;
  --sh-identifier: #354150;
  --sh-sign: #24292e;
  --sh-string: #57a3a7;
  --sh-keyword: #d73a49;
  --sh-comment: #6a737d;
  --sh-jsxliterals: #24292e;
  --sh-entity: #424d5b;
  --sh-property: #83898f;
}

a, a:focus, a:visited {
  color: inherit;
}
a:hover {
  color: #424d5b;
}

main {
  padding: 0;
}

footer {
  margin-top: 4rem;
  padding: 0 32px 2.25rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-top: 1.125rem;
  border-top: 1px solid #e7e5e4;
  color: #737373;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
}

.footer-social a:hover {
  background: #eeece6;
}

.footer-social a:focus-visible {
  outline: 2px solid #586349;
  outline-offset: 2px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.home-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #171717;
  text-decoration: none;
}

.home-link:hover { background: #eeece6; }
.home-link:focus-visible { outline: 2px solid #586349; outline-offset: 2px; }

.site-footer a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-center {
  text-align: center;
}

.editor {
  position: relative;
  display: flex;
  overflow-y: scroll;
  justify-content: stretch;
  flex-direction: column;
}

.executor {
  position: absolute;
  right: 8px;
  top: 8px;
  border: none;
  background: #333;
  border-radius: 4px;
  color: #fff;
}

.intro-section {
  position: relative;
  margin: 0;
  padding: 100px 32px 64px;
  color: #171717;
}
.site-nav { display: flex; align-items: center; gap: 8px; color: #777b6e; font-size: 14px; }
.site-nav a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 9px; border-radius: 6px; text-decoration: none; }
.site-nav a:hover { color: #171717; background: #eeece6; }
.site-nav a[aria-current="page"] { color: #292d24; background: #e8e5db; font-weight: 600; }
.site-nav a:focus-visible { outline: 2px solid #586349; outline-offset: 2px; }
.intro-section > .site-nav { position: absolute; top: 28px; right: 32px; }
.intro-section h1 { margin: 0; font-size: clamp(72px, 9vw, 120px); font-weight: 600; letter-spacing: -.07em; line-height: 1; }
.intro-copy { margin: 20px 0 0; color: #737373; font-size: clamp(18px, 2.2vw, 26px); font-weight: 300; letter-spacing: -.025em; line-height: 1.4; }
.intro-agents { margin: 10px 0 0; color: #8a8781; font-size: 13px; font-weight: 400; line-height: 1.5; }
.intro-command { position: relative; max-width: 580px; margin-top: 32px; }
.intro-command-tabs { display: flex; gap: 24px; border-bottom: 1px solid #e8e8e8; }
.intro-command-tabs button { padding: 0 0 10px; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; background: none; color: #8a8a8a; font-size: 12px; cursor: pointer; }
.intro-command-tabs button[aria-selected="true"] { color: #171717; border-bottom-color: #171717; }
.intro-command-tabs button:hover { color: #171717; }
.intro-command-panel { min-height: 102px; padding: 18px 42px 18px 0; }
.intro-command-panel code { font: 12px/1.8 var(--font-ioskeley-mono); color: #575757; overflow-wrap: anywhere; white-space: pre-wrap; }
.intro-command-copy { position: absolute; top: 44px; right: 0; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 5px; color: #737373; background: none; cursor: pointer; }
.intro-command-copy:hover { background: #f4f4f4; color: #171717; }
.intro-command-status { position: absolute; top: 100%; left: 0; font-size: 11px; color: #737373; }
.intro-section :focus-visible { outline: 2px solid #737373; outline-offset: 4px; }

.section-links a {
  color: #404756;
  font-size: 0.875rem;
  font-weight: 500;
  text-underline-offset: 3px;
}

.playground-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 0 0 2rem;
}

.section-intro {
  margin: 0;
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.playground-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
}

.playground-wrapper:has([data-codesandbox="gl"]) {
  max-width: 760px;
}

.usage-section {
  width: 100%;
  max-width: 680px;
  margin: 3rem 0;
  padding: 0 0.5rem;
}

.usage-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: #404756;
  margin: 0 0 1rem 0;
}

.usage-example h3,
.section h3 {
  font-size: 18px;
  font-weight: 500;
  color: #404756;
  margin: 0 0 0.75rem 0;
}

.usage-example h4 {
  font-size: 16px;
  font-weight: 500;
  color: #404756;
  margin: 1.5rem 0 0.75rem 0;
}

.usage-example p,
.section p {
  color: #6b7280;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.section p code {
  font-family: var(--font-ioskeley-mono);
  color: #404756;
  font-size: 0.875em;
  background-color: #eeece6;
  border-radius: 4px;
  padding: 0.12em 0.3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.code-block {
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow:
    -1px -1px 2px rgba(0, 0, 0, 0.03),
    1px 1px 2px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease-in-out;
}

.code-block:hover {
  box-shadow:
    -2px -2px 4px rgba(0, 0, 0, 0.05),
    2px 2px 4px rgba(0, 0, 0, 0.05);
}
.code-block pre {
  margin: 0;
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.5;
}

.code-block code {
  font-family: var(--font-ioskeley-mono);
  user-select: text;
}

.code-block .sh__line {
  display: block;
}

.playground {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.4;
  width: 100%;
  max-width: 680px;
}

.showcase {
  justify-content: center;
  line-height: 1.4;
  margin: 2rem 0;
}

.section {
  max-width: 680px;
  border-bottom: 1px dashed #e5e7eb;
  padding: 32px 0;
}

.section:last-child {
  border-bottom: 0;
}

@media (max-width: 640px) {
  main {
    padding: 0;
  }
  footer {
    padding: 0 16px 2rem;
  }
  .intro-section {
    margin: 0;
    padding: 88px 12px 36px;
  }
  .intro-section h1 {
    font-size: clamp(72px, 18vw, 96px);
  }
  .usage-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .site-footer {
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 0.75rem;
  }
  [data-codesandbox] .codesandbox-layout {
    flex-direction: column;
    min-height: auto;
    height: auto;
    flex: 0 0 auto;
  }
  [data-codesandbox] .codesandbox-layout > .filetree {
    order: 1;
    width: auto;
    min-width: auto;
    max-width: 100%;
  }
  [data-codesandbox] .codesandbox-layout > .editor {
    order: 2;
    width: auto;
    flex: 0 0 auto;
  }
  [data-codesandbox] .filetree {
    width: auto;
    min-width: auto;
    max-width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    height: auto;
    max-height: 180px;
    flex-shrink: 0;
    flex-grow: 1;
    flex-basis: auto;
  }
  .filetree-root {
    display: flex;
    padding: 8px 12px;
    flex-shrink: 0;
  }
  [data-codesandbox] .filetree-files {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 140px;
  }
  .filetree-item {
    padding: 4px 12px;
    white-space: nowrap;
    flex-shrink: 0;
    width: 100%;
    border-radius: 0;
  }
  .filetree-item--nested {
    padding-left: 28px;
  }
  .filetree-item-name {
    max-width: none;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .filetree-item--editing {
    min-width: 150px;
  }
  .filetree-item-input {
    min-width: 120px;
  }
  [data-codesandbox] .editor {
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: auto;
    flex: 0 0 auto;
  }
  [data-codesandbox] {
    height: auto;
    min-height: auto;
  }
  [data-codesandbox] .codesandbox-layout {
    height: auto;
  }
  .preview {
    padding: 0;
  }
  .playground-wrapper {
    padding: 0 12px;
  }
}

#live-demo { scroll-margin-top: 20px; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) and (min-width: 641px) { .intro-section { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 640px) { .intro-section > .site-nav { top: 20px; right: 12px; } .intro-command-panel { min-height: 124px; } .site-nav { gap: 0; font-size: 13px; } .site-nav a { padding: 0 7px; } }

.deploy-section { max-width: 1440px; margin: 64px 0 0; padding: 0 32px; color: #40403b; }
.deploy-terminal { max-width: 1024px; }
.deploy-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.deploy-heading h2 { margin: 12px 0; font-size: clamp(28px, 4vw, 38px); font-weight: 500; letter-spacing: -.045em; }
.deploy-heading p { margin: 0; font-size: 14px; color: #73716b; line-height: 1.6; }
.deploy-build-snippet { display: flex; align-items: center; gap: 18px; width: fit-content; max-width: 100%; padding: 12px 16px; border: 1px solid #dedbd3; border-radius: 6px; background: #f5f2eb; }
.deploy-build-snippet span { color: #827c71; font-size: 12px; }
.deploy-build-snippet code { color: #292d24; font: 12px/1.6 var(--font-ioskeley-mono); white-space: nowrap; }
.deploy-terminal-body { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 24px 0; }
.deploy-terminal code, .deploy-terminal pre { font: 12px/1.8 var(--font-ioskeley-mono); }
.deploy-terminal pre { margin: 0; }
.deploy-step-ready { color: #8a8377; padding: 6px 0 24px; }
.deploy-step-files { color: #8a8377; padding: 16px 0 24px; }
.deploy-prompt { color: #a49b8b; }
.deploy-step-upload { padding-top: 16px; color: #8a8377; }
.deploy-step-done { color: #52775a; padding-top: 8px; }
.deploy-browser { min-width: 0; }
.deploy-browser-address { display: grid; flex: 1; min-width: 0; padding: 4px 12px; border-bottom: 1px solid #dcd8cf; text-align: center; font: 9px/1.4 var(--font-ioskeley-mono); }
.deploy-browser-address span { grid-area: 1 / 1; }
.deploy-url-local { opacity: 0; }
.deploy-url-live { color: #52775a; }
.deploy-preview { position: relative; isolation: isolate; overflow: hidden; padding: 30px 0 24px; min-height: 240px; color: #334c3c; }
.deploy-preview-label { font-size: 7px; letter-spacing: .1em; }
.deploy-preview-title { margin-top: 10px; font: 48px/.95 Georgia, serif; letter-spacing: -.06em; }
.deploy-preview p { font-size: 10px; margin: 12px 0 18px; }
.deploy-preview-art { position: absolute; z-index: -1; right: 24px; bottom: 28px; width: 130px; height: 150px; transform: rotate(-25deg); }
.deploy-preview-art span { position: absolute; inset: 0; border: 1px solid #9faa87; border-radius: 50%; background: #c9d0b530; }
.deploy-preview-art span:nth-child(2) { transform: translateX(-18px); }
.deploy-preview-art span:nth-child(3) { transform: translateX(-36px); }
.deploy-note { margin: 14px 0 0; color: #827c71; font-size: 11px; line-height: 1.7; }
.deploy-note a { text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .deploy-step { opacity: 0; }
  .deploy-url-local { opacity: 1; }
  .deploy-url-live { opacity: 0; }
  .is-playing .deploy-step { animation: deploy-dev 16s infinite; }
  .is-playing .deploy-step-ready { animation-name: deploy-ready; }
  .is-playing .deploy-step-build { animation-name: deploy-build; }
  .is-playing .deploy-step-files { animation-name: deploy-files; }
  .is-playing .deploy-step-command { animation-name: deploy-command; }
  .is-playing .deploy-step-upload { animation-name: deploy-upload; }
  .is-playing .deploy-step-done, .is-playing .deploy-url-live { animation: deploy-live 16s infinite; }
  .is-playing .deploy-url-local { animation: deploy-local 16s infinite; }
  .is-playing .deploy-browser-address { animation: deploy-address 16s infinite; }
  .deploy-preview-art span:first-child { animation: deploy-circle-one 5s ease-in-out infinite alternate; }
  .deploy-preview-art span:nth-child(2) { animation: deploy-circle-two 6s ease-in-out infinite alternate; }
  .deploy-preview-art span:nth-child(3) { animation: deploy-circle-three 7s ease-in-out infinite alternate; }
}
@keyframes deploy-dev { 0% { opacity: 1; clip-path: inset(0 100% 0 0); } 8%, 94% { opacity: 1; clip-path: inset(0); } 100% { opacity: 0; } }
@keyframes deploy-ready { 0%, 9% { opacity: 0; } 13%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes deploy-build { 0%, 22% { opacity: 0; clip-path: inset(0 100% 0 0); } 23% { opacity: 1; } 32%, 94% { opacity: 1; clip-path: inset(0); } 100% { opacity: 0; } }
@keyframes deploy-files { 0%, 33% { opacity: 0; } 37%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes deploy-command { 0%, 45% { opacity: 0; clip-path: inset(0 100% 0 0); } 46% { opacity: 1; } 57%, 94% { opacity: 1; clip-path: inset(0); } 100% { opacity: 0; } }
@keyframes deploy-upload { 0%, 58% { opacity: 0; } 62%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes deploy-live { 0%, 66% { opacity: 0; } 70%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes deploy-local { 0%, 66% { opacity: 1; } 70%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes deploy-address { 0%, 66%, 100% { background: transparent; } 70%, 96% { background: #e6ede1; } }
@keyframes deploy-circle-one { from { transform: translate(0, 0); } to { transform: translate(18px, -22px); } }
@keyframes deploy-circle-two { from { transform: translateX(-18px); } to { transform: translate(-42px, 18px); } }
@keyframes deploy-circle-three { from { transform: translateX(-36px); } to { transform: translate(-12px, -24px); } }
@media (max-width: 640px) {
  .deploy-section { padding: 0 12px; margin-top: 40px; }
  .deploy-terminal-body { grid-template-columns: 1fr; gap: 24px; padding: 20px 0; }
  .deploy-browser { width: 100%; max-width: 380px; justify-self: start; }
}

.preview-demo-files { display: flex; flex-wrap: wrap; gap: 8px; }
.preview-demo-files button { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; border: 1px solid #dedbd3; border-radius: 6px; background: transparent; color: #827c71; font: inherit; font-size: 12px; cursor: pointer; }
.preview-demo-files button code { color: #292d24; font: 12px/1.6 var(--font-ioskeley-mono); }
.preview-demo-files button[aria-pressed="true"] { background: #f5f2eb; border-color: #c9c4b8; }
.preview-demo-files button:focus-visible { outline: 2px solid #52775a; outline-offset: 2px; }
.preview-demo-body { max-width: 1024px; }
.preview-demo-terminal { display: flex; flex-direction: column; min-height: 200px; }
.preview-demo-terminal code, .preview-demo-terminal pre { font: 12px/1.8 var(--font-ioskeley-mono); }
.preview-demo-muted { color: #8a8377; }
.preview-demo-caption { margin: 20px 0 0; color: #73716b; font-size: 12px; line-height: 1.6; max-width: 360px; }
.preview-demo-page { min-height: 240px; padding: 28px 0 24px; color: #334c3c; }
.preview-demo-kicker { font-size: 7px; letter-spacing: .1em; }
.preview-demo-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin-top: 18px; border-bottom: 1px solid #c8cdb8; }
.preview-demo-bars span { flex: 1; border-radius: 2px 2px 0 0; background: #9faa87; }
.preview-demo-bars span:nth-child(6) { background: #52775a; }
.preview-demo-notes-title { font: 34px/1 Georgia, serif; letter-spacing: -.04em; }
.preview-demo-notes p, .preview-demo-notes ul { font-size: 11px; line-height: 1.7; margin: 14px 0 0; }
.preview-demo-notes ul { padding-left: 16px; }
.preview-demo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.preview-demo-stats div { padding: 14px; border: 1px solid #d8dccb; border-radius: 4px; background: #c9d0b530; }
.preview-demo-stats strong { display: block; font: 30px/1 Georgia, serif; letter-spacing: -.04em; }
.preview-demo-stats span { font-size: 10px; color: #6b7a62; }
.preview-demo-lines { display: grid; gap: 8px; margin-top: 20px; }
.preview-demo-lines span { height: 6px; border-radius: 3px; background: #d8dccb; }
.preview-demo-lines span:nth-child(2) { width: 82%; }
.preview-demo-lines span:nth-child(3) { width: 60%; }
.deploy-note code { font: 11px/1.6 var(--font-ioskeley-mono); }
@media (max-width: 640px) {
  .preview-demo-terminal { min-height: 0; }
}
