:root {
  color-scheme: dark;
  --ground: #15181a;
  --panel: #202426;
  --input: #171b1d;
  --text: #f4f2ea;
  --muted: #adb5b5;
  --border: #3a4245;
  --paper: #eef2ec;
  --ink: #151819;
  --ink-muted: #4b5552;
  --focus: #56d9d0;
  --selection: #356c69;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-padding-top: 24px;
  scrollbar-color: var(--border) var(--ground);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--text); font-size: 16px; line-height: 1.55; }
::selection { background: var(--selection); color: var(--text); }
a { color: inherit; text-underline-offset: 4px; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.page { max-width: 1200px; margin: auto; padding: 0 48px; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 100px; border-bottom: 1px solid var(--border); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; font-size: 23px; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; color: var(--paper); }
nav { display: flex; gap: 28px; font-size: 14px; }
nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); text-decoration: underline; }
.intro { padding: 58px 0 48px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.intro p { margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 65ch; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.section-title { font-size: 17px; font-weight: 600; margin-bottom: 20px; }
.agent-download { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 32px; }
.windows-mark { display: block; width: 32px; height: 32px; margin-bottom: 20px; }
.agent-download h3 { font-size: 27px; font-weight: 620; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.agent-download > p:not(.file-meta) { color: var(--ink-muted); margin-top: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 12px 20px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.download-button { margin-top: 25px; background: var(--ink); color: var(--paper); }
.download-button:hover { background: #2b3335; }
.download-button:focus-visible { outline-color: var(--ink); }
svg { flex-shrink: 0; }
.button svg, .operator-link svg, #copy-server svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.file-meta { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.agent-download .file-meta { color: var(--ink-muted); }
.operator-download { padding: 26px 0 22px; border-bottom: 1px solid var(--border); }
.operator-download h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.operator-download p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.operator-download .file-meta { margin-top: 6px; }
.operator-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; margin-top: 10px; font-size: 15px; text-decoration-thickness: 1px; }
.operator-link:hover { color: var(--focus); }
.download-note { font-size: 12px; color: var(--muted); margin-top: 18px; max-width: 65ch; }
.download-note a { display: inline-block; padding: 7px 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 27px 38px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; color: var(--muted); border: 1px solid var(--border); width: 24px; height: 24px; text-align: center; line-height: 23px; border-radius: 4px; font-size: 12px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.65; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .91em; overflow-wrap: anywhere; }
.server-box { padding: 20px; background: var(--panel); border-radius: 8px; }
.server-box label { font-size: 13px; color: var(--muted); }
.server-value { display: flex; gap: 6px; align-items: center; margin-top: 9px; }
.server-value input { font: 13px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--text); background: transparent; border: 0; padding: 10px 0; width: 100%; min-width: 0; caret-color: var(--focus); }
#copy-server { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 4px; background: transparent; color: var(--text); cursor: pointer; transition: background-color .16s ease-out; }
#copy-server[hidden] { display: none; }
#copy-server:hover { background: var(--border); }
.copy-status { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.copy-status.copied { color: var(--focus); }
.help { margin-top: 40px; padding: 0 0 38px; max-width: 100%; }
details { border-top: 1px solid var(--border); }
summary { cursor: pointer; padding: 20px 0; font-weight: 500; font-size: 15px; }
summary::marker { color: var(--muted); }
summary:hover { color: var(--focus); }
.answer { padding: 0 0 22px; color: var(--muted); font-size: 14px; max-width: 72ch; }
.answer p + p { margin-top: 12px; }
pre { margin: 14px 0; padding: 15px; background: var(--panel); border-radius: 4px; overflow: auto; color: var(--text); }
pre code { white-space: pre-wrap; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 25px 0 36px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 12px; background: var(--paper); color: var(--ink); z-index: 5; }
.skip-link:focus { top: 16px; }
@media (min-width: 901px) {
  .header { min-height: 82px; }
  .intro { padding: 32px 0 28px; }
  h1 { font-size: clamp(34px, 3.7vw, 46px); }
  .intro p { margin-top: 14px; font-size: 16px; max-width: none; }
  .intro .desktop-break { display: none; }
  .agent-download { padding: 24px; }
  .windows-mark { width: 26px; height: 26px; margin-bottom: 12px; }
  .agent-download h3 { font-size: 24px; }
  .agent-download > p:not(.file-meta) { margin-top: 10px; font-size: 15px; }
  .download-button { margin-top: 18px; min-height: 46px; }
  .agent-download .file-meta { margin-top: 12px; }
  .operator-download { padding-top: 18px; padding-bottom: 16px; }
}
@media (max-width: 900px) {
  .page { padding: 0 30px; }
  .workspace { gap: 30px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .agent-download { padding: 26px; }
  .agent-download h3 { font-size: 24px; }
  .desktop-break { display: none; }
  .server-box { padding: 16px; }
}
@media (max-width: 700px) {
  .page { padding: 0 22px; }
  .header { min-height: 82px; gap: 12px; }
  .brand { font-size: 21px; gap: 9px; }
  nav { gap: 14px; font-size: 13px; }
  .intro { padding: 38px 0 32px; }
  .intro p { font-size: 16px; margin-top: 18px; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .agent-download { padding: 26px; }
  .download-button { width: 100%; justify-content: space-between; }
  .help { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
