/* ==========================================================================
   wellknown.info
   ========================================================================== */

:root {
  --bg: #0b0f14;
  --bg-raised: #10161d;
  --surface: #131a22;
  --surface-hover: #151d26;
  --terminal: #0e141b;
  --line: #1f2833;
  --line-strong: #2a3542;

  --ink: #f6f7f3;
  --muted: #9aa3af;
  --dim: #6b7482;
  --faint: #4a5562;

  --accent: #19c37d;
  --accent-hover: #2bd98f;
  --accent-soft: rgba(25, 195, 125, 0.14);
  --accent-line: rgba(25, 195, 125, 0.4);

  --critical: #ff5a5f;
  --high: #ff9f43;
  --medium: #f5c542;
  --low: #7dd3fc;

  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --section-space: 112px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

code {
  font-family: var(--font-mono);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-mono);
}

svg path,
svg circle {
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.accent {
  color: var(--accent);
}

.muted {
  color: var(--faint);
}


/* Background
   ========================================================================== */

.bg-grid {
  position: fixed;
  inset: -60px;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, #1c2530 1.3px, transparent 1.6px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 80%);
  animation: grid-drift 40s linear infinite;
}

.bg-glow {
  position: fixed;
  top: -200px;
  right: -160px;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(25, 195, 125, 0.13), transparent 65%);
  transition: transform 0.6s ease-out;
}

@keyframes grid-drift {
  to { transform: translate(32px, 32px); }
}


/* Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(11, 15, 20, 0.72);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
  background: var(--surface);
  color: var(--ink);
}

.nav__links .nav__cta {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
}

.nav__links .nav__cta:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
}

.brand__tld {
  color: var(--dim);
  font-weight: 500;
}

.brand__slash {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: draw 0.7s 0.2s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}

.brand__dot {
  transform: scale(0);
  transform-origin: 30px 71px;
  animation: pop 0.5s 0.75s cubic-bezier(0.3, 1.6, 0.5, 1) forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pop {
  to { transform: scale(1); }
}


/* Buttons
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.button:active {
  transform: scale(0.97);
}

.button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  transition: transform 0.2s;
}

.button:hover svg {
  transform: translateX(3px);
}

.button--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--dim);
  background: var(--surface);
}


/* Hero
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
  padding-top: 88px;
  padding-bottom: 96px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 14px;
  border: 1px solid rgba(25, 195, 125, 0.25);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.3;
}

.badge__pulse {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(25, 195, 125, 0.6); }
  70%,
  100% { box-shadow: 0 0 0 10px rgba(25, 195, 125, 0); }
}

.hero__title {
  margin-bottom: 28px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 0.9s var(--ease) forwards;
}

.hero__line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__line:nth-child(3) > span { animation-delay: 0.24s; }
.hero__line:nth-child(4) > span { animation-delay: 0.36s; }

@keyframes rise {
  to { transform: none; }
}

.hero__lead {
  max-width: 520px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19px);
  opacity: 0;
  animation: fade-up 0.8s 0.55s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fade-up 0.8s 0.7s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}


/* Terminal
   ========================================================================== */

.terminal {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--terminal);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(24px) rotate(0.6deg);
  animation: terminal-in 1s 0.35s var(--ease) forwards;
}

@keyframes terminal-in {
  to { opacity: 1; transform: none; }
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #111820;
}

.terminal__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-strong);
}

.terminal__bar span {
  margin-left: 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 12px;
}

.terminal__body {
  min-height: 360px;
  padding: 20px 22px 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal__body p {
  margin: 0;
}

.t-prompt { color: var(--accent); }
.t-cmd { color: var(--ink); }
.t-key { color: var(--accent); font-weight: 700; }
.t-info { color: #7dd3fc; }
.t-warn { color: var(--high); }
.t-comment { color: var(--faint); }

.t-cursor {
  display: inline-block;
  width: 9px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}


/* Marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 22, 29, 0.5);
}

.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee__track span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 15px;
  white-space: nowrap;
}

.marquee__track .marquee__arrow,
.marquee__track .marquee__dot {
  color: var(--faint);
}

.marquee__track .marquee__accent {
  color: var(--accent);
  font-weight: 700;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}


/* Sections
   ========================================================================== */

.section {
  padding: var(--section-space) 0;
}

.section--tight {
  padding-top: 0;
}

.section h2 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section__sub {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* Disclosures
   ========================================================================== */

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 48px 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pipeline__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 14px;
}

.pipeline__step + .pipeline__step {
  border-left: 1px solid var(--line);
}

.pipeline__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--dim);
  border-radius: 50%;
}

.pipeline__step--done {
  background: var(--accent-soft);
  color: var(--accent);
}

.pipeline__step--done .pipeline__dot {
  border-color: var(--accent);
  background: var(--accent);
}

.disclosures {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.disclosures:not(:has(li)) {
  display: none;
}

.disclosure__link {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.disclosure__link:hover {
  border-color: var(--accent-line);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.disclosure__id {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.disclosure__title {
  color: var(--ink);
  font-weight: 500;
}

.disclosure__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 13px;
}

.disclosure__sev {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.disclosure__sev--critical { background: rgba(255, 90, 95, 0.14); color: var(--critical); }
.disclosure__sev--high { background: rgba(255, 159, 67, 0.14); color: var(--high); }
.disclosure__sev--medium { background: rgba(245, 197, 66, 0.14); color: var(--medium); }
.disclosure__sev--low { background: rgba(125, 211, 252, 0.14); color: var(--low); }

.disclosures__empty {
  padding: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.disclosures__empty p {
  margin: 0;
  color: var(--muted);
}

.disclosures__empty .disclosures__empty-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
}


/* Approach
   ========================================================================== */

.rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.rule {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s;
}

.rule:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.rule h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.rule p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.rule .rule__num {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 13px;
}

.rule--accent {
  border-color: var(--accent-line);
  background: linear-gradient(160deg, rgba(25, 195, 125, 0.1), var(--surface) 60%);
}

.rule--accent h3 {
  color: var(--accent);
}


/* Contact
   ========================================================================== */

.contact {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-raised), var(--bg));
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: 56px;
}

.contact__panel {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--terminal);
}

.contact__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
}

.contact__row + .contact__row {
  border-top: 1px solid var(--line);
}

.contact__row .contact__label {
  margin: 0;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 16px;
}

.contact__value a {
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.contact__value a:hover {
  color: var(--accent);
}

.contact__value--links {
  justify-content: flex-start;
  gap: 8px 24px;
  font-size: 14px;
}

.contact__value--links a {
  color: var(--muted);
}

.fingerprint {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.copy {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.copy:hover {
  border-color: var(--dim);
  color: var(--ink);
}

.copy.is-copied {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}


/* Footer
   ========================================================================== */

.footer {
  padding: 64px 0 48px;
  overflow: hidden;
}

.footer__word {
  margin: 0 0 48px;
  color: transparent;
  font-family: var(--font-mono);
  font-size: clamp(56px, 14vw, 200px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--line-strong);
  user-select: none;
}

.footer__word span {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer__row p {
  margin: 0;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 13px;
}

.footer__row a {
  color: var(--muted);
  text-decoration: none;
}

.footer__row a:hover {
  color: var(--accent);
}


/* Scroll reveal
   ========================================================================== */

.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --section-space: 88px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .disclosure__link {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-space: 72px;
  }

  body {
    font-size: 16px;
  }

  .nav__inner {
    height: 64px;
  }


  .brand {
    gap: 10px;
    font-size: 16px;
  }

  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .badge {
    margin-bottom: 24px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero__title {
    margin-bottom: 20px;
  }

  .hero__lead {
    margin-bottom: 28px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .terminal__bar {
    padding: 12px 14px;
  }

  .terminal__body {
    min-height: 320px;
    padding: 16px;
    font-size: 12.5px;
    line-height: 1.7;
  }

  .marquee {
    padding: 14px 0;
  }

  .marquee__track {
    gap: 20px;
  }

  .marquee__track span {
    font-size: 13px;
  }

  .section h2 {
    margin-bottom: 16px;
  }

  .section__sub {
    font-size: 16px;
  }

  .kicker {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 32px 0 20px;
  }

  .pipeline__step {
    padding: 14px 16px;
    font-size: 13px;
  }

  .pipeline__step + .pipeline__step {
    border-left: 0;
  }

  .pipeline__step:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .pipeline__step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .disclosure__link {
    padding: 18px 20px;
  }

  .disclosures__empty {
    padding: 24px 20px;
  }

  .rules {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .rule {
    gap: 8px;
    padding: 22px 20px;
  }

  .contact__row {
    padding: 20px;
  }

  .contact__value {
    font-size: 15px;
  }

  .fingerprint {
    font-size: 14px;
  }

  .footer {
    padding: 48px 0 40px;
  }

  .footer__word {
    margin-bottom: 28px;
  }

  .footer__row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}


/* Mobile menu
   ========================================================================== */

.section--page {
  padding-top: clamp(48px, 9vw, 104px);
}

.nav__toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav.is-open .nav__toggle {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.nav__toggle:focus-visible,
.nav__links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav__toggle-bar {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}

.nav__toggle-bar:nth-child(1) { top: 15px; }
.nav__toggle-bar:nth-child(2) { top: 20px; }
.nav__toggle-bar:nth-child(3) { top: 25px; }

.nav.is-open .nav__toggle-bar:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.is-open .nav__toggle-bar:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.nav__links a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
}

.disclosures__all {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.disclosures__all a {
  color: var(--accent);
  text-decoration: none;
}

.disclosures__all a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.nav-backdrop {
  display: none;
}

@media (max-width: 760px) {
  .nav__toggle {
    display: block;
  }

  .nav.is-open {
    background: var(--bg);
    border-bottom-color: var(--line);
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.35s var(--ease), visibility 0s linear 0.35s;
  }

  .nav.is-open .nav__links {
    clip-path: inset(0 0 -60px 0);
    visibility: visible;
    transition: clip-path 0.35s var(--ease), visibility 0s;
  }

  .nav__links a {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-size: 17px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s, transform 0.3s var(--ease), background 0.2s;
  }

  .nav__links a:hover {
    border-radius: 10px;
  }

  .nav__links a[aria-current="page"] {
    border-radius: 10px;
    color: var(--accent);
  }

  .nav.is-open .nav__links a {
    opacity: 1;
    transform: none;
  }

  .nav.is-open .nav__links a:nth-child(1) { transition-delay: 0.05s; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: 0.1s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: 0.15s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: 0.2s; }

  .nav__links .nav__cta {
    margin-top: 14px;
    border-bottom: 0;
    border-radius: 10px;
    color: var(--bg);
    text-align: center;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: block;
    background: rgba(5, 8, 11, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  body.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__links,
  .nav__links a,
  .nav__toggle-bar,
  .nav-backdrop {
    transition: none !important;
  }
}


/* Detailed disclosure card (CVE entry with summary, tags and links)
   ========================================================================== */

.disclosure--detailed {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.disclosure--detailed:hover {
  border-color: var(--accent-line);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.disclosure__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.disclosure__head .disclosure__id {
  text-decoration: none;
}

.disclosure__head .disclosure__id:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.disclosure--detailed .disclosure__title {
  display: block;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.disclosure__plugin {
  color: var(--muted);
  font-weight: 500;
}

.disclosure__summary {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.disclosure__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.disclosure__tags li {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.disclosure__tags li strong {
  color: var(--ink);
  font-weight: 500;
}

.disclosure__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.disclosure__foot .disclosure__meta {
  gap: 6px 18px;
}

.disclosure__fixed {
  color: var(--accent);
}

.disclosure__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.disclosure__links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s, border-color 0.2s;
}

.disclosure__links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .disclosure--detailed {
    padding: 20px;
  }

  .disclosure--detailed .disclosure__title {
    font-size: 16px;
  }

  .disclosure__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .disclosure--detailed,
  .disclosure--detailed:hover {
    transition: none;
    transform: none;
  }
}
