:root {
  color-scheme: dark;
  --bg: #090b0f;
  --bg-soft: #0e1117;
  --panel: rgba(17, 21, 28, 0.82);
  --panel-solid: #11151c;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f6f8;
  --muted: #969eaa;
  --muted-bright: #c1c7cf;
  --accent: #d4ff4f;
  --accent-rgb: 212, 255, 79;
  --accent-alt: #7ee7c5;
  --danger: #ff796c;
  --display: "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.theme-openvuln {
  --bg: #090a10;
  --bg-soft: #0e1019;
  --panel: rgba(17, 19, 31, 0.84);
  --panel-solid: #11131f;
  --accent: #8fffe0;
  --accent-rgb: 143, 255, 224;
  --accent-alt: #b996ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 79% 13%, rgba(var(--accent-rgb), 0.09), transparent 29rem),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 3px;
  background: var(--accent);
  color: #080a0e;
  font-weight: 700;
  text-decoration: none;
}

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

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-name {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-cta,
.primary-cta,
.submit-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: #090b0f;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {
  min-height: 36px;
  padding: 0 15px;
  background: transparent;
  color: var(--text);
}

.header-cta:hover,
.header-cta:focus-visible,
.primary-cta:hover,
.primary-cta:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.15);
}

.hero {
  display: grid;
  min-height: 710px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 116px);
  padding: 82px 0 88px;
}

.eyebrow,
.section-kicker,
.panel-label,
.model-label,
.form-note,
.legal-kicker,
.status-pill {
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 32px;
  color: var(--accent);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
  }
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.7vw, 7.2rem);
  font-stretch: condensed;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-copy {
  max-width: 650px;
  margin: 38px 0 0;
  color: var(--muted-bright);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
  margin-top: 38px;
}

.primary-cta {
  min-width: 190px;
  padding: 0 22px;
}

.quiet-note {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.55;
  text-transform: uppercase;
}

.signal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.04), transparent 46%), var(--panel);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.35);
}

.signal-panel::after {
  position: absolute;
  right: -32%;
  bottom: -55%;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 50%;
  content: "";
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
}

.panel-label {
  color: var(--muted);
}

.panel-dots {
  display: flex;
  gap: 5px;
}

.panel-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.panel-dots span:first-child {
  background: var(--accent);
}

.signal-body {
  position: relative;
  z-index: 1;
  padding: 28px 24px 27px;
  font-family: var(--mono);
}

.signal-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
}

.signal-step:last-of-type {
  border-bottom: 0;
}

.signal-index {
  color: #59616e;
}

.signal-name {
  color: var(--muted-bright);
}

.signal-state {
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-output {
  margin-top: 24px;
  padding: 15px 16px;
  border-left: 2px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.055);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.65;
}

.signal-output strong {
  color: var(--text);
  font-weight: 600;
}

.model-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.model-row {
  display: grid;
  min-height: 112px;
  grid-template-columns: 1.1fr repeat(3, minmax(140px, 0.72fr));
  align-items: center;
}

.model-intro {
  padding-right: 36px;
}

.model-label {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
}

.model-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.model-name {
  display: grid;
  min-height: 112px;
  place-items: center;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.045em;
  text-align: center;
}

.content-section {
  padding: 118px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 70px;
  margin-bottom: 74px;
}

.section-kicker {
  margin: 4px 0 0;
  color: var(--accent);
}

.section-heading h2,
.signup-copy h2,
.legal-hero h1,
.thanks-card h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.3vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-heading p {
  max-width: 630px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.capability {
  min-height: 265px;
  padding: 31px 30px 34px 0;
  border-bottom: 1px solid var(--line);
}

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

.capability-number {
  color: #616977;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.capability h3 {
  max-width: 260px;
  margin: 56px 0 16px;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.capability p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.signup-section {
  padding: 104px 0 116px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.045), transparent 46%),
    var(--bg-soft);
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  align-items: start;
  gap: clamp(60px, 10vw, 140px);
}

.signup-copy .section-kicker {
  margin-bottom: 27px;
}

.signup-copy > p:last-child {
  max-width: 530px;
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.early-access-form {
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--panel-solid);
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
  color: var(--muted);
}

.form-note span:last-child {
  color: var(--accent);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.optional {
  color: #626b78;
}

.field input {
  width: 100%;
  min-height: 51px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  outline: 0;
  background: #0b0e13;
  color: var(--text);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input::placeholder {
  color: #59616c;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08);
}

.field-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.consent-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  margin: 6px 0 24px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.58;
}

.repository-authorisation {
  margin-bottom: 8px;
}

.repository-authorisation[hidden] {
  display: none;
}

.consent-field input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent-field a {
  color: var(--text);
  text-decoration-color: #65707d;
  text-underline-offset: 3px;
}

.form-error {
  min-height: 20px;
  margin: -11px 0 17px 29px;
  color: var(--danger);
  font-size: 0.74rem;
}

.submit-button {
  width: 100%;
  min-height: 51px;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-fine-print {
  margin: 14px 0 0;
  color: #68717e;
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.site-footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #68717e;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.legal-page,
.thanks-page {
  min-height: 100vh;
}

.legal-main {
  width: min(920px, calc(100% - 48px));
  margin-inline: auto;
  padding: 96px 0 112px;
}

.legal-hero {
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.legal-kicker {
  margin: 0 0 23px;
  color: var(--accent);
}

.effective-date {
  margin: 25px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-intro {
  max-width: 700px;
  margin: 35px 0 0;
  color: var(--muted-bright);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-sections {
  counter-reset: legal;
}

.legal-sections section {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 24px;
  padding: 42px 0 46px;
  border-bottom: 1px solid var(--line);
  counter-increment: legal;
}

.legal-sections section::before {
  padding-top: 5px;
  color: #616a77;
  content: counter(legal, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.67rem;
}

.legal-sections h2 {
  margin: 0 0 18px;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.legal-sections p,
.legal-sections li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.78;
}

.legal-sections p {
  margin: 0 0 15px;
}

.legal-sections p:last-child {
  margin-bottom: 0;
}

.legal-sections ul {
  margin: 0 0 17px;
  padding-left: 1.2rem;
}

.legal-sections a {
  color: var(--text);
  text-underline-offset: 4px;
}

.thanks-page {
  display: grid;
  place-items: center;
  padding: 32px;
}

.thanks-card {
  width: min(700px, 100%);
  padding: clamp(36px, 7vw, 70px);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--panel);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--accent);
}

.status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.thanks-card p {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.thanks-card .primary-cta {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 730px;
  }

  .signal-panel {
    width: min(620px, 100%);
  }

  .model-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .model-intro {
    grid-column: 1 / -1;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
  }

  .model-name {
    min-height: 82px;
  }

  .model-name:nth-of-type(2) {
    border-left: 0;
  }

  .signup-layout {
    grid-template-columns: 1fr;
  }

  .early-access-form {
    width: min(620px, 100%);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 30px, 1240px);
  }

  .site-header {
    min-height: 68px;
  }

  .header-meta > span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 68px 0 72px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 16vw, 5.1rem);
  }

  .model-row {
    grid-template-columns: 1fr;
  }

  .model-name {
    min-height: 67px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .capability {
    min-height: auto;
    padding: 28px 0 32px;
  }

  .capability + .capability {
    padding-left: 0;
    border-left: 0;
  }

  .capability h3 {
    margin-top: 30px;
  }

  .content-section,
  .signup-section {
    padding: 82px 0;
  }

  .early-access-form {
    padding: 23px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }

  .legal-main {
    width: min(100% - 30px, 920px);
    padding-top: 70px;
  }

  .legal-sections section {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
