:root {
  --bg: #070909;
  --panel: rgba(13, 18, 20, 0.82);
  --panel-strong: rgba(16, 22, 24, 0.96);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f4f7f5;
  --muted: rgba(244, 247, 245, 0.7);
  --dim: rgba(244, 247, 245, 0.5);
  --field: #8cf0d2;
  --amber: #eec46b;
  --blue: #6eb8ff;
  --red: #ff776d;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  cursor: none !important;
}

main {
  max-width: 100vw;
  overflow-x: hidden;
}

a,
button {
  cursor: none !important;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.52);
}

.cursor.hover {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.back-button {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 20;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(6, 8, 8, 0.62);
  color: var(--text);
  text-decoration: none;
  backdrop-filter: blur(12px);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--field);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.pv-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 124px max(28px, calc((100vw - 1180px) / 2)) 72px;
  border-bottom: 1px solid var(--line);
  background: #071010;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  filter: saturate(1.05) contrast(1.08);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.96), rgba(7, 9, 9, 0.72) 45%, rgba(7, 9, 9, 0.52)),
    linear-gradient(0deg, rgba(7, 9, 9, 1), rgba(7, 9, 9, 0.2) 54%, rgba(7, 9, 9, 0.7));
}

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

h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(3rem, 6vw, 6.1rem);
  font-weight: 300;
  line-height: 0.96;
}

.hero-content > p {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(244, 247, 245, 0.84);
  font-size: 1.16rem;
  line-height: 1.58;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.reviewer-path,
.scope-note,
.readiness-note {
  border: 1px solid rgba(140, 240, 210, 0.28);
  border-radius: 8px;
  background: rgba(140, 240, 210, 0.08);
}

.reviewer-path {
  max-width: 850px;
  margin-top: 24px;
  padding: 14px 16px;
  color: rgba(244, 247, 245, 0.86);
  font-size: 0.98rem;
  line-height: 1.5;
}

.reviewer-path strong {
  color: var(--field);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 400;
  text-transform: uppercase;
}

.hero-actions,
.link-panel,
.single-action {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-actions a,
.link-panel a,
.single-action a,
.output-grid a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}

.hero-actions a:first-child,
.hero-actions a:hover,
.link-panel a:hover,
.single-action a:hover,
.output-grid a:hover {
  border-color: rgba(140, 240, 210, 0.52);
  background: rgba(140, 240, 210, 0.12);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #0a0f10;
}

.proof-band div {
  min-height: 104px;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band span {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.proof-band p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.scope-note,
.readiness-note {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px;
}

.scope-note {
  margin-top: 34px;
}

.scope-note p:not(.eyebrow),
.readiness-note p {
  margin: 0;
  color: rgba(244, 247, 245, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}

.scope-note a,
.section-copy p a {
  color: var(--field);
  text-decoration: none;
}

.scope-note a:hover,
.section-copy p a:hover {
  color: var(--text);
}

.flagship-section,
.cgns-section,
.outputs-section,
.pipeline-summary,
.cgns-proof-section,
.state-proof-section,
.ai-section,
.evidence-package {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0;
}

.flagship-section,
.cgns-section,
.state-proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.section-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 300;
  line-height: 1;
}

.section-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.evidence-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.evidence-figure img,
.evidence-figure video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf0f2;
}

.evidence-figure video {
  aspect-ratio: 16 / 9;
}

.evidence-figure figcaption {
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.outputs-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pipeline-summary {
  padding-bottom: 54px;
}

.pipeline-grid,
.proof-card-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.pipeline-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.proof-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pipeline-grid article,
.proof-card-grid a,
.state-panel,
.score-example {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.pipeline-grid article {
  min-height: 166px;
  padding: 18px;
}

.pipeline-grid span,
.proof-card-grid span {
  display: block;
  color: var(--field);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.pipeline-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.cgns-proof-section {
  border-top: 1px solid var(--line);
  padding-top: 54px;
}

.proof-card-grid a {
  padding: 20px;
  color: var(--text);
  text-decoration: none;
}

.proof-card-grid a:hover {
  border-color: rgba(140, 240, 210, 0.52);
  background: rgba(140, 240, 210, 0.1);
}

.proof-card-grid strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 300;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.output-grid article,
.rubric-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.output-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef1f2;
}

.output-grid span,
.rubric-grid span {
  display: block;
  margin: 18px 18px 0;
  color: var(--field);
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.output-grid h3 {
  margin: 8px 18px 0;
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 400;
}

.output-grid p,
.rubric-grid p {
  margin: 10px 18px 0;
  color: var(--muted);
  line-height: 1.55;
}

.output-grid a {
  margin: 18px;
}

.state-proof-section {
  border-bottom: 1px solid var(--line);
}

.state-panel {
  overflow: hidden;
}

.state-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.state-toolbar span {
  color: var(--field);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.state-toolbar a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}

.state-toolbar a:hover {
  color: var(--field);
}

.state-panel pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: rgba(244, 247, 245, 0.86);
  font-family: var(--mono);
  font-size: clamp(0.82rem, 1.6vw, 0.98rem);
  line-height: 1.7;
}

.state-panel code {
  font-family: inherit;
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.rubric-grid article {
  padding-bottom: 20px;
}

.score-example {
  margin-top: 16px;
  padding: 20px;
}

.score-example h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 400;
}

.score-example p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.score-example strong {
  color: var(--field);
  font-weight: 400;
}

.evidence-package {
  border-top: 1px solid var(--line);
}

.handoff-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.handoff-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.handoff-table th,
.handoff-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  line-height: 1.45;
  vertical-align: top;
}

.handoff-table th {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
}

.handoff-table td:first-child {
  width: 34%;
}

.handoff-table td:nth-child(2) {
  width: 16%;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.handoff-table tr:last-child td {
  border-bottom: 0;
}

.handoff-table a {
  color: var(--field);
  text-decoration: none;
}

.handoff-table a:hover {
  color: var(--text);
}

.readiness-note {
  margin-bottom: 52px;
}

@media (max-width: 900px) {
  .pv-hero {
    min-height: 86vh;
    padding: 104px 24px 54px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4.4rem);
  }

  .proof-band,
  .output-grid,
  .rubric-grid,
  .pipeline-grid,
  .proof-card-grid,
  .flagship-section,
  .cgns-section,
  .state-proof-section {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flagship-section,
  .cgns-section,
  .outputs-section,
  .pipeline-summary,
  .cgns-proof-section,
  .state-proof-section,
  .ai-section,
  .evidence-package,
  .scope-note,
  .readiness-note {
    width: min(100% - 32px, 1180px);
  }

  .section-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .handoff-table {
    min-width: 760px;
  }
}

@media (max-width: 520px) {
  .back-button {
    top: 18px;
    left: 18px;
  }

  .hero-actions a,
  .link-panel a,
  .single-action a {
    width: 100%;
  }

  .pv-hero {
    padding-top: 92px;
  }
}
