:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --fg: #f3ecdd;
  --muted: #a39e91;
  --line: #2a2a2a;
  --max: 48rem;
  --pad: 1.25rem;
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.45;
}

.top, .jump, main, .foot {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: var(--pad);
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  margin: 0 0 0.35rem;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.jump {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-block: 0.75rem;
}

.jump a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.jump a:hover, .jump a:focus { color: var(--fg); }

section {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

figure { margin: 0 0 0.85rem; }
figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

.embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.35rem;
  overflow: hidden;
  background: #111;
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

p { margin: 0 0 0.65rem; max-width: 36rem; }
p:last-child { margin-bottom: 0; }

audio {
  display: block;
  width: 100%;
  max-width: 24rem;
  margin-top: 0.5rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.5rem;
  margin: 0.5rem 0 0.85rem;
}
.row img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

.foot {
  color: var(--muted);
  font-size: 0.85rem;
  padding-bottom: 3rem;
}
.foot a { color: var(--fg); }

details {
  margin-top: 0.5rem;
  color: var(--muted);
}
details summary {
  cursor: pointer;
  color: var(--fg);
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }

.vid video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  background: #111;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.lede { color: var(--muted); margin-top: 0.55rem; }

table.deliv {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.5rem 0 0.85rem;
}
table.deliv th,
table.deliv td {
  text-align: left;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.deliv th { color: var(--muted); font-weight: 500; }
table.deliv code {
  font-size: 0.78rem;
  word-break: break-all;
  color: var(--fg);
}
table.deliv .path { color: var(--muted); font-size: 0.8rem; }

.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
  color: var(--fg);
  margin: 0.15rem 0.25rem 0.15rem 0;
}
.pill.ok { border-color: #3d5c3a; color: #b8e0b0; }
.pill.busy { border-color: #5c5230; color: #e6d48a; }

ul.tight { padding-left: 1.2rem; margin: 0; }
ul.tight li { margin: 0.35rem 0; }

a.cta {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
