:root {
  --bg: #0b0d0c;
  --ink: #e8efe6;
  --muted: #8b9688;
  --line: #243024;
  --accent: #c8f542;
  --paper: #121612;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "IBM Plex Sans", system-ui, sans-serif; }
a { color: inherit; }
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 6vw; border-bottom: 1px solid var(--line);
}
.nav nav { display: flex; gap: 1.4rem; align-items: center; font-size: 0.92rem; }
.logo { font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.logo span { color: var(--accent); font-weight: 500; }
.hero { padding: 10vh 6vw 8vh; max-width: 1100px; }
.eyebrow { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(3rem, 8vw, 6.2rem); line-height: 0.92; font-weight: 400; margin: 0.3rem 0 1rem; }
h1 em { font-style: italic; color: var(--accent); }
.lede { max-width: 38rem; color: var(--muted); font-size: 1.15rem; line-height: 1.55; }
.hero-actions { display: flex; gap: 0.8rem; margin: 2rem 0 3rem; flex-wrap: wrap; }
.btn {
  background: var(--accent); color: #111; text-decoration: none; border: 0;
  padding: 0.85rem 1.2rem; font-weight: 600; cursor: pointer; font-size: 0.95rem;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { padding: 0.45rem 0.8rem; }
.stats { display: flex; gap: 2.5rem; padding: 0; margin: 0; }
.stats dt { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; }
.stats dd { margin: 0.2rem 0 0; font-size: 1.05rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.grid3 article { background: var(--bg); padding: 2.4rem 6vw; }
.n { font-family: "IBM Plex Mono", monospace; color: var(--accent); }
.panel { padding: 4rem 6vw 6rem; }
.panel ol { max-width: 40rem; line-height: 1.7; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 1.2rem 6vw; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.85rem; }
.desk { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); min-height: calc(100vh - 64px); }
.card { background: var(--paper); padding: 2rem; }
label { display: block; margin: 0.8rem 0; font-size: 0.85rem; color: var(--muted); }
input, select, textarea {
  width: 100%; margin-top: 0.35rem; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); padding: 0.7rem; font: inherit;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.check { display: flex; gap: 0.5rem; align-items: center; }
.check input { width: auto; }
.muted { color: var(--muted); }
.order {
  border: 1px solid var(--line); padding: 1rem; margin-bottom: 0.8rem;
}
.order h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.meta { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; color: var(--muted); }
.alloc { height: 8px; background: #1b2218; margin: 0.8rem 0; display: flex; }
.alloc i { display: block; height: 100%; }
.pill { font-size: 0.75rem; color: var(--muted); }
.wrap { padding: 2rem 6vw 4rem; }
.desk.single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; background: transparent; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { text-align: left; padding: 0.45rem 0.3rem; border-bottom: 1px solid var(--line); }
.snippet { background: #0b0d0c; border: 1px solid var(--line); padding: 1rem; overflow: auto; white-space: pre-wrap; }
.good { color: var(--accent); }
.bad { color: #ff6b8a; }
fieldset { border: 1px solid var(--line); margin: 1rem 0; }
@media (max-width: 800px) {
  .desk, .row { grid-template-columns: 1fr; }
  .stats { flex-direction: column; gap: 1rem; }
}
