:root {
  --bus: #d4a20a;
  --body: #222828;
  --ok: #2a8a4a;
  --fail: #c43028;
  --paper: #ece8dc;
  --mute: #6a6860;
  --display: "Oswald", "Noto Sans SC", sans-serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body { margin: 0; background: var(--paper); color: #161616; font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: #8a6a00; text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
.grit {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.1;
  background-image: url("images/texture.webp");
  background-size: 360px auto;
  mix-blend-mode: multiply;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--bus); color: #111; padding: 8px; }
.busbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: var(--body);
  color: #f2ead0;
  border-bottom: 6px solid var(--bus);
}
.brand { font-family: var(--display); font-size: 28px; letter-spacing: 0.06em; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: #b8b090; letter-spacing: 0.14em; }
.nav-toggle { display: none; background: var(--bus); color: #111; border: 0; padding: 8px 14px; font-weight: 700; }
.run-links { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; align-items: center; }
.run-links a { color: #c8c0a8; }
.run-links a.is-active, .run-links a:hover { color: var(--bus); }
.run-links .live { background: var(--bus); color: #111; padding: 6px 12px; font-weight: 700; }
.dock { position: relative; min-height: 88vh; display: flex; align-items: flex-end; }
.dock .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pad {
  position: relative;
  z-index: 2;
  margin: 0 0 32px 5vw;
  max-width: 540px;
  padding: 24px;
  background: rgba(34, 40, 40, 0.9);
  color: #f2ead0;
}
.kicker { font-family: var(--mono); letter-spacing: 0.16em; font-size: 11px; color: var(--bus); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 10px; line-height: 1.05; font-weight: 600; letter-spacing: 0.04em; }
h1 { font-size: clamp(30px, 5vw, 48px); }
.lead { color: #c8c0a8; }
.chk { margin: 16px 0; padding: 14px; background: #161a1a; border-left: 8px solid var(--fail); }
.chk.is-ok { border-left-color: var(--ok); }
.n { font-family: var(--display); font-size: 40px; margin: 0 0 6px; }
.chk button { margin-top: 8px; background: var(--bus); color: #111; border: 0; padding: 10px 16px; font-size: 16px; font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; padding: 10px 16px; border: 1px solid currentColor; }
.btn.fill { background: var(--bus); color: #111; border-color: var(--bus); font-weight: 700; }
.w { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.checks article { background: #fff; padding: 16px; border-top: 8px solid var(--bus); }
.asphalt { background: var(--body); color: #f2ead0; }
.asphalt .kicker, .asphalt .app-link { color: var(--bus); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: 220px; object-fit: cover; }
.pair figcaption { font-size: 13px; color: #b8b090; margin-top: 8px; }
footer { padding: 20px 24px 40px; color: var(--mute); font-size: 13px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .busbar { flex-wrap: wrap; }
  .run-links { display: none; width: 100%; flex-direction: column; background: #161a1a; padding: 12px; }
  .run-links.open { display: flex; }
  .pad { margin: 0 16px 20px; }
  .checks, .pair { grid-template-columns: 1fr; }
}
