:root {
  --ink: #0b1014;
  --text: #1f2933;
  --muted: #60707d;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: #d9e2ea;
  --line-strong: #b8c6d1;
  --teal: #08756f;
  --teal-dark: #075c57;
  --teal-soft: #e4f5f2;
  --red: #cf1f24;
  --red-soft: #ffe8e8;
  --amber: #c46a13;
  --amber-soft: #fff2df;
  --yellow: #b28704;
  --blue: #2459d6;
  --blue-soft: #e8efff;
  --shadow: 0 18px 48px rgba(15, 23, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 40px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #26323a;
  font-size: 15px;
  font-weight: 750;
}

nav a {
  text-decoration: none;
}

.github-link {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  gap: 54px;
  align-items: center;
  padding: 82px 40px 70px;
  background:
    linear-gradient(120deg, #ffffff 0%, #f9fbfc 44%, #e7f6f3 100%);
}

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

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 66px;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy p {
  margin: 24px 0 0;
  color: #43515d;
  font-size: 22px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 10px 26px rgba(8, 117, 111, .22);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #3d4b55;
  font-size: 14px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  width: 15px;
  height: 15px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--teal) 0 3px, transparent 4px),
    var(--teal-soft);
  border: 1px solid rgba(8, 117, 111, .35);
}

.product-preview {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #4c5b66;
  font-size: 13px;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 850;
}

.mini-brand img {
  width: 22px;
  height: 22px;
}

.scan-status {
  color: var(--teal);
  font-weight: 750;
}

.preview-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 188px;
  min-height: 300px;
}

.score-panel,
.issues-panel,
.pr-panel {
  padding: 22px;
}

.score-panel,
.pr-panel {
  background: #fbfdff;
}

.score-panel {
  border-right: 1px solid var(--line);
}

.score-panel span,
.issues-panel h2,
.pr-panel h2 {
  margin: 0;
  color: #2f3c45;
  font-size: 14px;
  font-weight: 850;
}

.score-panel strong {
  display: block;
  margin-top: 20px;
  color: var(--red);
  font-size: 66px;
  line-height: 1;
}

.score-panel b {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 8px;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 5px;
  font-size: 12px;
  text-transform: uppercase;
}

.score-panel ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #43515d;
  font-size: 13px;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
}

.dot.critical { background: var(--red); }
.dot.high { background: var(--amber); }
.dot.medium { background: var(--yellow); }

.issues-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.issue {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.issue span {
  float: right;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.issue.critical span {
  color: var(--red);
  background: var(--red-soft);
}

.issue.high span {
  color: var(--amber);
  background: var(--amber-soft);
}

.issue strong,
.issue code {
  display: block;
}

.issue strong {
  color: var(--ink);
  font-size: 14px;
}

.issue code {
  margin-top: 6px;
  color: #60707d;
  font-size: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pr-panel {
  border-left: 1px solid var(--line);
}

.pr-panel strong {
  display: block;
  margin-top: 28px;
  color: var(--red);
  font-size: 24px;
}

.pr-panel p {
  margin: 10px 0 0;
  color: #50606b;
  font-size: 14px;
}

.pr-panel a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.output-tabs {
  display: flex;
  gap: 24px;
  padding: 12px 22px 0;
  border-top: 1px solid var(--line);
  color: #40505b;
  font-size: 13px;
  font-weight: 900;
}

.output-tabs span:first-child {
  color: var(--teal);
}

.product-preview pre,
.workflow pre {
  overflow: auto;
  margin: 12px 22px 22px;
  padding: 18px;
  color: #e6edf3;
  background: #111820;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.workflows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0 40px 70px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.workflow {
  min-height: 420px;
  padding: 34px 34px 28px;
  border-right: 1px solid var(--line);
}

.workflow:first-child {
  border-left: 1px solid var(--line);
}

.workflow h2,
.reports h2,
.audit h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: 0;
}

.workflow p,
.reports p,
.audit p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.workflow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--white);
  background: #111820;
  border-radius: 8px;
  font-weight: 900;
}

.action-icon {
  background: var(--ink);
}

.report-icon {
  background: var(--teal);
}

.workflow pre {
  margin: 18px 0;
}

.workflow ul,
.audit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li,
.audit-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 24px;
  color: #34424c;
  font-size: 15px;
}

.workflow li::before,
.audit-card li::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--teal-soft);
}

.workflow > a {
  display: inline-flex;
  margin-top: 20px;
  margin-right: 18px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.mini-report {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.mini-report strong {
  color: var(--red);
  font-size: 46px;
  line-height: 1;
}

.mini-report strong span {
  color: var(--muted);
  font-size: 18px;
}

.mini-report p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-size: 13px;
}

.bar {
  display: inline-block;
  width: 54px;
  height: 6px;
  border-radius: 999px;
}

.bar.critical { background: var(--red); }
.bar.high { background: var(--amber); }
.bar.medium { background: var(--yellow); }

.reports {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
  padding: 82px 40px;
  background: #eef6f4;
}

.baseline-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 48px;
  align-items: center;
  padding: 82px 40px;
  background: #fbfdff;
  border-top: 1px solid var(--line);
}

.baseline-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

.baseline-copy p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.baseline-copy pre {
  overflow: auto;
  margin: 28px 0 0;
  padding: 20px;
  color: #e6edf3;
  background: #111820;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
}

.baseline-steps {
  display: grid;
  gap: 14px;
}

.baseline-steps div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.baseline-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(36, 89, 214, .18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.baseline-steps strong {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 24px;
}

.baseline-steps p {
  margin: 8px 0 0;
  color: var(--muted);
}

.reports h2,
.audit h2 {
  font-size: 46px;
}

.report-list {
  display: grid;
  gap: 14px;
}

.report-list div {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-list span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.report-list strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
}

.e2e-proof {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 48px;
  padding: 82px 40px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.e2e-proof h2 {
  margin: 0;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
}

.e2e-proof p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.e2e-proof .button {
  margin-top: 28px;
}

.proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-actions .button {
  margin-top: 0;
}

.proof-grid {
  display: grid;
  gap: 14px;
}

.proof-card {
  padding: 22px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-card span,
.example-score span,
.finding-table span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 23px;
}

.artifact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.artifact-links a,
.example-side a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(8, 117, 111, .22);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.example-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 42px;
  align-items: center;
  padding: 76px 40px;
  background: linear-gradient(120deg, #ffffff 0%, #f9fbfc 52%, #e7f6f3 100%);
  border-bottom: 1px solid var(--line);
}

.example-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: 0;
}

.example-hero p {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.example-score {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.example-score strong {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-size: 74px;
  line-height: 1;
}

.example-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
  padding: 48px 40px 76px;
  background: var(--paper);
}

.example-main,
.example-side {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.example-main {
  overflow: hidden;
  padding: 30px;
}

.example-main h2,
.example-side h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: 0;
}

.example-main h2:not(:first-child),
.example-side h2:not(:first-child) {
  margin-top: 28px;
}

.example-main p,
.example-side p {
  color: var(--muted);
}

.example-main pre {
  overflow: auto;
  margin: 18px 0 30px;
  padding: 18px;
  color: #e6edf3;
  background: #111820;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
}

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

.finding-table div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.finding-table strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
}

.finding-table p {
  margin: 8px 0 0;
  font-size: 14px;
}

.example-side {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.example-side a {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}

.example-side ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.example-side li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: #34424c;
  font-size: 14px;
}

.audit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  align-items: start;
  padding: 86px 40px;
  background: var(--paper);
}

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

.pilot-options {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.pilot-options div {
  display: grid;
  grid-template-columns: 140px 140px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.pilot-options span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pilot-options strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.pilot-options p {
  margin: 0;
  font-size: 15px;
}

.audit-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .08);
}

.audit-card h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 24px;
}

.audit-card .button {
  width: 100%;
  margin-top: 26px;
}

footer {
  padding: 32px 40px;
  background: var(--ink);
}

footer p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
}

footer a {
  color: #68e6d8;
}

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

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

  .workflows,
  .reports,
  .baseline-section,
  .e2e-proof,
  .example-hero,
  .example-layout,
  .audit {
    grid-template-columns: 1fr;
  }

  .workflow,
  .workflow:first-child {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 20px;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .hero,
  .workflows,
  .reports,
  .baseline-section,
  .e2e-proof,
  .example-hero,
  .example-layout,
  .audit {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }

  .preview-grid {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: auto;
  }

  .score-panel {
    border: 0;
    border-right: 1px solid var(--line);
  }

  .score-panel,
  .issues-panel {
    padding: 18px;
  }

  .score-panel strong {
    margin-top: 14px;
    font-size: 48px;
  }

  .score-panel ul,
  .pr-panel,
  .output-tabs,
  .product-preview pre {
    display: none;
  }

  .issues-panel {
    gap: 10px;
  }

  .issue {
    padding: 12px;
  }

  .issue:nth-of-type(n+3) {
    display: none;
  }

  .issue code {
    display: none;
  }

  .workflow {
    padding: 28px 20px;
  }

  .workflow h2 {
    font-size: 26px;
  }

  .reports h2,
  .baseline-copy h2,
  .e2e-proof h2,
  .example-hero h1,
  .audit h2 {
    font-size: 34px;
  }

  .mini-report {
    grid-template-columns: 1fr;
  }

  .workflow pre,
  .baseline-copy pre,
  .example-main pre {
    max-width: 100%;
  }

  .workflow pre code,
  .baseline-copy pre code,
  .example-main pre code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .finding-table {
    grid-template-columns: 1fr;
  }

  .example-side {
    position: static;
  }

  .pilot-options div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .preview-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .score-panel strong {
    font-size: 56px;
  }
}
