:root {
  --bg:#080a0b; --panel:#101315; --panel2:#15191b; --line:#262b2e;
  --text:#f2f5f3; --muted:#929b97; --accent:#d5ff5f; --danger:#ff746c;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing:border-box; }
html { background:var(--bg); }
body { margin:0; color:var(--text); background:var(--bg); font-family:var(--sans); }
button,input { font:inherit; }
button { cursor:pointer; }
.shell { width:min(1180px, calc(100% - 40px)); margin:0 auto; }
.topbar { height:78px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:11px; color:var(--text); text-decoration:none; font-weight:650; letter-spacing:-.02em; }
.brand-mark { width:32px; height:32px; display:grid; place-items:center; border:1px solid #3c4440; border-radius:6px; font:700 11px var(--mono); }
.worker-pill { display:flex; align-items:center; gap:8px; color:var(--muted); font:12px var(--mono); }
.dot { width:7px; height:7px; border-radius:50%; background:#606965; box-shadow:0 0 0 3px #161a18; }
.dot.online { background:var(--accent); }
.dot.offline { background:var(--danger); }
main { padding:82px 0 96px; }
.intro { max-width:900px; margin-bottom:64px; }
.eyebrow,.kicker { margin:0 0 15px; color:var(--muted); font:600 11px var(--mono); letter-spacing:.14em; }
h1 { margin:0; font-size:clamp(46px,7vw,94px); line-height:.93; letter-spacing:-.065em; font-weight:650; }
h1 span { color:#b8c0bc; }
.lede { max-width:710px; margin:28px 0 0; color:#aeb6b2; font-size:17px; line-height:1.75; }
.workbench,.job-panel { border:1px solid var(--line); background:var(--panel); border-radius:10px; padding:28px; }
.section-head,.job-heading { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; margin-bottom:20px; }
h2 { margin:0; font-size:19px; font-weight:620; letter-spacing:-.02em; }
.host-tags { display:flex; gap:7px; flex-wrap:wrap; }
.host-tags span { border:1px solid var(--line); border-radius:999px; padding:6px 10px; color:var(--muted); font:11px var(--mono); }
.url-row { display:grid; grid-template-columns:1fr auto; gap:10px; }
.url-row input { min-width:0; height:54px; border:1px solid #303639; border-radius:7px; background:#090b0c; color:var(--text); padding:0 16px; outline:none; font:14px var(--mono); }
.url-row input:focus { border-color:#66706c; box-shadow:0 0 0 3px #181d1b; }
.url-row button { height:54px; padding:0 22px; border:0; border-radius:7px; background:var(--accent); color:#11140b; font-weight:720; }
.url-row button:disabled { opacity:.45; cursor:not-allowed; }
.options { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:8px; overflow:hidden; margin-top:18px; }
.option { min-height:112px; display:grid; grid-template-columns:22px 1fr; gap:12px; align-content:start; padding:18px; background:#0d1011; cursor:pointer; }
.option:hover { background:#111516; }
.option input { position:absolute; opacity:0; pointer-events:none; }
.check { width:18px; height:18px; border:1px solid #4a5350; border-radius:4px; margin-top:2px; position:relative; }
.option input:checked + .check { background:var(--accent); border-color:var(--accent); }
.option input:checked + .check:after { content:""; position:absolute; left:5px; top:2px; width:4px; height:8px; border:solid #11140b; border-width:0 2px 2px 0; transform:rotate(45deg); }
.option strong { display:block; font-size:14px; font-weight:640; }
.option small { display:block; color:var(--muted); margin-top:7px; line-height:1.5; font-size:12px; }
.rights { display:flex; align-items:flex-start; gap:9px; margin-top:16px; color:#8c9591; font-size:12px; line-height:1.5; }
.rights input { margin-top:2px; accent-color:var(--accent); }
.truth-note { display:grid; grid-template-columns:36px 1fr; gap:14px; margin-top:26px; padding-top:20px; border-top:1px solid var(--line); }
.truth-note > span { color:var(--accent); font:11px var(--mono); }
.truth-note p { margin:0; color:#9ca5a1; font-size:12px; line-height:1.7; }
.truth-note strong { color:#d7dcd9; }
.job-panel { margin-top:18px; }
.job-heading code { color:#6f7874; font:11px var(--mono); }
.progress-track { width:100%; height:5px; background:#252a2c; overflow:hidden; border-radius:99px; }
.progress-bar { width:0; height:100%; background:var(--accent); transition:width .45s ease; }
.progress-meta { display:flex; justify-content:space-between; margin-top:9px; color:var(--muted); font:11px var(--mono); text-transform:uppercase; }
.source-meta { display:flex; flex-wrap:wrap; gap:7px; margin-top:22px; }
.meta-chip { padding:6px 9px; background:#0c0f10; border:1px solid var(--line); border-radius:5px; color:#9ba49f; font:11px var(--mono); }
.artifacts { display:grid; gap:8px; margin-top:24px; }
.artifact { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; border:1px solid var(--line); border-radius:7px; padding:16px; background:#0b0e0f; }
.artifact-name { display:flex; align-items:center; gap:10px; font:13px var(--mono); }
.artifact-key { color:var(--accent); font:10px var(--mono); border:1px solid #465329; border-radius:4px; padding:3px 5px; }
.artifact p { margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
.artifact a { color:#11140b; background:#e8edea; text-decoration:none; padding:9px 12px; border-radius:5px; font-size:12px; font-weight:700; white-space:nowrap; }
.error-box { margin-top:18px; border:1px solid #5f2e2c; background:#1c1010; color:#ffaaa5; border-radius:7px; padding:14px; white-space:pre-wrap; font:12px/1.55 var(--mono); }
.method { margin-top:68px; }
.method-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.method-grid article { padding:24px 24px 28px 0; min-height:170px; }
.method-grid article + article { border-left:1px solid var(--line); padding-left:24px; }
.method-grid code { color:var(--accent); font:10px var(--mono); letter-spacing:.08em; }
.method-grid h3 { margin:22px 0 8px; font-size:15px; font-weight:620; }
.method-grid p { margin:0; color:var(--muted); font-size:12px; line-height:1.65; }
footer { border-top:1px solid var(--line); padding:25px 0 40px; color:#616a66; font:10px var(--mono); }
.hidden { display:none !important; }
@media (max-width:800px) {
  .shell { width:min(100% - 24px, 1180px); }
  .topbar { height:64px; }
  main { padding:56px 0 72px; }
  .intro { margin-bottom:42px; }
  .lede { font-size:15px; }
  .workbench,.job-panel { padding:18px; }
  .url-row { grid-template-columns:1fr; }
  .url-row button { width:100%; }
  .options { grid-template-columns:1fr; }
  .option { min-height:88px; }
  .method-grid { grid-template-columns:1fr; }
  .method-grid article { min-height:0; padding:22px 0; }
  .method-grid article + article { border-left:0; border-top:1px solid var(--line); padding-left:0; }
  .artifact { grid-template-columns:1fr; }
  .artifact a { text-align:center; }
  .section-head { flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {
  .progress-bar { transition:none; }
}
