:root {
  color-scheme: light;
  --paper: #f3eddf;
  --ink: #25201c;
  --muted: #655b51;
  --rule: #bfb3a0;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.5 var(--sans);
}
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.page { width: min(90%, 76rem); margin-inline: auto; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font: 0.875rem/1.4 var(--mono);
}
.footer a { text-underline-offset: 0.2em; }
.footer a:hover { color: var(--ink); }
.hero {
  --signal: #f5c64a;
  --accent: #8b3c17;
  --scope-size: clamp(22rem, 60vw, 64rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--signal);
}
.hero-inner {
  display: grid;
  align-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  min-height: 25rem;
  padding-block: clamp(2rem, 4.5vw, 4.5rem);
}
.hero-yes { --signal: #ff805d; --accent: #842516; }
.hero-no { --signal: #d0dfab; --accent: #375725; }
.hero:is(.hero-yes, .hero-no) .hero-inner {
  grid-template-rows: 1fr auto;
  gap: clamp(1rem, min(3vw, 4svh), 3rem);
  min-block-size: 100vh;
  min-block-size: 100svh;
  padding-block: clamp(1rem, min(4.5vw, 7svh), 4.5rem);
}
.hero:is(.hero-yes, .hero-no) .hero-copy { align-self: center; }
.scope-frame {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: calc(var(--scope-size) * -0.24);
  width: var(--scope-size);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.scope {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  color: var(--accent);
  opacity: 0.78;
  transform: perspective(58rem) rotateX(var(--tilt-x, 8deg)) rotateY(var(--tilt-y, -16deg)) scale(0.96);
  transition: transform 160ms ease-out;
  box-shadow: inset 0 0 0 1px currentColor, inset 0 0 4rem color-mix(in srgb, currentColor 22%, transparent);
  background:
    radial-gradient(circle, currentColor 0 0.65%, transparent 0.9%),
    linear-gradient(90deg, transparent calc(50% - 0.5px), currentColor 50%, transparent calc(50% + 0.5px)),
    linear-gradient(transparent calc(50% - 0.5px), currentColor 50%, transparent calc(50% + 0.5px)),
    conic-gradient(from 35deg, transparent, transparent 73%, color-mix(in srgb, currentColor 28%, transparent)),
    repeating-radial-gradient(circle closest-side, transparent 0 16.35%, currentColor 16.55% 16.72%);
  mask: linear-gradient(90deg, transparent 2%, #000 42%);
}
.scope-pulse {
  position: absolute;
  inset: 0;
  border: 3px solid currentColor;
  border-radius: inherit;
  background: color-mix(in srgb, currentColor 12%, transparent);
  opacity: 0;
}
.scope-point {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: clamp(0.45rem, 0.75vw, 0.7rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.scope-trigger {
  position: absolute;
  top: 50%;
  right: calc(var(--scope-size) * 0.26);
  width: min(27vw, 23rem);
  aspect-ratio: 1;
  transform: translate(50%, -50%);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: url("radar-cursor.png") 15 15, crosshair;
}
.scope-trigger:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.hero h1 {
  margin: 0;
  font: 800 clamp(1.5rem, 3.3vw, 2.65rem)/1.12 var(--sans);
  letter-spacing: -0.04em;
}
.answer {
  margin: 0.1em 0 0.1em -0.055em;
  font: 900 clamp(5rem, 30vw, 27rem)/0.84 var(--sans);
  letter-spacing: -0.04em;
}
.hero:is(.hero-yes, .hero-no) .answer { font-size: clamp(3rem, min(33vw, 52svh), 29rem); }
.hero-wait .answer { font-size: clamp(3.25rem, 22vw, 19rem); }
.answer span { color: var(--accent); }
.verdict { max-width: 27rem; margin: 0; font-weight: 600; }
.hero:is(.hero-yes, .hero-no) .verdict {
  max-width: 38ch;
  font-size: clamp(1.125rem, min(2.9vw, 4.4svh), 2rem);
  line-height: 1.22;
}
.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: start;
  gap: 0.7rem 1rem;
}
.disclosure-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--signal);
  font-size: 0.9375rem;
  font-weight: 750;
  text-decoration: none;
}
.disclosure-link:is(:hover, :focus-visible) {
  background: var(--signal);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--ink);
  background: var(--signal);
  font: 0.875rem/1.4 var(--mono);
}
.check > span { text-transform: uppercase; }
.check time { font-weight: 700; }
.site-details { margin-block: clamp(2.75rem, 6vw, 5rem) 3rem; }
.disclosures { scroll-margin-block-start: clamp(1.5rem, 4vw, 3rem); }
.hero:is(.hero-yes, .hero-no) + .site-details:has(.disclosures) { min-block-size: calc(100svh - 6rem); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}
.section-head h2, .about h2, .workflow h2 {
  margin: 0;
  font: 700 clamp(1.8rem, 4vw, 3.25rem)/1.05 var(--serif);
  letter-spacing: -0.045em;
}
.count { color: var(--muted); font: 0.875rem var(--mono); white-space: nowrap; }
.entries, .sources { list-style: none; margin: 0; padding: 0; }
.entry {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(0, 3fr) minmax(9rem, 1fr);
  align-items: start;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.entry:focus-within { background: #eae2d1; }
.entry[hidden], .archive-toggle[hidden] { display: none; }
@media (hover: hover) {
  .entry:hover { background: #eae2d1; }
}
.entry-meta { display: grid; gap: 0.3rem; font: 0.875rem/1.4 var(--mono); }
.cve { font-weight: 700; overflow-wrap: anywhere; }
.entry-meta time, .entry-copy p { color: var(--muted); }
.entry-copy h3 { margin: 0; font: 700 1.45rem/1.15 var(--serif); }
.entry-copy p { margin: 0.4rem 0 0; }
.sources {
  display: grid;
  justify-items: end;
  gap: 0.5rem;
  padding-inline-end: 0.75rem;
}
.sources a {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--ink);
  font: 0.875rem/1.4 var(--mono);
  text-decoration: none;
}
.sources a:hover, .sources a:focus-visible { background: var(--ink); color: var(--paper); }
.archive-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.5rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 700 0.9375rem/1.4 var(--sans);
  cursor: pointer;
}
.archive-toggle:is(:hover, :focus-visible) {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.archive-heading {
  margin: 2.5rem 0 0;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--ink);
  font: 700 clamp(1.4rem, 3vw, 2rem)/1.15 var(--serif);
}
.about {
  border-top: 2px solid var(--ink);
  background: #eae2d1;
}
.about-inner, .workflow-inner { padding-block: clamp(1.4rem, 5vw, 3.5rem); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 1.25rem 3rem;
  align-items: start;
}
.disclosures + .about { margin-top: clamp(2.5rem, 6vw, 5rem); }
.about-copy { max-width: 40rem; }
.about-copy p { margin: 0; }
.about-copy p + p { margin-top: 0.85rem; }
.about-copy p:first-child { font-weight: 650; }
.workflow {
  --panel-ink: #161913;
  --panel-text: #f0eedf;
  --panel-muted: #c7cbbb;
  --panel-line: #57614e;
  --signal-hit: #c7ff7b;
  background: var(--panel-ink);
  color: var(--panel-text);
}
.workflow-heading p { margin: 0.8rem 0 0; color: var(--panel-muted); }
.flow {
  position: relative;
  margin-block: clamp(1.75rem, 4vw, 3.5rem);
  padding: clamp(0.75rem, 2vw, 1.5rem);
  border: 1px solid var(--panel-line);
  background: #12150f radial-gradient(#3a4435 1px, transparent 1px) 0 0 / 15px 15px;
}
.flow-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.flow-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "advisories .       record  ."
    "feed       remote  checker local"
    ".          .       website    repository";
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-node {
  padding: 0.9rem;
  border: 1px solid var(--panel-line);
  background: #23291e;
  overflow-wrap: anywhere;
}
.flow-node[data-node="advisories"] { grid-area: advisories; }
.flow-node[data-node="feed"] { grid-area: feed; }
.flow-node[data-node="remote"] { grid-area: remote; }
.flow-node[data-node="record"] { grid-area: record; }
.flow-node[data-node="checker"] { grid-area: checker; }
.flow-node[data-node="local"] { grid-area: local; }
.flow-node[data-node="repository"] { grid-area: repository; }
.flow-node[data-node="website"] { grid-area: website; }
.flow-ai {
  border-color: #9cbb7b;
  background: #2b3821;
}
.flow-node h3 { margin: 0; font-size: 1rem; line-height: 1.25; }
.flow-ai h3 { color: var(--signal-hit); }
.flow-node p { margin: 0.45rem 0 0; color: var(--panel-muted); font-size: 0.875rem; }
.workflow-note {
  margin: 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--panel-line);
  color: var(--panel-muted);
}
@media (max-width: 60rem) {
  .flow-nodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "advisories feed"
      "remote     remote"
      "record     checker"
      "local     local"
      "repository     website";
    gap: 2rem 1.35rem;
  }
}
@media (max-width: 52rem) {
  .hero-inner { min-height: 22rem; }
  .scope-frame { right: -24%; }
  .scope { opacity: 0.27; }
  .scope-trigger {
    right: max(3.25rem, calc(var(--scope-size) * 0.5 - 24vw));
    width: clamp(6rem, 24vw, 13rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scope { transform: none; transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .disclosure-link { transition: background 150ms, color 150ms, box-shadow 150ms; }
  .entry, .sources a { transition: background 170ms, color 170ms; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .hero:is(.hero-yes, .hero-no) .answer {
    position: relative;
    width: fit-content;
    animation: verdict-reveal 680ms cubic-bezier(0.3, 0, 0.2, 1) both;
  }
  .hero:is(.hero-yes, .hero-no) .answer::after {
    content: "";
    position: absolute;
    inset-block: -4% 2%;
    width: 3px;
    background: var(--accent);
    box-shadow: 0 0 0.45rem var(--signal), 0 0 1.1rem var(--accent);
    pointer-events: none;
    animation: verdict-beam 680ms cubic-bezier(0.3, 0, 0.2, 1) both;
  }
  .hero:is(.hero-yes, .hero-no) .verdict {
    animation: verdict-settle 360ms ease-out 290ms both;
  }
  .disclosure-link:not(:focus) {
    animation: verdict-settle 330ms ease-out 520ms both;
  }
  @keyframes verdict-reveal {
    from { clip-path: inset(-12% 100% -15% -6%); }
    to { clip-path: inset(-12% -2% -15% -6%); }
  }
  @keyframes verdict-beam {
    0% { left: -1%; opacity: 0; }
    12% { opacity: 1; }
    76% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
  }
  @keyframes verdict-settle {
    from { opacity: 0.55; transform: translateY(0.45rem); }
    to { opacity: 1; transform: none; }
  }
}
@media (max-width: 45rem) {
  .about-inner { grid-template-columns: minmax(0, 1fr); }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .entry-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
  .sources { justify-items: start; }
}
@media (max-width: 30rem) {
  .footer { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}
