@charset "UTF-8";

:root {
  color-scheme: dark;
  --background: #090b0a;
  --foreground: #f3f5ef;
  --muted: #929a91;
  --border: #252b27;
  --accent: #b7ed81;
  --accent-ink: #15200e;
  --dark: #111512;
  --dark-raised: #171d18;
  --dark-line: rgb(238 243 235 / 9%);
  --light: #edf2e9;
  --light-muted: #98a499;
  --green: #b7ed81;
  --add: #9cdea9;
  --del: #f2a094;
  --sans:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-family: var(--sans);
  color: var(--foreground);
  background: var(--background);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
}
code {
  font-family: var(--mono);
}
[hidden] {
  display: none !important;
}
::selection {
  color: var(--accent-ink);
  background: var(--accent);
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  height: 90px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.site-nav {
  display: flex;
  gap: 32px;
  margin-left: 30px;
  color: var(--muted);
  font-size: 14px;
}
.site-nav a {
  transition: color 0.15s;
}
.site-nav a:hover {
  color: var(--foreground);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.language-button:hover {
  color: var(--foreground);
}
.language-button .icon {
  width: 15px;
  height: 15px;
}
.header-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 550;
}
.header-github .icon {
  width: 18px;
  height: 18px;
}
.header-github .arrow {
  width: 13px;
  height: 13px;
  margin-left: 5px;
  color: var(--muted);
}
.header-github:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -300px;
  left: 50%;
  width: 1000px;
  height: 650px;
  background: radial-gradient(ellipse, rgb(128 173 86 / 7%), transparent 68%);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  text-align: center;
}
.hero-eyebrow {
  margin-bottom: 17px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.02em;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.status-dot {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  max-width: 1080px;
  font-size: clamp(64px, 7.1vw, 104px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
:lang(zh) h1 {
  font-size: clamp(56px, 6.7vw, 94px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.title-line {
  display: block;
}
.title-accent {
  color: var(--accent);
}
.hero-lead {
  max-width: 630px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.button-primary {
  background: var(--foreground);
  color: #151914;
}
.button-primary:hover {
  background: var(--accent);
}
.button-secondary {
  border-color: var(--border);
  background: #111512;
  color: var(--foreground);
}
.button-secondary:hover {
  border-color: #485246;
  background: var(--dark-raised);
}
.hero-install {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
.command {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}
.command-prompt {
  color: #73866a;
  user-select: none;
}
.command code,
.t-command code {
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.copy-button {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  transition:
    color 0.15s,
    background 0.15s;
}
.copy-button:hover {
  background: #20261f;
  color: var(--foreground);
}
.copy-button .icon {
  width: 15px;
  height: 15px;
}
.copy-button .icon-check,
.copy-button.is-copied .icon-copy {
  display: none;
}
.copy-button.is-copied .icon-check {
  display: inline-block;
  color: var(--accent);
}
.hero-note {
  padding-left: 18px;
  border-left: 1px solid var(--border);
  color: #768073;
  font-size: 12px;
}
.hero-stage {
  position: relative;
  width: 100%;
  margin-top: 78px;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 12% 8% 0;
  background: radial-gradient(ellipse, rgb(148 193 100 / 10%), transparent 67%);
  filter: blur(45px);
  pointer-events: none;
}
.stage-note,
.local-stamp,
.hero-bottom {
  display: none;
}
.demo-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  text-align: left;
}
.demo-switch-label {
  color: var(--muted);
  font-size: 12px;
}
.segmented {
  display: inline-flex;
  gap: 4px;
}
.segmented button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  transition:
    color 0.15s,
    background 0.15s;
}
.segmented button:hover {
  color: var(--foreground);
}
.segmented button[aria-pressed="true"] {
  border-color: var(--border);
  background: var(--dark-raised);
  color: var(--foreground);
}
.segmented .icon {
  width: 14px;
  height: 14px;
}
.demo-figure {
  position: relative;
  margin: 0;
}
.demo-figure figcaption {
  margin-top: 14px;
  color: #727d70;
  font-size: 12px;
  text-align: left;
}

.window {
  container: demo / inline-size;
  overflow: hidden;
  border: 1px solid #30382f;
  border-radius: 13px;
  background: var(--dark);
  box-shadow: 0 40px 110px -40px #000;
  color: var(--light-muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.window-bar {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--dark-line);
  background: #151a16;
}
.window-dots {
  display: flex;
  flex: 1;
  gap: 6px;
}
.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3c453b;
}
.window-url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 25px;
  padding: 0 12px;
  border: 1px solid var(--dark-line);
  border-radius: 5px;
  color: #939f91;
  font-family: var(--mono);
  font-size: 12px;
}
.window-url .icon {
  width: 11px;
  height: 11px;
}
.window-spacer {
  flex: 1;
}
.window-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.app-sidebar,
.app-panel {
  display: none;
}
.app-sidebar {
  flex-direction: column;
  gap: 3px;
  padding: 16px 12px;
  border-right: 1px solid var(--dark-line);
  background: #131814;
  font-size: 12px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px 18px;
  color: var(--light);
  font-size: 14px;
  font-weight: 650;
}
.app-brand .icon {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--light-muted);
}
.app-new {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  margin-bottom: 17px;
  padding: 0 10px;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
}
.app-new .icon,
.app-project .icon,
.app-settings .icon {
  width: 15px;
  height: 15px;
}
.app-label {
  margin: 6px 10px;
  color: #778573;
  font-size: 12px;
}
.app-project {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  color: var(--light);
  font-weight: 550;
}
.app-project.is-muted {
  color: var(--light-muted);
  font-weight: 400;
}
.app-threads {
  display: grid;
  gap: 3px;
  margin: 0 0 10px;
  padding: 0 0 0 9px;
  list-style: none;
}
.app-threads li {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 33px;
  padding: 0 9px;
  border-radius: 5px;
  white-space: nowrap;
}
.app-threads li > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-threads li.is-active {
  background: #232b21;
  color: var(--light);
}
.thread-time {
  color: #7d8979;
  font-size: 12px;
}
.pulse,
.idle-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pulse {
  background: var(--green);
}
.idle-dot {
  background: #485445;
}
.app-settings {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  margin-top: auto;
  padding: 0 10px;
}
.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.app-header {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid var(--dark-line);
}
.app-title {
  min-width: 0;
  overflow: hidden;
  color: var(--light);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 9px;
  border: 1px solid var(--dark-line);
  border-radius: 5px;
  color: var(--light-muted);
  font-size: 12px;
  white-space: nowrap;
}
.chip .icon {
  width: 13px;
  height: 13px;
}
.diff-stat {
  display: inline-flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
}
.diff-stat b,
.panel-files b {
  color: var(--add);
  font-weight: 500;
}
.diff-stat i,
.panel-files i {
  color: var(--del);
  font-style: normal;
}
.app-stat {
  margin-left: auto;
}
.app-timeline {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 32px 28px 16px;
}
.msg-user {
  align-self: flex-end;
  max-width: 88%;
  padding: 12px 16px;
  border: 1px solid #2e392c;
  border-radius: 10px 10px 2px 10px;
  background: #222b20;
  color: var(--light);
  font-size: 13px;
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}
.agent-head strong {
  color: var(--light);
  font-weight: 600;
}
.agent-time {
  color: #7d8979;
  font-size: 12px;
}
.agent-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #25321e;
  color: var(--green);
}
.agent-avatar .icon {
  width: 16px;
  height: 16px;
}
.agent-avatar.is-small {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.agent-avatar.is-small .icon {
  width: 12px;
  height: 12px;
}
.agent-avatar.is-live .icon {
  display: none;
}
[data-agent="codex"] .agent-avatar.is-live .glyph-codex,
[data-agent="claude"] .agent-avatar.is-live .glyph-claude,
[data-agent="cursor"] .agent-avatar.is-live .glyph-cursor {
  display: inline-block;
}
.agent-avatar.is-claude,
[data-agent="claude"] .agent-avatar.is-live {
  background: #352820;
  color: #e8ac86;
}
.agent-avatar.is-cursor,
[data-agent="cursor"] .agent-avatar.is-live {
  background: #262e3b;
  color: #afc2e8;
}
.agent-text {
  margin: 12px 0 0 37px;
  font-size: 13px;
  line-height: 1.85;
}
.work-log {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin: 15px 0 0 37px;
  padding: 0;
  color: #91a08a;
  font-size: 12px;
  list-style: none;
}
.work-log li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.work-log .icon {
  width: 13px;
  height: 13px;
  color: var(--add);
}
.diff-card {
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 7px;
  background: #131914;
  font-family: var(--mono);
  font-size: 12px;
}
.msg-agent .diff-card {
  margin: 20px 0 0 37px;
}
.diff-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--dark-line);
}
.diff-head .icon {
  width: 14px;
  height: 14px;
}
.diff-path {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.diff-head .diff-stat {
  margin-left: auto;
}
.diff-line {
  display: flex;
  gap: 12px;
  padding: 4px 13px;
  line-height: 1.8;
  white-space: pre;
}
.diff-line .ln {
  flex: none;
  width: 2ch;
  color: #6e7e69;
  text-align: right;
}
.diff-line code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diff-line.is-del {
  background: #a1584812;
  color: #e8a99a;
}
.diff-line.is-add {
  background: #76a66012;
  color: #afd9a7;
}
.diff-line:last-child {
  padding-bottom: 8px;
}
.app-composer {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 15px 28px 24px;
}
.composer-box {
  padding: 15px 15px 12px;
  border: 1px solid #384633;
  border-radius: 9px;
  background: #1b2419;
}
.composer-placeholder {
  margin-bottom: 17px;
  color: #899781;
  font-size: 13px;
}
.composer-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.send-button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  margin-left: auto;
  border-radius: 6px;
  background: var(--green);
  color: var(--accent-ink);
}
.send-button .icon {
  width: 15px;
  height: 15px;
}
.app-panel {
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--dark-line);
  background: #131814;
}
.panel-section {
  padding: 18px;
  border-bottom: 1px solid var(--dark-line);
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--light);
  font-size: 12px;
  font-weight: 600;
}
.panel-files {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  list-style: none;
}
.panel-files li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 5px;
}
.panel-files li.is-current {
  background: #222b20;
  color: var(--light);
}
.panel-files span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.panel-terminal {
  flex: 1;
  border-bottom: 0;
}
.panel-shell {
  color: #87947f;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
}
.term-lines,
.full-terminal {
  color: var(--light-muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
}
.term-lines > div,
.full-terminal > div {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.term-lines .icon,
.full-terminal .icon {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
}
.t-prompt {
  color: var(--green);
}
.t-dim {
  color: #7f8e77;
}
.t-ok,
.t-new {
  color: var(--add);
}
.t-mod {
  color: #dfbb7c;
}
.t-branch {
  color: #afc2e8;
}
.t-pass {
  padding: 1px 5px;
  border-radius: 3px;
  background: #9cdea914;
  color: var(--add);
}
.t-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--green);
  vertical-align: -3px;
  animation: blink 1.1s steps(1) infinite;
}
@container demo (min-width: 680px) {
  .window-body {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .app-sidebar {
    display: flex;
  }
  .app-menu {
    display: none;
  }
}
@container demo (min-width: 1060px) {
  .window-body {
    grid-template-columns: 205px minmax(0, 1fr) 260px;
  }
  .app-panel {
    display: flex;
  }
}
@container demo (max-width: 520px) {
  .app-header {
    padding-inline: 15px;
  }
  .app-stat {
    display: none;
  }
  .app-timeline {
    gap: 20px;
    padding: 22px 16px 10px;
  }
  .agent-text,
  .work-log,
  .msg-agent .diff-card {
    margin-left: 0;
  }
  .work-log {
    display: grid;
    gap: 5px;
  }
  .app-composer {
    padding: 12px 16px 16px;
  }
}

.providers {
  margin-top: 70px;
  border-block: 1px solid var(--border);
}
.providers-inner {
  display: grid;
  grid-template-columns: 1.2fr 3fr auto;
  gap: 30px;
  align-items: center;
  min-height: 112px;
}
.providers-title {
  max-width: 155px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.8;
}
.provider-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.provider-list li {
  color: #bdc4b8;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.providers-more {
  max-width: 100px;
  color: #778271;
  font-size: 12px;
  line-height: 1.8;
}
.section {
  padding: 130px 0;
}
.section-heading {
  margin-bottom: 70px;
}
.split-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: end;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #8e9a85;
  font-family: var(--mono);
  font-size: 12px;
}
.eyebrow > span:first-child:not(:last-child) {
  color: var(--accent);
}
h2 {
  max-width: 850px;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
:lang(zh) h2 {
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.section-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  text-wrap: pretty;
}

.workflow {
  border-bottom: 1px solid var(--border);
}
.workflow-showcase {
  display: grid;
  grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: center;
}
.workflow-tabs {
  display: grid;
  gap: 5px;
}
.workflow-tab {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: 22px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.workflow-number {
  padding-top: 3px;
  color: #6f7c68;
  font-family: var(--mono);
  font-size: 12px;
}
.workflow-tab-copy {
  display: grid;
  gap: 8px;
}
.workflow-tab-copy strong {
  color: #adb6a7;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.55;
}
.workflow-tab-copy > span {
  display: none;
  max-width: 350px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
.workflow-tab > .icon {
  width: 15px;
  height: 15px;
  margin-top: 5px;
  color: #7f8f72;
  opacity: 0;
}
.workflow-tab:hover {
  background: #111611;
}
.workflow-tab[aria-selected="true"] {
  border-color: #2b3626;
  background: #151c13;
}
.workflow-tab[aria-selected="true"] .workflow-number {
  color: var(--accent);
}
.workflow-tab[aria-selected="true"] .workflow-tab-copy strong {
  color: var(--foreground);
}
.workflow-tab[aria-selected="true"] .workflow-tab-copy > span {
  display: block;
}
.workflow-tab[aria-selected="true"] > .icon {
  color: var(--accent);
  opacity: 1;
}
.workflow-panel {
  min-width: 0;
  min-height: 450px;
  padding: 25px;
  border: 1px solid #2d3829;
  border-radius: 12px;
  background: #111711;
  color: var(--light-muted);
}
.workflow-panel-label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 23px;
  color: #899781;
  font-family: var(--mono);
  font-size: 12px;
}
.workflow-panel-label .status-dot {
  width: 5px;
  height: 5px;
}
.panel-label-line {
  flex: 1;
  height: 1px;
  background: var(--dark-line);
}
.workflow-view {
  min-height: 355px;
}
.view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  color: var(--light);
  font-size: 14px;
  font-weight: 550;
}
.view-heading > span:last-child {
  color: #899781;
  font-family: var(--mono);
  font-size: 12px;
}
.instance,
.queue-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--dark-raised);
  font-size: 14px;
}
.instance + .instance {
  margin-top: 12px;
}
.instance-name {
  flex: none;
  color: var(--light);
  font-weight: 550;
}
.instance-kind {
  min-width: 0;
  overflow: hidden;
  color: var(--light-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.instance-status {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--add);
  font-size: 12px;
}
.instance-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.view-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 25px;
  color: #8e9d83;
  font-size: 12px;
}
.view-footnote .icon {
  width: 14px;
  height: 14px;
}
.queue-context {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--dark-raised);
}
.queue-context > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.queue-context strong {
  color: var(--light);
  font-size: 14px;
}
.queue-context > div > span {
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.working-indicator {
  display: flex;
  gap: 3px;
  margin-left: auto;
}
.working-indicator i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
.queue-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 12px;
}
.queue-item {
  gap: 10px;
  margin-top: 11px;
}
.queue-item > .icon {
  width: 15px;
  height: 15px;
}
.queue-item > span:nth-last-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.queue-index {
  font-family: var(--mono);
  font-size: 12px;
}
.steer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 25px;
  font-size: 12px;
}
.steer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 6px;
  background: var(--green);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
}
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.diff-card.is-compact .diff-line {
  padding-block: 7px;
}
.checkpoint-timeline {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 27px;
}
.checkpoint-line {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 14px;
  width: 1px;
  background: #3d4c34;
}
.checkpoint {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.checkpoint > span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #4b5d3e;
  border-radius: 50%;
  background: #111711;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}
.checkpoint > div {
  display: grid;
  gap: 2px;
}
.checkpoint strong {
  color: var(--light);
  font-size: 13px;
  font-weight: 550;
}
.checkpoint small {
  font-size: 12px;
}
.checkpoint > .icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--green);
}
.mini-terminal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.mini-terminal-head .panel-shell {
  margin-left: auto;
}
.full-terminal {
  padding: 20px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #151d13;
  line-height: 2.2;
}

.desktop {
  border-bottom: 1px solid var(--border);
  background: #0d110d;
}
.desktop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 100px;
  align-items: center;
}
.mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 27px;
  color: #b3c5a1;
  font-size: 13px;
}
.mobile-link:hover {
  color: var(--accent);
}
.mobile-link .icon {
  width: 14px;
  height: 14px;
}
.desktop-copy .section-lead {
  max-width: 560px;
  margin-top: 25px;
}
.desktop-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}
.desktop-platforms {
  max-width: 200px;
  color: #8e9a85;
  font-size: 12px;
  line-height: 1.8;
}
.desktop-note {
  max-width: 540px;
  margin-top: 25px;
  color: #7f8b77;
  font-size: 12px;
  line-height: 1.9;
}
.desktop-features {
  display: grid;
}
.desktop-features article {
  display: flex;
  gap: 20px;
  padding: 27px 0;
  border-top: 1px solid #2b3626;
}
.desktop-features article:last-child {
  border-bottom: 1px solid #2b3626;
}
.desktop-feature-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--accent);
}
.desktop-feature-icon .icon {
  width: 22px;
  height: 22px;
}
.desktop-features h3 {
  color: var(--foreground);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.6;
}
.desktop-features p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 110px;
  align-items: center;
}
.local-copy .section-lead {
  max-width: 490px;
  margin-top: 25px;
}
.checklist {
  display: grid;
  gap: 15px;
  margin: 30px 0 0;
  padding: 0;
  color: #c7cec1;
  font-size: 14px;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 11px;
}
.check-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.check-badge .icon {
  width: 16px;
  height: 16px;
}
.local-caveat {
  max-width: 480px;
  margin-top: 30px;
  color: #7f8b77;
  font-size: 12px;
  line-height: 1.9;
}
.diagram {
  min-width: 0;
  padding: 20px 0 0;
}
.machine {
  position: relative;
  padding: 30px;
  border: 1px solid #34432b;
  border-radius: 12px;
  background: #11170f;
}
.machine-label {
  position: absolute;
  top: -15px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #34432b;
  border-radius: 6px;
  background: var(--background);
  color: #b1c59d;
  font-size: 12px;
}
.machine-label .icon {
  width: 15px;
  height: 15px;
}
.machine-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 55px minmax(0, 1fr);
  align-items: center;
}
.node {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 20px 16px;
  border: 1px solid #2a3425;
  border-radius: 8px;
  background: #171e14;
}
.node strong,
.node div > span {
  display: block;
}
.node strong {
  color: var(--light);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.7;
}
.node div > span {
  margin-top: 3px;
  color: #93a086;
  font-size: 12px;
  line-height: 1.7;
}
.node-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #222c1c;
  color: #b4c69f;
}
.node-icon .icon {
  width: 17px;
  height: 17px;
}
.node-accent {
  border-color: #50683d;
}
.node-accent .node-icon {
  background: none;
}
.connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.connector::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: #435537;
}
.connector span {
  position: relative;
  padding: 3px;
  background: #11170f;
  color: #9aad87;
  font-family: var(--mono);
  font-size: 12px;
  writing-mode: vertical-rl;
}
.data-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #293522;
}
.data-chips > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9eb18b;
  font-family: var(--mono);
  font-size: 12px;
}
.data-chips > span + span::before {
  content: "/";
  margin-right: 4px;
  color: #4c5e3e;
}
.data-chips .icon {
  width: 13px;
  height: 13px;
}
.external-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 62px;
  color: #829573;
  font-family: var(--mono);
  font-size: 12px;
}
.connector-line {
  width: 1px;
  height: 18px;
  background: #33432a;
}
.node-external {
  max-width: 355px;
  margin-inline: auto;
  border-style: dashed;
  background: transparent;
}
.external-arrow {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #8ea17b;
}

.details {
  padding-top: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.detail-grid article {
  min-width: 0;
}
.detail-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--accent);
}
.card-icon .icon {
  width: 22px;
  height: 22px;
}
.detail-index {
  color: #718066;
  font-family: var(--mono);
  font-size: 12px;
}
.detail-grid h3 {
  font-size: 21px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.detail-grid article > p {
  max-width: 470px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.language-demo {
  margin-top: 27px;
}
.language-switch {
  display: inline-flex;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.language-switch span {
  color: #7d8a73;
}
html:lang(zh) .language-switch .lang-zh,
html:lang(en) .language-switch .lang-en {
  color: var(--accent);
}
.draft {
  margin-top: 18px;
  color: #c6cebf;
  font-size: 13px;
}
.draft-caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 3px;
  background: var(--accent);
  vertical-align: -0.15em;
  animation: blink 1.1s steps(1) infinite;
}
.draft-kept {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: #8e9f80;
  font-size: 12px;
}
.draft-kept .icon {
  width: 14px;
  height: 14px;
}
.more-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.more-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  color: #c2cbb9;
  font-size: 13px;
}
.more-list li > .icon:first-child {
  width: 16px;
  height: 16px;
  color: #94a781;
}
.more-list .arrow {
  width: 12px;
  height: 12px;
  margin-left: auto;
  color: #718163;
}

.start {
  border-top: 1px solid var(--border);
}
.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 110px;
  align-items: center;
}
.start-copy .section-lead {
  max-width: 450px;
  margin-top: 24px;
}
.steps {
  display: grid;
  gap: 22px;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  gap: 18px;
}
.step-number {
  flex: none;
  padding-top: 2px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}
.steps h3 {
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 550;
}
.steps p {
  max-width: 420px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
.start-copy > .text-link {
  margin-top: 32px;
  margin-left: 35px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 550;
}
.text-link:hover {
  color: var(--accent);
}
.text-link .icon {
  width: 15px;
  height: 15px;
}
.start-install {
  min-width: 0;
}
.terminal-card {
  overflow: hidden;
  border: 1px solid #303c29;
  border-radius: 11px;
  background: #111711;
}
.terminal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--dark-line);
}
.terminal-head .window-dots {
  flex: none;
}
.terminal-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--light-muted);
  font-size: 12px;
}
.terminal-title .icon {
  width: 15px;
  height: 15px;
}
.terminal-node {
  margin-left: auto;
  color: #8a997b;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}
.terminal-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 13px;
}
.t-comment {
  margin-bottom: 10px;
  color: #819274;
  font-size: 12px;
}
.t-command {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin-bottom: 20px;
}
.t-command + .t-command {
  margin-top: -12px;
}
.t-command code {
  color: var(--light);
}
.t-command code .t-prompt {
  margin-right: 5px;
}
.t-output {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-top: 17px;
  border-top: 1px solid var(--dark-line);
  color: #a0ae93;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.8;
}
.ok-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--add);
  transform: translateY(-1px);
}
.disclaimer {
  margin-top: 22px;
  color: #7d8c70;
  font-size: 12px;
  line-height: 1.9;
}
.closing {
  padding: 110px 0 120px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing-logo {
  width: 46px;
  height: 46px;
  margin-bottom: 27px;
  border-radius: 11px;
}
.closing .eyebrow {
  margin-bottom: 20px;
}
.closing h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(40px, 5.1vw, 70px);
}
.closing .title-accent {
  margin-top: 0.1em;
}
.closing-inner > p:not(.eyebrow) {
  margin-top: 25px;
  color: var(--muted);
  font-size: 14px;
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px 40px;
}
.footer-brand .brand {
  font-size: 19px;
}
.footer-brand p {
  margin-top: 10px;
  color: #7d8b71;
  font-size: 12px;
}
.footer-brand p a {
  text-decoration: underline;
  text-decoration-color: #48583c;
  text-underline-offset: 3px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  color: #a0ae93;
  font-size: 12px;
}
.footer-links a:hover,
.footer-brand p a:hover {
  color: var(--foreground);
}
.footer-note {
  flex-basis: 100%;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #718064;
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid #45583a;
  border-radius: 8px;
  background: #1a2514;
  color: var(--foreground);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: enter 0.65s ease-out both;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 0.04s;
  }
  .hero-copy > :nth-child(n + 3) {
    animation-delay: 0.08s;
  }
  .hero-stage {
    animation: enter 0.75s 0.1s ease-out both;
  }
  .workflow-view.is-active {
    animation: enter 0.2s ease-out both;
  }
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero-inner {
    padding-top: 40px;
  }
  h1 {
    font-size: 76px;
  }
  :lang(zh) h1 {
    font-size: 70px;
  }
  .hero-stage {
    margin-top: 60px;
  }
  .providers-inner {
    grid-template-columns: 1fr 3fr;
    padding-block: 25px;
  }
  .providers-more {
    grid-column: 2;
    max-width: none;
    margin-top: -12px;
  }
  .workflow-showcase {
    gap: 45px;
  }
  .desktop-grid,
  .local-grid,
  .start-grid {
    gap: 65px;
  }
  .machine {
    padding: 25px 18px;
  }
  .machine-row {
    grid-template-columns: minmax(0, 1fr) 35px minmax(0, 1fr);
  }
  .node {
    gap: 8px;
    padding: 17px 11px;
  }
  .node-icon {
    width: 30px;
    height: 30px;
  }
  .node strong {
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .hero-inner {
    padding-top: 38px;
  }
  h1 {
    font-size: 70px;
  }
  :lang(zh) h1 {
    font-size: 64px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .section {
    padding-block: 100px;
  }
  .section-heading {
    margin-bottom: 50px;
  }
  .split-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .split-heading .section-lead {
    max-width: 620px;
  }
  .workflow-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }
  .workflow-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .workflow-tab {
    padding: 18px 14px;
  }
  .workflow-tab-copy > span {
    display: block;
    font-size: 12px;
  }
  .workflow-panel {
    max-width: 700px;
    width: 100%;
    margin-inline: auto;
  }
  .desktop-grid,
  .local-grid,
  .start-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 65px;
  }
  .local-copy .section-lead,
  .local-caveat,
  .start-copy .section-lead {
    max-width: 600px;
  }
  .diagram {
    width: 100%;
    max-width: 650px;
    margin-inline: auto;
  }
  .machine {
    padding: 30px;
  }
  .machine-row {
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
  }
  .node {
    gap: 12px;
    padding: 20px 16px;
  }
  .node strong {
    font-size: 13px;
  }
  .detail-grid {
    gap: 40px;
  }
  .start-install {
    width: 100%;
    max-width: 650px;
  }
}
@media (max-width: 640px) {
  :root {
    scroll-padding-top: 32px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 72px;
    gap: 12px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .site-nav {
    display: none;
  }
  .header-actions {
    gap: 18px;
  }
  .header-github {
    font-size: 12px;
  }
  .header-github .arrow {
    display: none;
  }
  .hero {
    padding-top: 72px;
  }
  .hero-inner {
    padding-top: 40px;
  }
  .hero-badge {
    margin-bottom: 23px;
  }
  h1 {
    font-size: clamp(50px, 13.6vw, 70px);
    line-height: 1.06;
  }
  :lang(zh) h1 {
    font-size: clamp(43px, 11.5vw, 61px);
    line-height: 1.25;
  }
  .hero-lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.85;
  }
  .hero-actions {
    margin-top: 28px;
  }
  .button {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 13px;
  }
  .hero-install {
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
  }
  .command {
    font-size: 12px;
  }
  .hero-note {
    padding-left: 0;
    border: 0;
    font-size: 12px;
  }
  .hero-stage {
    margin-top: 50px;
  }
  .demo-controls {
    justify-content: center;
    margin-bottom: 14px;
  }
  .demo-switch-label {
    display: none;
  }
  .segmented button {
    height: 33px;
    padding-inline: 13px;
  }
  .window {
    border-radius: 9px;
  }
  .demo-figure figcaption {
    line-height: 1.8;
  }
  .providers {
    margin-top: 45px;
  }
  .providers-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 28px;
  }
  .providers-title {
    max-width: none;
  }
  .provider-list {
    justify-content: flex-start;
    gap: 13px 25px;
  }
  .provider-list li {
    font-size: 16px;
  }
  .providers-more {
    grid-column: auto;
    max-width: none;
    margin-top: -5px;
  }
  .section {
    padding-block: 78px;
  }
  .section-heading {
    margin-bottom: 38px;
  }
  .split-heading {
    gap: 18px;
  }
  .eyebrow {
    margin-bottom: 15px;
  }
  h2 {
    font-size: 36px;
  }
  :lang(zh) h2 {
    font-size: 31px;
  }
  .section-lead {
    font-size: 14px;
    line-height: 1.85;
  }
  .workflow-tabs {
    grid-template-columns: minmax(0, 1fr);
  }
  .workflow-tab {
    grid-template-columns: 23px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 16px 12px;
  }
  .workflow-tab-copy strong {
    font-size: 15px;
  }
  .workflow-tab:not([aria-selected="true"]) .workflow-tab-copy > span {
    display: none;
  }
  .workflow-panel {
    min-height: 410px;
    padding: 18px 14px;
    border-radius: 9px;
  }
  .workflow-panel-label {
    padding-bottom: 20px;
  }
  .workflow-panel-label > span:last-child {
    display: none;
  }
  .workflow-view {
    min-height: 340px;
  }
  .instance,
  .queue-item {
    gap: 9px;
    padding: 14px 11px;
    font-size: 12px;
  }
  .instance .agent-avatar {
    width: 25px;
    height: 25px;
  }
  .queue-context {
    gap: 9px;
    padding: 14px 11px;
  }
  .queue-context > div > span {
    max-width: 210px;
  }
  .full-terminal {
    padding: 14px 11px;
    font-size: 12px;
  }
  .diff-card.is-compact .diff-line {
    gap: 7px;
    padding-inline: 8px;
  }
  .desktop-grid,
  .local-grid,
  .start-grid {
    gap: 50px;
  }
  .desktop-copy .section-lead {
    margin-top: 20px;
  }
  .desktop-downloads {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 28px;
  }
  .desktop-platforms {
    max-width: none;
  }
  .desktop-features article {
    gap: 14px;
    padding-block: 22px;
  }
  .desktop-features h3 {
    font-size: 15px;
  }
  .local-copy .section-lead,
  .start-copy .section-lead {
    margin-top: 20px;
  }
  .checklist {
    font-size: 13px;
  }
  .diagram {
    padding-top: 20px;
  }
  .machine {
    padding: 25px 15px;
  }
  .machine-label {
    left: 15px;
  }
  .machine-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .machine-row .connector {
    height: 38px;
  }
  .machine-row .connector::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: auto;
  }
  .machine-row .connector span {
    padding: 2px 7px;
    writing-mode: horizontal-tb;
  }
  .node {
    padding: 16px;
  }
  .data-chips {
    gap: 10px 15px;
  }
  .external-connector {
    height: 50px;
  }
  .details {
    padding-top: 0;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
    padding-top: 45px;
  }
  .detail-grid h3 {
    font-size: 20px;
  }
  .more-list {
    margin-top: 20px;
  }
  .start-copy > .text-link {
    margin-top: 26px;
  }
  .terminal-body {
    padding: 20px 16px;
    font-size: 12px;
  }
  .terminal-head {
    padding-inline: 15px;
  }
  .t-command {
    gap: 8px;
  }
  .t-command code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .closing {
    padding-block: 80px;
  }
  .closing-logo {
    width: 44px;
    height: 44px;
  }
  .closing h2 {
    font-size: 42px;
  }
  :lang(zh) .closing h2 {
    font-size: 34px;
  }
  .closing-inner > p:not(.eyebrow) {
    font-size: 13px;
  }
  .closing-actions {
    width: 100%;
  }
  .closing-actions .button {
    flex: 1 1 190px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .header-github > span {
    display: none;
  }
  h1 {
    font-size: 49px;
  }
  :lang(zh) h1 {
    font-size: 42px;
  }
  .command {
    font-size: 12px;
  }
  .command-prompt {
    display: none;
  }
  .segmented button {
    padding-inline: 11px;
  }
  .instance-kind {
    font-size: 12px;
  }
  .instance-status::before {
    display: none;
  }
  .queue-context > div > span {
    max-width: 170px;
  }
  .terminal-node {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
