/* advisory.agentmesh.ai. The cream look from agentmesh.ai (cream.css in the
   site repo), copied rather than linked so this host renders when the other one
   is down. Severity and verification states each carry a word and a shape, never
   a colour alone. */
:root{
  --ink:#F3EFE6; --panel:#FBF8F2; --line:#D9D1C3; --line-2:#CFC6B6;
  --paper:#15171C; --dim:#50555D; --faint:#6A6E75; --rust:#B53A15;
  --disp:'Fraunces', Georgia, serif;
  --body:'Geist', system-ui, sans-serif;
  --wire:'Geist Mono', ui-monospace, monospace;
}
*{ box-sizing:border-box; }
html,body{ margin:0; }
body{ background:var(--ink); color:var(--paper); font-family:var(--body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration-color:var(--line-2); }
a:hover{ text-decoration-color:var(--paper); }
a:focus-visible{ outline:2px solid var(--rust); outline-offset:3px; border-radius:4px; }
h1,h2,h3{ font-family:var(--disp); font-weight:400; letter-spacing:-.02em; line-height:1.1; }
code, .mono{ font-family:var(--wire); font-size:.92em; }
.wrap{ max-width:1000px; margin:0 auto; padding:0 40px; }
.kicker{ font-family:var(--wire); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--rust); margin:0 0 16px; }

/* top bar, as on agentmesh.ai */
.topbar{ position:sticky; top:0; z-index:20; border-bottom:1px solid var(--line);
  background:rgba(243,239,230,.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.topbar .bar{ max-width:1000px; margin:0 auto; padding:0 40px; height:64px; display:flex; align-items:center; gap:22px; }
.brand{ display:flex; align-items:center; gap:9px; color:var(--paper); text-decoration:none; }
.brand .mark{ flex:none; }
.brand span.wm{ font-family:'Space Grotesk', sans-serif; font-weight:500; font-size:1.02rem; letter-spacing:-.01em; }
.brand span.wm b{ font-weight:700; }
.brand:hover span.wm b{ color:var(--rust); }
.where{ font-family:var(--wire); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--dim);
  border-left:1px solid var(--line-2); padding-left:14px; text-decoration:none; }
.topnav{ display:flex; gap:22px; margin-left:auto; }
.topnav a{ font-size:.92rem; color:var(--dim); text-decoration:none; white-space:nowrap; }
.topnav a:hover{ color:var(--paper); }

main{ padding-bottom:40px; }
.head{ padding:64px 0 22px; }
.head h1{ margin:0 0 16px; font-size:clamp(2.3rem,5vw,3.8rem); }
.head p.lead{ margin:0; font-size:1.15rem; color:var(--dim); max-width:62ch; }
.crumb{ margin:0 0 18px; font-size:.95rem; }
.crumb a{ color:var(--dim); }

section{ padding:40px 0; border-top:1px solid var(--line); }
section h2{ margin:0 0 16px; font-size:clamp(1.8rem,3.2vw,2.5rem); }
section > p, .prose p{ margin:0 0 14px; font-size:1.06rem; color:var(--dim); max-width:66ch; }
section > p b, .prose p b{ color:var(--paper); font-weight:500; }

/* the verification line */
.check{ display:grid; grid-template-columns:34px minmax(0,1fr); gap:14px; align-items:start;
  border:1.5px solid var(--line-2); background:var(--panel); border-radius:16px; padding:18px 20px; margin:26px 0 8px; }
.check.warn{ border:2.5px solid var(--paper); }
.check svg{ display:block; }
.check h2, .check .t{ margin:0 0 4px; font-family:var(--body); font-size:1.05rem; font-weight:600; letter-spacing:0; line-height:1.4; }
.check p{ margin:0 0 6px; font-size:.98rem; color:var(--dim); }
.check p:last-child{ margin-bottom:0; }
.check .key{ font-family:var(--wire); font-size:.84rem; overflow-wrap:anywhere; color:var(--paper); }

/* severity: word plus shape */
.sev{ display:inline-flex; align-items:center; gap:7px; font-family:var(--wire); font-size:12px; letter-spacing:.1em;
  text-transform:uppercase; padding:3px 10px 3px 7px; border-radius:999px; border:1.5px solid var(--paper); white-space:nowrap; }
.sev.critical{ background:var(--paper); color:var(--ink); }
.sev svg{ flex:none; }

/* the list */
.list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.item{ border:1.5px solid var(--line-2); border-radius:16px; padding:20px 22px; background:var(--panel); }
.item.critical{ border:2.5px solid var(--paper); }
.item .meta{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; font-family:var(--wire); font-size:.84rem; color:var(--dim); margin:0 0 10px; }
.item h3{ margin:0 0 10px; font-size:1.45rem; line-height:1.25; }
.item h3 a{ text-decoration:none; }
.item h3 a:hover{ text-decoration:underline; }
.item dl{ margin:0; display:grid; grid-template-columns:120px minmax(0,1fr); gap:6px 14px; font-size:.98rem; }
.item dt{ font-family:var(--wire); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); padding-top:3px; }
.item dd{ margin:0; color:var(--paper); overflow-wrap:anywhere; }

.empty{ border:1.5px dashed var(--line-2); border-radius:16px; padding:26px 24px; }
.empty .t{ margin:0 0 8px; font-family:var(--disp); font-size:1.6rem; line-height:1.2; }
.empty p{ margin:0 0 10px; color:var(--dim); max-width:62ch; }
.empty p:last-child{ margin-bottom:0; }

/* one advisory */
.facts{ margin:10px 0 0; display:grid; grid-template-columns:160px minmax(0,1fr); gap:10px 18px; }
.facts dt{ font-family:var(--wire); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); padding-top:4px; }
.facts dd{ margin:0; font-size:1.02rem; overflow-wrap:anywhere; }
.todo{ border:2.5px solid var(--paper); border-radius:16px; padding:18px 22px; background:var(--panel); font-size:1.1rem; max-width:66ch; }
details{ margin-top:8px; }
summary{ cursor:pointer; color:var(--dim); }
pre{ background:#15171C; color:#ECE8E0; border-radius:12px; padding:16px; overflow-x:auto; font-family:var(--wire);
  font-size:.82rem; line-height:1.5; max-width:100%; }

/* the three tiers, drawn as on the kill switch page */
.tiers{ list-style:none; margin:18px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; max-width:760px; }
.tiers li{ display:grid; grid-template-columns:46px minmax(0,1fr); gap:16px; border:1.5px solid var(--line-2); border-radius:16px; padding:18px 20px; }
.tiers .mk{ width:40px; height:40px; border-radius:10px; }
.tiers .mk.t1{ border:2px dashed var(--paper); }
.tiers .mk.t2{ border:2.5px solid var(--paper); }
.tiers .mk.t3{ border:6px double var(--paper); }
.tiers h3{ margin:0 0 6px; font-size:1.2rem; }
.tiers p{ margin:0; font-size:1rem; color:var(--dim); }

.ends{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; max-width:760px; }
.ends li{ display:grid; grid-template-columns:190px minmax(0,1fr); gap:14px; border-top:1px solid var(--line); padding-top:10px; }
.ends a{ font-family:var(--wire); font-size:.92rem; overflow-wrap:anywhere; }
.ends span{ color:var(--dim); }

footer.foot{ border-top:1px solid var(--line); padding:26px 0 40px; font-family:var(--wire); font-size:.78rem; color:var(--faint); }
footer.foot .row{ display:flex; flex-wrap:wrap; gap:10px 22px; }
footer.foot a{ color:var(--dim); }

@media (max-width:700px){
  .topbar .bar{ height:auto; padding:12px 16px; flex-wrap:wrap; row-gap:8px; gap:12px; }
  .topnav{ order:3; width:100%; margin-left:0; gap:18px; }
}
@media (max-width:620px){
  .wrap{ padding:0 16px; }
  .head{ padding:40px 0 14px; }
  .item dl, .facts, .ends li{ grid-template-columns:1fr; gap:2px; }
  .item dd, .facts dd{ margin-bottom:8px; }
}
