:root {
  --ink: #15251f;
  --muted: #6a7972;
  --paper: #f5f2e9;
  --card: #fffdf7;
  --line: #d8d8cd;
  --green: #176f52;
  --mint: #9de2bd;
  --amber: #d28b24;
  --red: #ba4b40;
  --navy: #19354a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  background-image: radial-gradient(#c9c9bd 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}
a { color: inherit; }
.shell { max-width: 1240px; margin: 0 auto; padding: 0 34px; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; font-size: 18px; }
.brand-mark { width: 31px; height: 31px; border: 2px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 2px; }
.brand-mark i { display: block; width: 3px; background: var(--green); border-radius: 2px; }
.brand-mark i:nth-child(1) { height: 8px; } .brand-mark i:nth-child(2) { height: 16px; } .brand-mark i:nth-child(3) { height: 11px; }
.topbar-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.topbar-meta a { margin-left: 14px; text-underline-offset: 4px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23,111,82,.12); }

.hero { min-height: 440px; padding: 84px 0 66px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 65px; align-items: center; }
.eyebrow { margin: 0 0 16px; font: 500 11px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
h1 { font-size: clamp(52px, 7vw, 86px); line-height: .95; letter-spacing: -.055em; margin: 0; max-width: 720px; }
h1 span { color: var(--green); }
.lede { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 610px; margin: 28px 0 0; }
.flow-card { background: var(--ink); color: white; border-radius: 2px; padding: 28px; box-shadow: 13px 13px 0 var(--mint); transform: rotate(1deg); }
.flow-node { border: 1px solid rgba(255,255,255,.25); padding: 22px; display: flex; align-items: center; justify-content: space-between; }
.flow-node small { color: #aac0b7; font: 500 10px "JetBrains Mono", monospace; letter-spacing: .12em; }
.flow-node strong { font-size: 17px; }
.flow-node.accent { background: var(--green); border-color: var(--green); }
.flow-node.accent small { color: #c9f6dc; }
.flow-line { height: 64px; display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--mint); }
.flow-line b { font: 500 10px "JetBrains Mono", monospace; letter-spacing: .13em; color: white; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); }
.stats article { padding: 26px 28px; border-right: 1px solid var(--line); }
.stats article:last-child { border: 0; }
.stat-label { display: block; font: 500 10px "JetBrains Mono", monospace; text-transform: uppercase; color: var(--muted); letter-spacing: .1em; }
.stats strong { display: block; font-size: 38px; letter-spacing: -.05em; margin: 7px 0 2px; }
.stats small { color: var(--muted); }

.registry-section { padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; }
h2 { font-size: 38px; letter-spacing: -.04em; margin: 0; }
.controls { display: flex; gap: 10px; }
.search { background: var(--card); border: 1px solid var(--line); padding: 10px 12px; display: flex; gap: 8px; }
input, select { font: inherit; color: var(--ink); border: 0; outline: 0; background: transparent; }
select { border: 1px solid var(--line); background: var(--card); padding: 0 34px 0 13px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 270px; background: var(--card); border: 1px solid var(--line); padding: 25px; transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px rgba(21,37,31,.08); }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; }
.service-icon { display: grid; place-items: center; width: 38px; height: 38px; background: var(--navy); color: white; font-weight: 700; border-radius: 2px; }
.status-pill { border-radius: 30px; padding: 6px 9px; font: 500 10px "JetBrains Mono", monospace; text-transform: uppercase; }
.status-pill.passing { color: var(--green); background: #e1f4e9; }
.status-pill.warning { color: #8a590d; background: #faebca; }
.status-pill.failing { color: var(--red); background: #f8dedb; }
.service-card h3 { margin: 26px 0 3px; font-size: 23px; }
.owner { color: var(--green); font-size: 13px; margin: 0; }
.summary { color: var(--muted); min-height: 43px; font-size: 14px; line-height: 1.5; margin: 20px 0 23px; }
.card-bottom { padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.card-bottom code { font-family: "JetBrains Mono", monospace; }
.empty { padding: 50px; text-align: center; color: var(--muted); background: var(--card); border: 1px solid var(--line); }

.how-it-works { border-top: 1px solid var(--line); padding: 90px 0; display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.how-it-works ol { list-style: none; padding: 0; margin: 0; }
.how-it-works li { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.how-it-works li > b { color: var(--green); font: 500 12px "JetBrains Mono", monospace; }
.how-it-works li span { color: var(--muted); line-height: 1.5; }
.how-it-works li strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
footer { min-height: 80px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }

@media (max-width: 850px) {
  .hero, .how-it-works { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .flow-card { max-width: 550px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats article:nth-child(2) { border-right: 0; }
  .stats article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 590px) {
  .shell { padding: 0 18px; }
  .topbar-meta { font-size: 0; }
  .topbar-meta a { font-size: 12px; }
  .hero { min-height: 0; }
  h1 { font-size: 50px; }
  .stats, .service-grid { grid-template-columns: 1fr; }
  .stats article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { align-items: stretch; flex-direction: column; gap: 24px; }
  .controls { flex-direction: column; }
  select { min-height: 43px; }
  footer { flex-direction: column; justify-content: center; gap: 8px; }
}

