/* s!mpL3 - site styles. Palette: network-closet grey, patch-cable blue, signal yellow (from the old site), link-light green. */
:root {
  --paper: #edf1f3;
  --panel: #f8fafb;
  --ink: #15222e;
  --muted: #55636f;
  --line: #c6d1d9;
  --blue: #0f5fa6;
  --blue-ink: #0b4a82;
  --yellow: #f2b705;
  --yellow-ink: #2b2100;
  --green: #1e9e3e;
  --cable: #9fb1bf;
  --shadow: 0 1px 0 rgba(21, 34, 46, .06), 0 12px 32px -18px rgba(21, 34, 46, .35);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, "Segoe UI", sans-serif;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1a22; --panel: #15232d; --ink: #e2e9ef; --muted: #9eadb9; --line: #2a3b48;
    --blue: #6cb2f0; --blue-ink: #9bcbf6; --cable: #3d5263;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 14px 34px -18px rgba(0,0,0,.8);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 var(--body);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--yellow-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---- header ---- */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; flex-wrap: wrap; }
.brand {
  font: 900 26px/1 var(--display); font-stretch: 125%; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 700; font-size: 16px; }
.nav a:hover { background: var(--panel); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }

/* ---- type ---- */
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 900; font-stretch: 125%; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 800; font-stretch: 100%; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.small { font-size: 15px; color: var(--muted); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 800 17px/1 var(--display); font-stretch: 110%; padding: 15px 22px; border-radius: 10px;
}
.btn-dl { background: var(--yellow); color: var(--yellow-ink); box-shadow: 0 3px 0 #b88a00; }
.btn-dl:hover { color: var(--yellow-ink); background: #ffc71a; }
.btn-dl:active { transform: translateY(2px); box-shadow: 0 1px 0 #b88a00; }
.btn-dl svg { width: 20px; height: 20px; }
.btn-plain { color: var(--ink); padding-left: 6px; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 26px 0 10px; }

/* ---- hero ---- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.net { width: 100%; height: auto; display: block; }
.net .cable { fill: none; stroke: var(--cable); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.net .cable.live { stroke: var(--blue); }
.net .box { fill: var(--panel); stroke: var(--line); stroke-width: 1.5; }
.net .screen { fill: var(--paper); stroke: var(--line); }
.net .lbl { font: 700 13px var(--body); fill: var(--ink); }
.net .ip { font: 400 12px var(--body); fill: var(--muted); }
.net .sw { fill: var(--ink); }
.net .port { fill: var(--paper); }
.net .on { fill: var(--green); }
.net .bubble { fill: var(--blue); }
.net .bubble-t { font: 700 12px var(--body); fill: #fff; }
.net .pkt { fill: var(--yellow); stroke: var(--yellow-ink); stroke-width: 1; }
@media (prefers-reduced-motion: reduce) { .net .pkt { display: none; } }

/* ---- sections ---- */
section { padding: 48px 0; }
.rule { border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 48px; margin-top: 24px; }
.feat div { padding: 16px 0; border-top: 2px solid var(--line); }
.feat h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.feat h3 svg { width: 22px; height: 22px; flex: none; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat p { color: var(--muted); margin: 0; max-width: 34em; }

.shots { display: grid; grid-template-columns: 0.42fr 1fr; gap: 24px; align-items: start; margin-top: 24px; }
.shots.three { grid-template-columns: 1fr 1fr; }
figure { margin: 0; }
figure img { border-radius: 10px; box-shadow: var(--shadow); display: block; background: #fff; }
figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* ---- release list / notes ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--cable); }
.timeline li.latest::before { background: var(--green); border-color: var(--green); }
.timeline .v { font: 800 19px/1.3 var(--display); font-stretch: 110%; }
.timeline .d { color: var(--muted); font-size: 15px; display: block; }
.notes { margin: 0 0 1em; padding-left: 1.4em; max-width: 46em; }
.notes li { margin-bottom: .7em; padding-left: .2em; }
.notes li::marker { font-weight: 700; color: var(--blue); }
.entry { padding: 26px 0; border-top: 1px solid var(--line); }
.entry:first-of-type { border-top: 0; }
.entry h2 { font-size: 26px; margin-bottom: 4px; }
.entry .d { color: var(--muted); margin-bottom: 14px; display: block; }
.entry p, .entry .notes { max-width: 46em; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.side { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; position: sticky; top: 20px; }
.side h3 { margin-bottom: 4px; }
.side .btn { width: 100%; justify-content: center; margin: 14px 0 8px; }
.side ul { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.side li { border-bottom: 1px solid var(--line); }
.side li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; text-decoration: none; color: var(--ink); }
.side li a span { color: var(--muted); font-size: 14px; }
.side li a:hover b { color: var(--blue); }
.banner { background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--yellow); padding: 14px 18px; border-radius: 8px; margin: 0 0 24px; }

dl.spec { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
dl.spec dt { font-weight: 700; }
dl.spec dd { margin: 0; color: var(--muted); }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 44px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.donate {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700;
  color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 9px 18px;
}
.donate svg { width: 18px; height: 18px; fill: #e5484d; }
.donate:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 880px) {
  .hero .wrap, .split, .shots, .shots.three { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .side { position: static; }
  .hero { padding-top: 36px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 8px; padding-top: 10px; padding-bottom: 6px; }
  .nav { margin-left: -12px; }
  dl.spec { grid-template-columns: 1fr; gap: 2px 0; }
  dl.spec dd { margin-bottom: 10px; }
}
