:root {
  color-scheme: dark;
  --background: #0c1417;
  --panel: #142024;
  --line: #314347;
  --text: #f0f6f4;
  --muted: #afc2c2;
  --accent: #a9eac1;
  font: 16px/1.5 system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
.container { width: min(100% - 3rem, 78rem); margin: auto; }
.project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.wordmark { color: var(--text); font-weight: 680; text-decoration: none; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(2rem, 7vw, 6rem) 0 2rem;
}
h1, h2 { margin: 0; line-height: 1.03; letter-spacing: -.045em; }
h1 { font-size: clamp(2.45rem, 6vw, 5.4rem); font-weight: 580; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
p { color: var(--muted); }
.intro > p { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 34rem; margin: 1.25rem 0 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.8rem;
  padding: .55rem .95rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { border-color: var(--accent); }
.primary { color: var(--background); background: var(--accent); border-color: var(--accent); }
.primary:focus-visible { outline-offset: 3px; }
.preview { margin: 0; border: 1px solid var(--line); border-radius: .45rem; overflow: hidden; background: var(--panel); }
.preview img { aspect-ratio: 1600 / 1143; }
figcaption { padding: .55rem .85rem; color: var(--muted); font-size: .85rem; }
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem 1.5rem;
  margin: 0;
  padding: 1.2rem 0;
  border-block: 1px solid var(--line);
}
dt { color: var(--muted); font-size: .88rem; }
dd { margin: .25rem 0 0; font-size: 1.15rem; font-weight: 600; }
.release {
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
  gap: 1.25rem 3rem;
  padding: 2rem 0 4rem;
}
.release p:first-child { margin-top: 0; }
.secondary { font-size: .9rem; }
.diagram-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.75rem 0 1.5rem;
}
.diagram-head h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
.diagram-head p { margin: .7rem 0 0; }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: .4rem; overflow: hidden; margin-bottom: 3rem; }
@media (max-width: 49rem) {
  .hero, .release { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 26rem) {
  .container { width: calc(100% - 2rem); }
}
