:root {
  --ink: #14211d;
  --muted: #5d6b65;
  --paper: #f4f3ec;
  --panel: #fcfbf6;
  --line: #d8dbd1;
  --green: #146b4a;
  --green-soft: #dcebe2;
  --lime: #b8db65;
  --amber: #9a5b10;
  --amber-soft: #f4e6c9;
  --navy: #17292d;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 4%, rgba(184,219,101,.22), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 10; background: #fff; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header, main, .site-footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 90px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(20,33,29,.14); }
.brand { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; font-size: .95rem; letter-spacing: -.01em; }
.brand b { font-weight: 700; }
.brand-mark { width: 38px; height: 30px; display: flex; gap: 3px; align-items: flex-end; padding: 6px; background: var(--navy); border-radius: 8px; }
.brand-mark i { display: block; width: 6px; border-radius: 3px 3px 1px 1px; background: var(--lime); }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 12px; }
.environment { font: 700 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .09em; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.45); }

.hero { min-height: 600px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; padding: 92px 0 88px; }
.eyebrow, .kicker { font: 750 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .12em; color: var(--green); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #2da66f; box-shadow: 0 0 0 5px rgba(45,166,111,.14); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 750px; margin: 1.5rem 0 1.25rem; font-size: clamp(3.9rem, 8vw, 7.4rem); line-height: .88; letter-spacing: -.075em; font-weight: 760; }
.lede { max-width: 690px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; }
.hero-actions { display: flex; gap: .75rem; margin-top: 2.2rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; padding: .9rem 1.15rem; border-radius: 10px; font-weight: 700; font-size: .92rem; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--navy); }
.button.primary:hover { background: #223d42; }
.button.secondary { border: 1px solid #bcc4bd; background: rgba(255,255,255,.5); }

.status-card { position: relative; overflow: hidden; padding: 1.25rem; border: 1px solid rgba(20,33,29,.14); border-radius: var(--radius); background: var(--navy); color: #eef5ef; box-shadow: 0 28px 80px rgba(23,41,45,.18); }
.status-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -75px; top: 58px; border: 26px solid rgba(184,219,101,.09); border-radius: 50%; }
.status-card-head { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.13); font-size: .78rem; color: #bdcbc3; }
.healthy { color: #d8f18c; font-weight: 700; }
.healthy i { display: inline-block; width: 7px; height: 7px; margin-right: .35rem; border-radius: 50%; background: #b8db65; }
.score { padding: 3rem 0 2.5rem; }
.score strong { display: block; font-size: 6rem; line-height: .82; letter-spacing: -.07em; color: white; }
.score strong span { font-size: 2rem; color: #9eb0a5; }
.score p { margin: .85rem 0 0; color: #bdcbc3; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: rgba(255,255,255,.12); }
.metrics div { padding: 1rem .7rem; background: var(--navy); }
.metrics dt { font-size: .68rem; line-height: 1.25; color: #9eb0a5; }
.metrics dd { margin: .55rem 0 0; font-size: 1.35rem; font-weight: 750; color: white; }
.checked { margin: 1.1rem 0 0; font: .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: #9eb0a5; }

.section { padding: 90px 0; border-top: 1px solid rgba(20,33,29,.15); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-heading .kicker { margin-bottom: 1rem; }
h2 { margin-bottom: 0; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.section-heading > p { margin-bottom: .25rem; color: var(--muted); line-height: 1.65; }
.endpoint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.endpoint { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.48); text-decoration: none; transition: background .15s ease, border .15s ease; }
.endpoint:hover { border-color: #aebbb1; background: white; }
.endpoint.wide { grid-column: span 2; }
.endpoint .method { font: 700 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--green); }
.endpoint code { overflow: hidden; text-overflow: ellipsis; font: .83rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.endpoint .ok { font: 750 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: .42rem .55rem; }

.finding-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.finding { min-height: 280px; display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.25); }
.number { font: .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #89958e; }
.finding h3 { margin: 3.4rem 0 .8rem; font-size: 1.3rem; letter-spacing: -.025em; }
.finding p { margin-bottom: 1.5rem; color: var(--muted); line-height: 1.55; font-size: .94rem; }
.tag { align-self: flex-start; margin-top: auto; padding: .38rem .55rem; border-radius: 999px; font: 750 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.tag.pass { color: var(--green); background: var(--green-soft); }
.tag.gap { color: var(--amber); background: var(--amber-soft); }

.correction { margin: 32px 0 92px; display: grid; grid-template-columns: 72px 1fr; gap: 2rem; padding: clamp(2rem, 5vw, 4.2rem); border-radius: var(--radius); color: #f4f7f3; background: var(--navy); }
.correction-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(184,219,101,.14); color: var(--lime); font-size: 1.7rem; }
.correction .kicker { color: var(--lime); margin-bottom: 1rem; }
.correction h2 { max-width: 800px; margin-bottom: 1.5rem; }
.correction p:not(.kicker) { max-width: 800px; color: #c7d2cb; line-height: 1.7; }
.correction strong { color: white; }

.contract { display: grid; grid-template-columns: 1.2fr .8fr; gap: 6rem; align-items: center; }
.contract-copy h2 { margin: 1rem 0 1.3rem; }
.contract-copy > p:not(.kicker) { max-width: 650px; color: var(--muted); line-height: 1.7; }
.text-link { display: inline-block; margin-top: 1rem; color: var(--green); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.route-list { border-top: 1px solid var(--line); }
.route-list div { display: flex; align-items: baseline; justify-content: space-between; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.route-list span { color: var(--muted); }
.route-list strong { font-size: 2.2rem; letter-spacing: -.04em; }

.site-footer { min-height: 180px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem 0; border-top: 1px solid rgba(20,33,29,.15); color: var(--muted); font-size: .82rem; }
.site-footer p { margin: 0; line-height: 1.6; }
.site-footer strong { color: var(--ink); }
.site-footer code { font: .75rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.marker { text-align: right; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 70px 0; }
  .status-card { max-width: 520px; }
  .section-heading, .contract { grid-template-columns: 1fr; gap: 1.5rem; }
  .finding-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 74px; }
  .brand b { display: none; }
  .environment { font-size: .62rem; }
  h1 { font-size: clamp(3.35rem, 17vw, 5rem); }
  .hero { gap: 2.5rem; }
  .status-card { padding: 1rem; }
  .score strong { font-size: 5rem; }
  .endpoint-grid, .finding-grid { grid-template-columns: 1fr; }
  .endpoint.wide { grid-column: auto; }
  .finding { min-height: 230px; }
  .correction { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .marker { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
