:root {
  color-scheme: dark;
  --ink: #080a09;
  --paper: #f1f3ea;
  --paper-muted: #a6aaa1;
  --line: #30332f;
  --acid: #b8ff45;
  --acid-dark: #10160a;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 4%, rgba(184, 255, 69, 0.08), transparent 23rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  padding: 0.8rem 1rem;
  background: var(--acid);
  color: var(--acid-dark);
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--acid);
  color: var(--acid-dark);
  font: 500 0.68rem/1 var(--mono);
  letter-spacing: -0.08em;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a,
.header-contact {
  font: 400 0.72rem/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav a {
  color: var(--paper-muted);
}

nav a:hover,
nav a:focus-visible,
.header-contact:hover,
.header-contact:focus-visible {
  color: var(--acid);
}

.header-contact {
  justify-self: end;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--paper);
}

.hero {
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-index,
.contact-label {
  font: 400 0.7rem/1.4 var(--mono);
  color: var(--paper-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(184, 255, 69, 0.11);
}

.hero h1 {
  margin: auto 0;
  max-width: 1080px;
  font-size: clamp(4rem, 9.5vw, 8.5rem);
  line-height: 0.89;
  letter-spacing: -0.075em;
  font-weight: 500;
}

.hero h1 span {
  display: block;
  color: var(--acid);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.5fr);
  gap: 4rem;
  align-items: end;
}

.hero-bottom p {
  max-width: 660px;
  margin: 0;
  color: var(--paper-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  line-height: 1.55;
}

.primary-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.5rem;
  background: var(--acid);
  color: var(--acid-dark);
  font: 500 0.78rem/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: #d1ff87;
  transform: translateY(-2px);
}

.service {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 7rem 0;
  border-bottom: 1px solid var(--line);
}

.service-copy {
  max-width: 760px;
}

.service h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.service h2 {
  max-width: 660px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.service-copy p {
  max-width: 650px;
  margin: 2rem 0 2.5rem;
  color: var(--paper-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  padding: 7rem 0;
  border-bottom: 1px solid var(--line);
}

.about-copy {
  max-width: 720px;
}

.about-copy .role {
  margin: 0 0 1.5rem;
  color: var(--acid);
  font: 400 0.7rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 680px;
  margin: 0 0 2rem;
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.about-copy > p:not(.role) {
  max-width: 650px;
  margin: 0 0 1.2rem;
  color: var(--paper-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.email-link {
  display: inline-block;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font: 400 clamp(0.92rem, 2vw, 1.08rem)/1.2 var(--mono);
  text-decoration: none;
}

.disclosures {
  padding: 7rem 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.5fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
}

.section-heading p {
  margin: 1rem 0 0;
  color: var(--paper-muted);
}

.record-count {
  justify-self: end;
  text-align: right;
}

.record-count strong {
  display: block;
  color: var(--acid);
  font: 300 3.8rem/0.9 var(--mono);
}

.record-count span {
  display: block;
  margin-top: 0.8rem;
  color: var(--paper-muted);
  font: 400 0.63rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.cve-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 235px;
  gap: 1.5rem;
  align-items: center;
  min-height: 260px;
  padding: 1.75rem 2rem;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #f8f9f5 0%, #eef2e9 100%);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cve-card:hover,
.cve-card:focus-visible {
  border-color: var(--acid);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.cve-card:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.cve-number {
  align-self: start;
  font: 300 1rem/1 var(--mono);
}

.cve-main {
  align-self: center;
}

.cve-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  color: #646960;
  font: 400 0.66rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cve-meta span {
  padding: 0.5rem 0.65rem;
  border: 1px solid #c8cbc2;
  background: rgba(255, 255, 255, 0.72);
}

.cve-meta .severity-moderate {
  border-color: #c98212;
  background: #f7bb4d;
  color: #382300;
  font-weight: 500;
}

.cve-card h3 {
  margin: 0;
  font: 500 clamp(2.3rem, 4.6vw, 4.6rem)/0.95 var(--mono);
  letter-spacing: -0.07em;
}

.cve-card p {
  max-width: 730px;
  margin: 1.1rem 0 0;
  color: #555a52;
  font-size: 1rem;
  line-height: 1.65;
}

.cve-card code {
  font-family: var(--mono);
  color: var(--ink);
}

.cve-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: stretch;
  justify-content: space-between;
  gap: 2rem;
  min-width: 0;
}

.advisory-link {
  font: 500 0.7rem/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cve-details {
  width: min(100%, 245px);
  margin: 0;
  border-top: 1px solid #c8cbc2;
  color: #555a52;
  font: 500 0.64rem/1.25 var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cve-details > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #c8cbc2;
}

.cve-details dt,
.cve-details dd {
  margin: 0;
}

.cve-details dt {
  color: #777c73;
  font-weight: 400;
}

.cve-details dd {
  color: var(--ink);
  text-align: right;
}

.cve-details dd > span {
  color: #b17f00;
}

.cve-card:hover .advisory-link,
.cve-card:focus-visible .advisory-link {
  color: #426b00;
}

.advisory-link span {
  color: #68705e;
}

.contact {
  display: grid;
  grid-template-columns: 0.55fr 1.5fr auto;
  gap: 3rem;
  align-items: center;
  padding: 7rem 0;
}

.contact h2 {
  max-width: 720px;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  line-height: 1.04;
}

.contact > a {
  min-width: 210px;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--acid);
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font: 400 0.72rem/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

footer {
  min-height: 145px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--paper-muted);
  font: 400 0.68rem/1.4 var(--mono);
}

footer p {
  text-align: center;
}

footer > a:last-child {
  justify-self: end;
  text-decoration: none;
}

.footer-brand {
  color: var(--paper);
  font-family: var(--sans);
}

@media (max-width: 800px) {
  .site-header,
  main,
  footer {
    width: min(100% - 2rem, 1240px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 690px;
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 17vw, 6rem);
  }

  .hero-bottom,
  .service,
  .section-heading,
  .cve-card,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    gap: 2rem;
  }

  .service,
  .about,
  .disclosures,
  .contact {
    padding: 5rem 0;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1.5rem;
  }

  .record-count {
    justify-self: start;
    text-align: left;
  }

  .cve-card {
    gap: 1.5rem;
    min-height: 0;
    padding: 1.5rem;
  }

  .cve-main {
    align-self: auto;
  }

  .cve-card h3 {
    overflow-wrap: anywhere;
  }

  .advisory-link {
    justify-self: start;
    align-self: end;
  }

  .cve-side {
    align-items: flex-start;
  }

  .cve-details {
    width: min(100%, 280px);
  }

  .cve-details dd {
    text-align: right;
  }

  .contact {
    gap: 2rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  footer p {
    text-align: left;
  }

  footer > a:last-child {
    justify-self: start;
  }
}

@media (max-width: 460px) {
  .brand > span:last-child {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-contact {
    max-width: 7.5rem;
    text-align: right;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .primary-cta {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
