:root {
  color-scheme: dark;
  --bg: #080b10;
  --panel: #101720;
  --panel-2: #151f2a;
  --paper: #f4f7fb;
  --ink: #f5f7fb;
  --muted: #aab5c5;
  --dim: #6f7d8e;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --blue: #5aa2ff;
  --green: #38d6a4;
  --amber: #ff9c4a;
  --red: #ff5d73;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(90, 162, 255, 0.13), transparent 28%),
    linear-gradient(225deg, rgba(255, 156, 74, 0.13), transparent 32%),
    var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 56px, rgba(255, 255, 255, 0.035) 56px 57px, transparent 57px 112px);
  background-size: 36px 36px, 36px 36px, auto;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 58%, transparent 100%);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

code,
pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

.site-header,
.hero,
.mission,
.pipeline,
.signals,
.report-band,
.ci,
.proof,
.footer {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 720;
}

.brand:hover,
.nav a:hover {
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 28px;
  flex: 0 0 auto;
}

.brand-mark-outline {
  fill: var(--blue);
}

.brand-mark-core {
  fill: var(--bg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.source-link {
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  min-height: 590px;
  padding-top: 104px;
  padding-bottom: 92px;
  overflow: hidden;
  border-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -8% auto -8%;
  height: 560px;
  z-index: 0;
  background:
    radial-gradient(circle at 22% 38%, rgba(56, 214, 164, 0.14), transparent 34%),
    radial-gradient(circle at 72% 20%, rgba(90, 162, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.92), transparent);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  right: max(-180px, calc((100vw - 1180px) / 2 - 160px));
  bottom: 34px;
  width: min(820px, 56vw);
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0.44;
  transform: rotate(-1.5deg);
  filter: brightness(0.7) saturate(0.92);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 9.5ch;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 820;
}

.hero-text {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 680;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary {
  border-color: var(--green);
  color: #07110d;
  background: var(--green);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--blue);
}

.verdict-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.verdict-strip span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.verdict-strip strong {
  font-size: 14px;
  font-weight: 780;
}

.verdict-strip small {
  color: var(--dim);
  font-size: 13px;
}

.mission {
  padding-block: 42px 66px;
}

.mission p {
  width: min(100%, 930px);
  margin: 0;
  color: var(--paper);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 720;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.signals h2,
.report-copy h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 760;
}

.pipeline {
  padding-bottom: 76px;
}

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

.pipeline-grid article {
  min-height: 258px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(10, 15, 22, 0.72);
}

.pipeline-grid article:last-child {
  border-right: 0;
}

.step {
  display: inline-flex;
  margin-bottom: 58px;
  color: var(--amber);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 760;
}

.pipeline-grid h3,
.ci-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 760;
}

.pipeline-grid p,
.signals-copy p,
.report-copy p,
.proof span {
  margin: 0;
  color: var(--muted);
}

.signals {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  align-items: start;
  padding-bottom: 80px;
}

.signals-copy p {
  margin-top: 18px;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 720;
  text-decoration: underline;
  text-decoration-color: rgba(90, 162, 255, 0.42);
  text-underline-offset: 4px;
}

.signal-table {
  border-top: 1px solid var(--line-strong);
}

.signal-table div {
  display: grid;
  grid-template-columns: minmax(140px, 0.36fr) 1fr;
  gap: 18px;
  min-height: 76px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.signal-table strong {
  font-size: 15px;
  font-weight: 760;
}

.signal-table span {
  color: var(--muted);
  font-size: 14.5px;
}

.report-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
  padding-top: 36px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-copy p {
  margin-top: 16px;
  max-width: 45ch;
  line-height: 1.65;
}

.report-preview,
.ci-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    #0b1017;
}

.report-preview {
  padding: 22px;
  box-shadow: var(--shadow);
}

.report-preview code,
.ci-grid code {
  color: #d7e0ec;
  font-size: 13.5px;
  line-height: 1.62;
}

.ci {
  padding-block: 76px;
}

.ci-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ci-grid article {
  min-height: 222px;
  padding: 20px;
}

.ci-grid h3 {
  color: var(--paper);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 70px;
}

.proof article {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.proof strong,
.proof span {
  display: block;
}

.proof strong {
  margin-bottom: 7px;
  color: var(--paper);
  font-size: 15px;
}

.proof span {
  font-size: 14px;
}

.footer {
  padding-top: 22px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  text-align: center;
}

.footer p {
  margin: 0;
}

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

.footer span {
  margin-inline: 8px;
  color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 920px) {
  .hero {
    min-height: 610px;
    padding-top: 54px;
  }

  .hero::before {
    background:
      radial-gradient(circle at 20% 20%, rgba(56, 214, 164, 0.13), transparent 34%),
      linear-gradient(180deg, rgba(8, 11, 16, 0.9), transparent);
  }

  .hero-bg img {
    right: -60px;
    bottom: 82px;
    width: min(760px, 108%);
    opacity: 0.32;
  }

  .pipeline-grid,
  .signals,
  .report-band,
  .ci-grid,
  .proof {
    grid-template-columns: 1fr;
  }

  .pipeline-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pipeline-grid article:last-child {
    border-bottom: 0;
  }

  .step {
    margin-bottom: 30px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .mission,
  .pipeline,
  .signals,
  .report-band,
  .ci,
  .proof,
  .footer {
    padding-inline: 18px;
  }

  .site-header {
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
  }

  .nav a:not(.source-link):nth-child(-n + 3) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .button-secondary {
    background: rgba(8, 11, 16, 0.68);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
  }

  .hero-bg img {
    display: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 52px;
    line-height: 1.03;
  }

  .hero-text {
    max-width: 31ch;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }

  .verdict-strip {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .verdict-strip span {
    min-height: 44px;
  }

  .mission {
    padding-block: 34px 52px;
  }

  .signal-table div {
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: start;
    padding-block: 14px;
  }
}

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

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
