@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;550;600;650;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

@font-face {
  font-family: "Hack";
  src: url("fonts/hack-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hack";
  src: url("fonts/hack-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.file-check {
  appearance: none;
  width: 3ch;
  height: 19px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  font: inherit;
  color: #b1bac4;
}
.file-check::before {
  content: "[ ]";
  font-size: inherit;
  white-space: pre;
}
.file-check:checked::before {
  content: "[✓]";
}
.bulk-action {
  background: none;
  border: 0;
  color: #b1bac4;
  font: inherit;
  margin-left: 8px;
  padding: 0 2px;
}
.pane-heading > div {
  display: flex;
  align-items: center;
}

:root {
  color-scheme: dark;
  --paper: #0d1117;
  --ink: #f0f3f6;
  --muted: #8b949e;
  --accent: #91ba9b;
  --line: #30363d;
  --mono: "IBM Plex Mono", monospace;
  --terminal-font: "Hack", monospace;
  --sans: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1240px;
  width: calc(100% - 96px);
  margin-inline: auto;
}
.site-header {
  height: 88px;
  border-bottom: 1px solid var(--line);
}
.header-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  font-size: 29px;
  font-family: system-ui;
}
nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: #a7b1bd;
}
nav a:hover,
.text-link:hover {
  color: var(--accent);
}
.github-link span {
  margin-left: 6px;
}
.github-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: -3px;
  margin-right: 7px;
}
.hero {
  text-align: center;
  padding: 64px 0 48px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ee787;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(64px, 7vw, 92px);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -4.7px;
  margin: 24px 0;
}
.hero h1 span {
  color: var(--accent);
}
.hero-description {
  font-size: 17px;
  color: #a1abb7;
  line-height: 1.8;
  margin: 0;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 29px;
  margin-top: 27px;
  font-size: 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  border-radius: 5px;
  padding: 13px 20px;
  font-weight: 600;
}
.primary {
  background: var(--accent);
  color: #0d1117;
  border: 1px solid #a4c8ad;
}
.primary:hover {
  background: #a4c8ad;
}
.text-link {
  display: flex;
  gap: 15px;
  color: #b1bac4;
}
.hero-note {
  font-family: var(--mono);
  font-size: 13px;
  color: #7d8590;
  margin-top: 20px;
}
.terminal-window {
  border: 1px solid #484f58;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 25px 80px #0005;
}
.terminal-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 86px;
  background: linear-gradient(#292d33, #23272d);
  border-bottom: 1px solid #0d1117;
}
.terminal-traffic-lights {
  position: absolute;
  left: 16px;
  display: flex;
  gap: 8px;
}
.terminal-traffic-lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 1px #0002;
}
.terminal-traffic-lights i:nth-child(2) {
  background: #febc2e;
}
.terminal-traffic-lights i:nth-child(3) {
  background: #28c840;
}
.terminal-window-title {
  font-size: 12px;
  font-weight: 500;
  color: #b1bac4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terminal {
  background: #161b22;
  color: #f0f3f6;
  padding: 4px;
  overflow: hidden;
  font-family: var(--terminal-font);
  font-size: 13px;
}
.app-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 35px;
  padding: 0 9px;
  border-bottom: 1px solid #30363d;
}
.app-tabs button {
  background: none;
  border: 0;
  color: #b1bac4;
  font: inherit;
  padding: 5px 0 8px;
  border-bottom: 2px solid transparent;
}
.app-tabs button[aria-selected="true"] {
  color: #f0f3f6;
  font-weight: 600;
  border-color: #b1bac4;
}
.app-body {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  height: 508px;
  padding-top: 7px;
}
.file-pane {
  border-right: 1px solid #6e7681;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding-right: 5px;
  overflow: auto;
}
#file-list {
  display: flex;
  flex-direction: column;
  flex: 2;
  min-height: 0;
}
.status-section {
  flex: 1;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #6e7681;
  margin-bottom: 7px;
  padding-bottom: 8px;
}
.pane-heading {
  height: 21px;
  min-height: 21px;
  background: #21262d;
  padding: 1px 5px;
  color: #b1bac4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.25px;
}
.pane-heading span {
  color: #7ee787;
  white-space: nowrap;
}
.pane-heading .negative {
  color: #ff7b72;
}
.section-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid #6e7681;
  margin: 7px 4px 0;
  padding: 4px;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  height: 23px;
}
.file-row.selected {
  background: #174ea6;
}
.file-status {
  color: #b1bac4;
}
.file-select {
  border: 0;
  padding: 0;
  background: none;
  color: #f0f3f6;
  flex: 1;
  text-align: left;
  font: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkbox-decoration {
  white-space: pre;
  color: #b1bac4;
  flex-shrink: 0;
}
.selected .file-select,
.selected .file-status,
.selected .checkbox-decoration {
  color: white;
}
.stage-action {
  border: 0;
  color: #b1bac4;
  background: none;
  width: 20px;
  height: 21px;
  font: inherit;
  flex-shrink: 0;
}
.stage-action:hover {
  background: #30363d;
  color: #fff;
}
.history {
  flex: 1;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  padding-bottom: 5px;
}
.commit,
.commit-static {
  display: block;
  border: 0;
  background: none;
  text-align: left;
  color: #f0f3f6;
  font: inherit;
  line-height: 23px;
  padding: 0 2px;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.commit:hover,
.commit.active {
  background: #174ea6;
}
.commit small {
  color: #8b949e;
  font-size: inherit;
  margin-left: 5px;
}
.code-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-left: 5px;
  background: #272822;
}
.code-toolbar {
  height: 21px;
  min-height: 21px;
  background: #21262d;
  padding: 0 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #b1bac4;
  gap: 10px;
}
.code-toolbar > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.code-toolbar > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.diff-stats {
  color: #7ee787;
  white-space: nowrap;
}
.diff-stats span {
  color: #ff7b72;
  margin-left: 7px;
}
.code-toolbar button {
  background: none;
  border: 0;
  color: #f0f3f6;
  font: inherit;
  padding: 0 2px;
}
.code-scroll {
  flex: 1;
  overflow: auto;
  position: relative;
  scroll-behavior: smooth;
  scrollbar-color: #58a6ff #0d1117;
  scrollbar-width: thin;
}
.code-line {
  display: flex;
  min-height: 22px;
  line-height: 22px;
  white-space: pre;
  width: max-content;
  min-width: 100%;
}
.line-gutter {
  display: inline-flex;
  flex-shrink: 0;
  background: #1a1d1d;
  color: #7d8590;
  user-select: none;
  margin-right: 10px;
}
.line-number {
  width: 37px;
  text-align: right;
  padding-right: 5px;
}
.line-marker {
  width: 12px;
  text-align: center;
}
.line-content {
  padding-right: 20px;
}
.code-line.added {
  background: #142b1d;
}
.code-line.removed {
  background: #351b20;
}
.added .line-gutter {
  background: #102019;
  color: #79a580;
}
.removed .line-gutter {
  background: #25161b;
  color: #b18483;
}
.code-line.current-change {
  box-shadow: inset -2px 0 #58a6ff;
}
.syn-comment {
  color: #75715e;
}
.syn-keyword {
  color: #66d9ef;
}
.syn-string {
  color: #e6db74;
}
.syn-function {
  color: #a6e22e;
}
.syn-self {
  color: #fd971f;
}
.app-status {
  display: flex;
  justify-content: space-between;
  background: #21262d;
  padding: 3px 7px;
  line-height: 18px;
  color: #b1bac4;
  border-top: 1px solid #6e7681;
  margin-top: 2px;
}
.app-status > span:last-child {
  color: #7d8590;
}
.demo-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: #7d8590;
  font-family: var(--mono);
  font-size: 12px;
  gap: 10px;
}
.demo-bottom button {
  background: none;
  border: 0;
  font: inherit;
  color: #b1bac4;
  padding: 4px;
  white-space: nowrap;
}
kbd {
  font: inherit;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 3px;
  padding: 2px 5px;
  font-size: 12px;
  color: #b1bac4;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  padding-block: 68px 76px;
}
.features h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin: 0 0 15px;
}
.features p {
  font-size: 16px;
  line-height: 1.85;
  color: #8b949e;
  max-width: 350px;
}
.feature-footnote {
  font-family: var(--mono);
  font-size: 12px;
  color: #8b949e;
  display: block;
  margin-top: 24px;
}
.workflow {
  border-block: 1px solid #30363d;
  background: #10151c;
  padding: 70px 0;
}
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  gap: 60px;
}
.workflow h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.3px;
  line-height: 1.16;
  margin: 22px 0;
}
.workflow h2 span {
  color: var(--accent);
}
.workflow-copy p {
  color: #8b949e;
  font-size: 16px;
  line-height: 1.85;
  max-width: 325px;
}
.workspace {
  background: #161b22;
  padding: 14px;
  border-radius: 5px;
  border: 1px solid #30363d;
  font-family: var(--terminal-font);
  font-size: 7px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 5px;
}
.agent-pane,
.mini-git,
.command-pane {
  background: #0d1117;
  border: 1px solid #6e7681;
  color: #c6ced0;
  overflow: hidden;
}
.agent-pane {
  position: relative;
  min-height: 260px;
}
.mini-title {
  padding: 10px;
  border-bottom: 1px solid #30363d;
  color: #d4ded4;
  display: flex;
  justify-content: space-between;
}
.mini-title span {
  color: #8b949e;
}
.agent-message {
  background: #161b22;
  border-left: 2px solid var(--accent);
  margin: 18px 9px 10px;
  padding: 9px 6px;
  line-height: 1.7;
}
.agent-pane p {
  line-height: 1.8;
  margin: 12px 12px;
  color: #b1bac4;
}
.agent-command {
  margin: 0 9px;
  background: #010409;
  padding: 9px 6px;
  line-height: 1.9;
}
.agent-command > span:first-child {
  color: var(--accent);
}
.mini-muted {
  color: #7d8590;
}
.mini-green {
  color: #7ee787;
}
.agent-prompt {
  border-top: 1px solid #30363d;
  border-bottom: 1px solid #30363d;
  padding: 10px;
  color: var(--accent);
  margin-top: 16px;
}
.agent-prompt span {
  color: #8b949e;
}
.agent-prompt i {
  height: 9px;
  width: 4px;
  background: var(--accent);
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}
.mini-git {
  display: flex;
  flex-direction: column;
  height: 244px;
  background: #161b22;
  padding: 2px;
}
.mini-tabs {
  display: flex;
  gap: 8px;
  padding: 3px 4px;
  border-bottom: 1px solid #30363d;
  color: #b1bac4;
}
.mini-tabs > span:first-child {
  color: #f0f3f6;
  font-weight: 700;
  border-bottom: 1px solid #b1bac4;
  padding-bottom: 2px;
}
.mini-git-body {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  flex: 1;
  min-height: 0;
  padding-top: 3px;
}
.mini-sidebar {
  display: grid;
  grid-template-rows: 1fr 1fr 1.2fr;
  gap: 4px;
  border-right: 1px solid #6e7681;
  padding-right: 3px;
  min-height: 0;
}
.mini-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.mini-section-heading,
.mini-viewer-heading {
  background: #21262d;
  color: #b1bac4;
  font-weight: 700;
  padding: 1px 2px;
  white-space: nowrap;
}
.mini-section-box {
  border: 1px solid #6e7681;
  margin: 3px 1px 0;
  padding: 2px;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  line-height: 11px;
}
.mini-file-selected {
  background: #174ea6;
  color: white;
  margin-inline: -1px;
  padding-inline: 1px;
}
.mini-viewer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  margin-left: 3px;
}
.mini-viewer-heading {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  overflow: hidden;
}
.mini-viewer-heading > span {
  color: #7ee787;
}
.mini-viewer-heading > span > span {
  color: #ff7b72;
}
.mini-code-line {
  display: grid;
  grid-template-columns: 1ch 4ch 4ch minmax(0, 1fr);
  min-width: max-content;
  line-height: 11px;
}
.mini-code-line > span {
  background: #1a1d1d;
  color: #7d8590;
  text-align: right;
  padding-right: 2px;
}
.mini-code-line code {
  font: inherit;
  white-space: nowrap;
  padding-left: 5px;
}
.mini-diff {
  white-space: nowrap;
  overflow: hidden;
  background: #272822;
  flex: 1;
}
.mini-removed {
  background: #351b20;
  color: #f0f3f6;
}
.mini-added {
  background: #142b1d;
  color: #f0f3f6;
}
.mini-removed > span {
  background: #25161b;
  color: #b18483;
}
.mini-added > span {
  background: #102019;
  color: #79a580;
}
.mini-status {
  padding: 2px 3px;
  margin-top: 2px;
  background: #21262d;
  color: #b1bac4;
  display: flex;
  justify-content: space-between;
}
.command-pane {
  grid-column: 2;
  padding: 12px 10px;
}
.agent-pane {
  grid-row: span 2;
}
.install {
  text-align: center;
  padding-block: 75px 65px;
}
.install h2 {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -1.6px;
  line-height: 1.1;
  margin: 22px 0 17px;
}
.install > p {
  font-size: 16px;
  color: #8b949e;
}
.install-command {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 14px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 5px;
  padding: 14px 16px;
  max-width: 900px;
  margin: 28px auto 11px;
  font-size: 11px;
}
.install-command > span {
  color: var(--accent);
  font-family: var(--mono);
}
.install-command code {
  font-family: var(--mono);
  font-size: 13px;
  overflow-wrap: anywhere;
  line-height: 1.8;
  flex: 1;
  color: #c9d1d9;
}
.install-command button {
  border: 1px solid #484f58;
  background: #21262d;
  color: #b1bac4;
  font-size: 13px;
  padding: 8px 11px;
  border-radius: 4px;
  white-space: nowrap;
}
.install-command button:hover {
  background: #30363d;
}
.install-command button span {
  margin-left: 10px;
}
.install-details {
  max-width: 900px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 16px;
  flex-wrap: wrap;
  color: #8b949e;
}
.install-details code {
  font-family: var(--mono);
  font-size: 13px;
  color: #b1bac4;
}
footer {
  border-top: 1px solid var(--line);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 25px 32px;
}
footer .wordmark {
  font-size: 19px;
  color: #b1bac4;
}
.footer-link {
  font-size: 13px;
  color: #8b949e;
}
.footer-link:hover {
  color: var(--accent);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #21262d;
  border: 1px solid #6e7681;
  color: #f0f3f6;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
  box-shadow: 0 6px 25px #0005;
  z-index: 5;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.find-input {
  width: calc(100% - 16px);
  margin: 8px;
  background: #0d1117;
  color: #f0f3f6;
  border: 1px solid #6e7681;
  padding: 7px;
  font: inherit;
}
.find-note {
  padding: 5px 10px;
  color: #8b949e;
}
.directory-label {
  padding: 10px;
  color: #b1bac4;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .app-body {
    grid-template-columns: 235px minmax(0, 1fr);
  }
  .features {
    gap: 25px;
  }
  .workflow-grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }
  .workflow h2 {
    font-size: 30px;
  }
  .workspace {
    padding: 10px;
  }
  .hero h1 {
    letter-spacing: -4px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 72px;
  }
  .wordmark {
    font-size: 21px;
  }
  nav {
    gap: 20px;
    font-size: 13px;
  }
  nav a:nth-child(2) {
    display: none;
  }
  .hero {
    padding: 45px 0 35px;
  }
  .hero h1 {
    font-size: 65px;
    letter-spacing: -3.5px;
    margin: 24px 0;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.8;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    font-size: 14px;
    gap: 22px;
  }
  /* Preserve terminal readability; scroll instead of shrinking its text. */
  .terminal {
    overflow-x: auto;
  }
  .app-tabs,
  .app-body,
  .app-status {
    min-width: 760px;
  }
  .app-body {
    grid-template-columns: 235px minmax(0, 1fr);
    height: 440px;
  }
  .file-row {
    padding-inline: 2px;
    gap: 4px;
    height: 22px;
  }
  .pane-heading {
    padding-inline: 4px;
  }
  .section-content {
    margin-inline: 1px;
    padding: 1px;
  }
  .commit small {
    display: none;
  }
  .history {
    min-height: 140px;
  }
  .line-gutter {
    margin-right: 6px;
  }
  .code-toolbar {
    padding-inline: 5px;
  }
  .code-toolbar > div {
    gap: 4px;
  }
  .app-tabs {
    height: 32px;
  }
  .app-status {
    padding-inline: 5px;
  }
  .app-status > span:last-child {
    display: none;
  }
  .features {
    padding-block: 45px;
    gap: 25px;
    grid-template-columns: 1fr;
  }
  .features article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
  }
  .features article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .features h2 {
    font-size: 27px;
    margin: 12px 0;
  }
  .features h2 br {
    display: none;
  }
  .features p {
    max-width: none;
  }
  .feature-footnote {
    margin-top: 15px;
  }
  .workflow {
    padding-block: 45px;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .workflow-copy p {
    max-width: none;
  }
  .workflow h2 {
    font-size: 35px;
  }
  .workflow h2 br:last-child {
    display: none;
  }
  .workspace {
    max-width: 520px;
    width: 100%;
    margin: auto;
  }
  .install {
    padding-block: 50px 40px;
  }
  .install h2 {
    font-size: 35px;
  }
  .install-command {
    padding: 10px;
    gap: 9px;
  }
  .install-command button {
    padding: 7px;
  }
  .install-details {
    gap: 10px;
    flex-direction: column;
  }
  .footer-content {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 57px;
  }
  .stage-action {
    width: 16px;
  }
  .code-toolbar > div {
    gap: 1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html,
  .code-scroll {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
