:root {
  color-scheme: dark;
  --ink: #f4e7ca;
  --muted: #b9aa8d;
  --iron: #151817;
  --iron-light: #252a27;
  --brass: #d0a24c;
  --brass-light: #f0cd76;
  --copper: #a95e36;
  --verdigris: #347567;
  --panel: rgba(27, 29, 26, 0.94);
  --line: rgba(208, 162, 76, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 5%, rgba(169, 94, 54, 0.23), transparent 31rem),
    radial-gradient(circle at 88% 90%, rgba(52, 117, 103, 0.18), transparent 32rem),
    linear-gradient(115deg, #111412, #090b0a 68%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(208,162,76,.08) 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(208,162,76,.08) 48px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 32px; }
.hero { position: relative; max-width: 860px; margin-bottom: 44px; padding: 31px 34px 34px; border-left: 4px solid var(--copper); background: linear-gradient(90deg, rgba(35,38,34,.78), rgba(20,22,20,.15)); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; width: 100%; height: 5px; background: repeating-linear-gradient(90deg, var(--brass) 0 26px, #68451e 26px 31px); opacity: .72; }
.hero::before { top: 0; }
.hero::after { bottom: 0; }
.eyebrow, .label { color: var(--brass-light); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1 { position: relative; z-index: 1; margin: 10px 0 14px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3rem, 9vw, 6.1rem); line-height: .92; letter-spacing: .015em; text-transform: uppercase; text-shadow: 3px 4px 0 #341e12; }
h1 span { color: var(--brass-light); }
h1 em { display: inline-block; margin-left: .17em; padding: .18em .28em .12em; border: 2px solid var(--brass); color: var(--brass-light); font-family: ui-monospace, monospace; font-size: .23em; font-style: normal; letter-spacing: .08em; vertical-align: top; box-shadow: inset 0 0 0 2px #342812; text-shadow: none; }
.intro { max-width: 650px; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.25rem); line-height: 1.6; }
.address-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pipe-cap { width: 14px; border: 2px solid #7c5128; background: linear-gradient(90deg, #6f3d24, var(--copper), #6f3d24); }
code, button, .button { border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px; }
code { background: #0d100e; color: var(--brass-light); font-size: 1rem; box-shadow: inset 0 0 9px rgba(0,0,0,.8); }
button, .button { cursor: pointer; background: linear-gradient(#e0b85f, #a9762e); color: #21170c; font: inherit; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; box-shadow: inset 0 1px #ffe39b, 0 3px 0 #503313; transition: transform .15s ease, filter .15s ease; }
button:hover, .button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; min-height: 230px; padding: 29px; border: 2px solid #584424; border-radius: 7px; background: linear-gradient(145deg, rgba(42,45,40,.96), var(--panel)); box-shadow: inset 0 0 0 3px #151713, inset 0 0 0 4px rgba(208,162,76,.14), 0 18px 50px rgba(0,0,0,.33); }
.card::after { content: ""; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(208,162,76,.12); }
.card h2 { margin: 7px 0 14px; font-family: Georgia, serif; font-size: 1.65rem; color: #f6dfad; }
.card-heading { display: flex; align-items: center; gap: 11px; }
.card-heading h2 { margin: 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #89928e; box-shadow: 0 0 0 6px rgba(137,146,142,.1); }
.dot.online { background: #65dda0; box-shadow: 0 0 0 6px rgba(94,232,154,.1), 0 0 22px rgba(94,232,154,.45); }
.dot.offline { background: #ef6a67; box-shadow: 0 0 0 6px rgba(239,106,103,.1); }
.muted { color: var(--muted); line-height: 1.55; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.stats div { padding: 13px 8px; border-top: 2px solid #755528; background: linear-gradient(180deg, rgba(208,162,76,.07), transparent); }
.stats strong, .stats span { display: block; }
.stats strong { font-size: 1.45rem; }
.stats span { margin-top: 4px; color: var(--muted); font-size: .76rem; }
dl { margin: 20px 0 0; }
dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 700; }
.download-card .button { display: inline-block; margin-top: 15px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 4px 0; color: var(--muted); font-size: .8rem; }
.rivet { position: absolute; z-index: 2; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4d68b, #7b531f 66%, #2c1c0d); box-shadow: 0 1px 2px #000; }
.r1 { top: 11px; left: 11px; } .r2 { top: 11px; right: 11px; } .r3 { bottom: 11px; left: 11px; } .r4 { bottom: 11px; right: 11px; }
.gear { position: absolute; color: rgba(208,162,76,.13); font-family: Georgia, serif; line-height: 1; user-select: none; }
.gear-one { right: 18px; top: -38px; font-size: 12rem; transform: rotate(17deg); }
.gear-two { right: 160px; bottom: -48px; font-size: 7rem; color: rgba(169,94,54,.14); transform: rotate(-18deg); }

@media (max-width: 720px) {
  .shell { padding-top: 44px; }
  .hero { padding: 27px 22px 30px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
