:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #101419;
  color: #eef2f6;
  --muted: #a8b5c1;
  --accent: #9cf3c8;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at top, #1a2b29, transparent 660px); }
main { width: min(950px, calc(100% - 32px)); margin: auto; padding: clamp(38px, 8vw, 90px) 0 26px; }
.eyebrow, footer { color: var(--muted); font-size: .83rem; }
.eyebrow span {
  display: inline-block; margin-right: 8px; padding: 4px 9px;
  border: 1px solid #47725f; border-radius: 6px; color: var(--accent);
  font: 700 .8rem ui-monospace, monospace;
}
h1 { font-size: clamp(2.55rem, 8vw, 5.1rem); letter-spacing: -.065em; line-height: .98; margin: 22px 0; }
h2 { font-size: 1.1rem; margin: 0 0 16px; }
p { line-height: 1.55; }
.lead { color: var(--muted); max-width: 480px; font-size: 1.08rem; margin-bottom: 32px; }
.layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.card { background: #191f25; border: 1px solid #343e47; border-radius: 16px; padding: clamp(16px, 3vw, 24px); }
.drop {
  position: relative; display: grid; place-content: center; justify-items: center;
  gap: 9px; min-height: 180px; padding: 16px; border: 1px dashed #59776b; border-radius: 10px;
  background: #1c2b29; text-align: center; cursor: pointer;
}
.drop:hover, .drop:focus-within, .drop.active { background: #263d36; border-color: var(--accent); }
.drop:focus-within, .download:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.drop.busy { opacity: .65; cursor: progress; }
.drop svg { color: var(--accent); margin-bottom: 3px; }
.drop span, .output p, .status { color: var(--muted); font-size: .9rem; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.status { margin: 14px 0 0; overflow-wrap: anywhere; }
.status.error { color: #ffb9aa; }
pre { background: #101419; border-radius: 9px; margin: 0; padding: 15px; overflow: auto; line-height: 1.65; }
pre span, code { color: var(--accent); }
.output p:last-child { margin-bottom: 0; }
#install { overflow-wrap: anywhere; }
details { font-size: .9rem; margin-bottom: 16px; overflow-wrap: anywhere; }
summary { cursor: pointer; color: #f5ce9e; }
.download {
  display: inline-block; padding: 10px 15px; border-radius: 8px; background: var(--accent);
  color: #14261e; font-weight: 700; text-decoration: none;
}
.download:hover { background: #c1ffe0; }
footer { margin-top: 24px; }
@media (max-width: 640px) { .layout { grid-template-columns: 1fr; } }
