:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #272a2c;
  --oxide: #a83228;
  --vermilion: #df5036;
  --muted: #76736f;
  --line: #e5e1da;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body, h1, h2, p, pre {
  margin: 0;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--oxide);
}
button:focus-visible, input:focus-visible, a:focus-visible, pre:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 5px;
}
::selection {
  background: #efd0c5;
  color: var(--ink);
}
.page {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  padding: 12px;
  background: var(--paper);
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand img {
  display: block;
  height: auto;
}
.family {
  font-size: 12px;
  color: var(--muted);
}
.family span {
  margin-left: 6px;
}
.hero {
  text-align: center;
  padding: 65px 0 48px;
}
.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 11px;
  margin-bottom: 22px;
}
.brand-prompt {
  font-size: 16px;
  font-weight: 700;
  color: var(--vermilion);
}
h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 630;
  line-height: 1.09;
  letter-spacing: -0.055em;
}
h1 span {
  color: var(--oxide);
}
.description {
  margin-top: 25px;
  color: #77736e;
  font-size: 15px;
  line-height: 1.7;
}
.example {
  animation: show-example 240ms ease-out both;
}
.example-picker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.example-button {
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: 12px var(--mono);
}
.example-button:hover {
  color: var(--oxide);
  background: #f2f0eb;
}
.example-button[aria-pressed="true"] {
  color: var(--oxide);
  background: #f2e8e1;
  border-color: #e9d3c7;
}
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #393a38;
  border-radius: 10px;
  background: #202221;
  color: #d8d8d0;
  box-shadow: 0 20px 55px -28px #30261970, 0 2px 6px #28241e0a;
  font-family: var(--mono);
  font-size: 12px;
}
.editor, .preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.editor {
  background: #202221;
}
.preview {
  background: #181b1a;
  border-left: 1px solid #393a38;
}
.pane-heading {
  height: 49px;
  padding: 0 21px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ffffff0c;
  color: #c3c5be;
}
.window-controls {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.window-controls i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #615551;
}
.window-controls i:nth-child(2) {
  background: #686149;
}
.window-controls i:nth-child(3) {
  background: #495d50;
}
.file-tabs {
  display: flex;
  align-self: stretch;
  gap: 4px;
  min-width: 0;
}
.file-tab {
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #91998e;
  font: inherit;
  white-space: nowrap;
}
.file-tab:hover {
  color: #d8d8d0;
}
.file-tab[aria-pressed="true"] {
  border-bottom-color: #e09b77;
  background: #ffffff05;
  color: #e09b77;
}
.file-tab:focus-visible {
  outline-offset: -4px;
}
.pane-label {
  margin-left: auto;
  font-size: 10px;
  color: #81867f;
}
.terminal-icon {
  color: #bdc4b8;
  font-size: 15px;
}
.source {
  padding: 27px 23px 27px 0;
  height: 454px;
  overflow: auto;
  font: 12px/20px var(--mono);
  white-space: normal;
}
.source-row {
  display: flex;
  height: 20px;
}
.line-number {
  width: 51px;
  flex-shrink: 0;
  padding-right: 19px;
  text-align: right;
  color: #737b73;
  user-select: none;
}
.code-line {
  display: block;
  height: 20px;
  white-space: pre;
  flex-shrink: 0;
}
.code-line > span {
  color: var(--syntax-dark);
}
.pane-footer {
  height: 34px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ffffff0b;
  color: #8c9289;
  font-size: 10px;
}
.branch {
  color: #b5bbae;
  font-size: 14px;
  padding-right: 6px;
}
.footer-dot {
  padding: 0 7px;
}
.terminal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 27px 27px 21px;
}
.run-command {
  font-size: 11px;
  white-space: nowrap;
  margin-bottom: 21px;
}
.run-command > span:first-child {
  color: #999f93;
}
.shell-prompt {
  color: var(--vermilion);
  margin: 0 8px;
}
.terminal-screen {
  --cell-height: 1em;
  margin: auto;
  position: relative;
  width: calc(var(--terminal-columns) * 1ch);
  font-size: 14px;
}
.source, .terminal-screen {
  animation: change-example 180ms ease-out both;
}
.terminal-output {
  font: inherit;
  line-height: var(--cell-height);
  color: #c7cec0;
}
.terminal-control {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  border-radius: 2px;
}
.terminal-input {
  background: #252b26;
  color: #c7cec0;
  line-height: var(--cell-height);
  caret-color: #e09b77;
  border-radius: 0;
}
button.terminal-control:hover {
  background: #df503622;
}
.terminal-control:focus-visible {
  outline-offset: -2px;
}
.runtime-status {
  display: flex;
  align-items: center;
  gap: 7px;
}
.runtime-status i {
  width: 5px;
  height: 5px;
  background: #93ad8a;
  border-radius: 50%;
}
.example-caption {
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
}
.example-caption p > span:first-child {
  margin-right: 5px;
  color: var(--oxide);
}
.try-it {
  color: #555850;
}
.installation {
  padding: 49px 0 43px;
  text-align: center;
}
h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 17px;
}
.install-box {
  width: min(660px, 100%);
  margin: 0 auto;
  border: 1px solid #ddd9d0;
  border-radius: 6px;
  background: #f2f0eb;
}
.install-methods {
  display: flex;
  gap: 24px;
  padding: 0 18px;
  border-bottom: 1px solid #ddd9d0;
}
.install-methods button {
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: 12px var(--mono);
}
.install-methods button:hover {
  color: var(--oxide);
}
.install-methods button[aria-pressed="true"] {
  color: var(--oxide);
  border-bottom-color: var(--oxide);
}
.install-command {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
}
.install-command > .shell-prompt {
  margin: 0 8px 0 0;
  font: 14px var(--mono);
}
.install-command code {
  min-width: 0;
  overflow-wrap: anywhere;
  font: 12px var(--mono);
  user-select: all;
  text-align: left;
}
.copy-button {
  display: grid;
  grid-template-columns: 17px auto;
  min-height: 24px;
  gap: 7px;
  align-items: center;
  padding: 0 0 0 19px;
  margin-left: auto;
  border: 0;
  border-left: 1px solid #dcd8cf;
  background: transparent;
  color: #6c6b62;
  font-size: 11px;
  white-space: nowrap;
}
.copy-button:hover {
  color: var(--oxide);
}
.copy-button img {
  grid-area: 1 / 1;
}
.copy-button.copied img {
  visibility: hidden;
}
.copy-button.copied::after {
  content: "✓";
  grid-area: 1 / 1;
  color: var(--oxide);
  font-size: 17px;
}
.install-note {
  margin-top: 13px;
  font-size: 10px;
  color: #79756d;
}
.install-note span {
  margin: 0 7px;
}
.quick-start {
  margin-top: 28px;
  font-size: 12px;
}
.quick-start pre {
  width: fit-content;
  margin: 14px auto;
  padding-left: 16px;
  border-left: 2px solid var(--line);
  text-align: left;
  font: 12px/1.9 var(--mono);
}
.quick-start a {
  color: var(--oxide);
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 0 31px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
footer a {
  display: flex;
  gap: 8px;
  align-items: center;
}
footer a > span:last-child {
  color: #88877e;
}
.link-divider {
  width: 1px;
  height: 12px;
  background: #d9d5ce;
}
.handle {
  color: var(--muted);
}
footer p {
  color: #8b877d;
  font-size: 11px;
}
@keyframes show-example {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes change-example {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1000px) {
  .page {
    width: calc(100% - 48px);
  }
  .studio {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
  .source {
    font-size: 10px;
    padding-right: 10px;
  }
  .line-number {
    width: 35px;
    padding-right: 11px;
  }
  .terminal-body {
    padding-inline: 18px;
  }
  .terminal-screen {
    font-size: 11px;
  }
}
@media (max-width: 720px) {
  .page {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 80px;
  }
  .brand img {
    width: 145px;
  }
  .family {
    font-size: 10px;
  }
  .hero {
    padding: 45px 0 32px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: clamp(34px, 6.4vw, 46px);
  }
  .description {
    max-width: 290px;
    margin: 20px auto 0;
    font-size: 13px;
  }
  .studio {
    grid-template-columns: 1fr;
  }
  .preview {
    border-left: 0;
    border-top: 1px solid #393a38;
  }
  .example-button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .source {
    height: 340px;
    padding: 19px 14px 21px 0;
    font-size: 11px;
  }
  .line-number {
    width: 36px;
  }
  .file-tab {
    padding-inline: 8px;
    font-size: 11px;
  }
  .editor .pane-footer {
    display: none;
  }
  .terminal-body {
    padding: 21px 24px 16px;
  }
  .terminal-screen {
    font-size: clamp(10px, 3.3vw, 13px);
  }
  .pane-heading {
    height: 43px;
    padding-inline: 17px;
  }
  .example-caption {
    font-size: 10px;
    line-height: 1.7;
    margin-top: 13px;
  }
  .try-it {
    display: block;
    margin-left: 16px;
  }
  .installation {
    padding: 36px 0;
  }
  h2 {
    font-size: 15px;
  }
  .install-command {
    gap: 5px;
    padding: 15px 12px;
    width: 100%;
  }
  .install-command code {
    font-size: 10px;
  }
  .copy-button {
    margin-left: auto;
    padding-left: 12px;
  }
  .copy-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  footer nav {
    gap: 10px;
  }
  footer {
    flex-direction: column;
    gap: 23px;
    padding: 23px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .example, .source, .terminal-screen {
    animation: none;
  }
}

.terminal-error {
  color: #ffb39f;
  font-size: 11px;
  line-height: 1.5;
}
