:root {
  --bg: #0b0f0e;
  --panel: #121917;
  --line: #24302c;
  --text: #e8efec;
  --muted: #93a39d;
  --accent: #3ddc84;          /* the green of the board's power LEDs */
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 5vw, 56px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: 0.01em; white-space: nowrap; }
nav { display: flex; gap: clamp(12px, 2.5vw, 28px); font: 13px var(--mono); }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--accent); }

main { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 56px); }
section { padding: clamp(56px, 9vw, 110px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 60px; }
section:last-child { border-bottom: 0; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.kicker, .label { font: 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 18px; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 22px; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 16px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; margin: 0 0 28px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn {
  display: inline-block; padding: 11px 20px; border: 1px solid var(--line); border-radius: 6px;
  text-decoration: none; font: 14px var(--mono); transition: border-color .15s, background .15s, color .15s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #06120b; font-weight: 600; }
.btn.primary:hover { background: transparent; color: var(--accent); }

figure { margin: 0; }
figure img { border-radius: 8px; border: 1px solid var(--line); background: var(--panel); width: 100%; }
figcaption { font: 12.5px/1.5 var(--mono); color: var(--muted); margin-top: 10px; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 0 40px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.specs div { background: var(--panel); padding: 16px 18px; }
.specs dt { font: 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.specs dd { margin: 0; }

.gallery { display: grid; gap: 20px; align-items: start; }
.gallery.three { grid-template-columns: 0.75fr 1fr 1fr; }
.gallery.two { grid-template-columns: 1.3fr 1fr; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery.three figure:first-child img { aspect-ratio: 3 / 4; }
.gallery.two figure:last-child img { aspect-ratio: 1 / 1; }
.gallery.two figure:first-child img { object-fit: contain; background: #fff; }

.log { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.log li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0 14px 26px; }
.log li::before { content: ""; position: absolute; left: -5px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.log time { font: 13px/1.9 var(--mono); color: var(--muted); }
.log p { margin: 0; max-width: 62ch; }

footer { padding: 28px clamp(16px, 5vw, 56px); border-top: 1px solid var(--line); color: var(--muted); font: 12.5px var(--mono); text-align: center; }
footer p { margin: 0; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .gallery.three, .gallery.two { grid-template-columns: 1fr; }
  .gallery.three figure:first-child img { aspect-ratio: 4 / 3; }
  .log li { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  nav { display: none; }
  .specs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
