@font-face {
  font-family: Inter;
  src: url('/fonts/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'LoongPass CJK';
  src: url('/fonts/cjk.woff2') format('woff2');
  font-style: normal;
  font-weight: 250 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fafafa;
  --surface: #fff;
  --ink: #171717;
  --muted: #626262;
  --blue: #2855d8;
  --line: #e4e4e7;
  font-family: Inter, 'LoongPass CJK', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; left: 20px; top: -80px; z-index: 10; background: white; padding: 12px; }
.skip:focus { top: 12px; }
.header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 600; letter-spacing: -.5px; }
.brand-icon { display: block; width: 28px; height: 28px; flex: none; }
.header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.header nav a { padding-block: 10px; }
.header .nav-download { border: 1px solid var(--line); padding: 8px 16px; border-radius: 8px; background: var(--surface); }
.hero { padding-top: 56px; padding-bottom: 40px; }
.hero-copy { text-align: center; margin: 0 auto 44px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 5px; vertical-align: middle; }
h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 600; line-height: 1.3; letter-spacing: -1.5px; margin: 0 0 20px; }
h1 span { color: var(--blue); }
.intro { color: var(--muted); margin: 0 0 24px; line-height: 1.9; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; font-size: 14px; font-weight: 500; border-radius: 8px; transition: background .16s; }
.primary { background: var(--ink); color: white; }
.primary:hover { background: #353535; color: white; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.preview { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 16px 48px #17171709; overflow: hidden; }
.preview a { display: block; }
.preview img { display: block; width: 100%; height: auto; }
.preview figcaption { border-top: 1px solid var(--line); padding: 12px 20px; text-align: center; font-size: 13px; color: var(--muted); }
.principles { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; padding: 20px 0 32px; font-size: 14px; color: var(--muted); }
.principles svg { width: 17px; height: 17px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; vertical-align: -3px; margin-right: 8px; }
.principles i { font-style: normal; margin-right: 8px; color: var(--blue); }
.section { padding-block: 64px 80px; border-top: 1px solid var(--line); }
h2 { font-size: 28px; font-weight: 600; line-height: 1.4; letter-spacing: -.6px; margin: 0 0 20px; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.5; margin: 12px 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-top: 36px; }
.features article { border-top: 1px solid var(--line); padding-top: 20px; }
.feature-number { font-size: 12px; letter-spacing: .6px; color: var(--blue); }
.features p { font-size: 15px; color: var(--muted); margin: 0; }
.features .feature-detail { font-size: 13px; margin-top: 16px; }
.platform-section { background: #f2f2f3; border-block: 1px solid var(--line); padding-block: 64px; }
.platform-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.platform-layout p:not(.eyebrow) { font-size: 15px; color: var(--muted); margin: 0; }
.platform-layout p:not(.eyebrow) + p { margin-top: 12px; }
.platform-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; padding: 0; }
.platform-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; }
.platform-list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 4px; font-weight: 400; }
.platform-icon { width: 30px; height: 30px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: white; flex: none; font-weight: 600; font-size: 15px; }
.workbuddy { background: #158a7a; }
.trae { background: #d5f4e4; color: #187b54; }
.minimax { background: #d85d2c; }
.zcode, .loomy, .codex { background: #292929; }
.download-section { padding-block: 72px; border-bottom: 1px solid var(--line); }
.download-section p { color: var(--muted); font-size: 14px; }
.download-section .release-version { color: var(--blue); font-variant-numeric: tabular-nums; }
.download-actions { margin-top: 28px; }
.platform-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; text-align: left; }
.platform-download-card { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.platform-download-card.preferred { border-color: var(--blue); }
.platform-card-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.platform-card-heading h3 { margin: 0; }
.platform-preference { color: var(--blue); font-size: 13px; }
.download-actions .platform-description { margin: 12px 0 20px; }
.platform-download-card .button { width: 100%; }
.download-actions .platform-status { margin: 12px 0 0; font-size: 13px; }
.download-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; margin-top: 20px; color: var(--blue); }
.faq { padding-block: 48px 24px; }
.faq h2 { font-size: 22px; margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; color: var(--muted); font-size: 20px; top: -3px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { font-size: 14px; color: var(--muted); max-width: 880px; margin: 16px 0 0; }
.footer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; border-top: 1px solid var(--line); min-height: 96px; margin-top: 40px; padding-block: 24px; font-size: 13px; color: var(--muted); }
.footer .brand { font-size: 17px; color: var(--ink); }
.footer .brand-icon { width: 24px; height: 24px; }
.footer a:not(.brand) { margin-left: auto; }
.footer p { margin: 0; }
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header { min-height: 72px; gap: 12px; flex-wrap: wrap; padding-block: 16px; }
  .header nav { gap: 18px; flex-wrap: wrap; }
  .hero { padding-top: 32px; padding-bottom: 24px; }
  .hero-copy { margin-bottom: 28px; }
  h1 { letter-spacing: -1px; }
  .intro { font-size: 15px; }
  .desktop-break { display: none; }
  .preview { border-radius: 8px; }
  .preview figcaption { padding: 12px; text-align: left; }
  .principles { justify-content: flex-start; gap: 8px 20px; font-size: 13px; padding-bottom: 24px; }
  .section, .platform-section, .download-section { padding-block: 40px; }
  h2 { font-size: 24px; }
  .features { grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
  .platform-list { gap: 24px 16px; }
  .platform-downloads { grid-template-columns: 1fr; }
  .platform-download-card { padding: 20px; }
  .faq { padding-top: 32px; }
  .footer { gap: 12px; }
  .footer p { display: none; }
  .footer > span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
