:root {
  --bg: #070808;
  --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);
  --scope: #7cf7cf;
  --copper: #f2c66d;
  --blue: #69d2ff;
  --rose: #ff7ca4;
  --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(--scope);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.eda-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:
    linear-gradient(135deg, rgba(9, 15, 16, 0.98), rgba(8, 8, 8, 0.86) 48%, rgba(18, 15, 10, 0.92));
}

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

.hero-schematic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.36;
  filter: grayscale(0.1) contrast(1.08);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.96), rgba(7, 8, 8, 0.7) 48%, rgba(7, 8, 8, 0.42)),
    linear-gradient(0deg, rgba(7, 8, 8, 1), rgba(7, 8, 8, 0.24) 52%, rgba(7, 8, 8, 0.72));
}

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

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

.hero-content > p {
  max-width: 760px;
  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(124, 247, 207, 0.28);
  border-radius: 8px;
  background: rgba(124, 247, 207, 0.08);
}

.reviewer-path {
  max-width: 820px;
  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(--scope);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 400;
  text-transform: uppercase;
}

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

.hero-actions a,
.link-panel a,
.sample-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,
.sample-grid a:hover {
  border-color: rgba(124, 247, 207, 0.52);
  background: rgba(124, 247, 207, 0.12);
}

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

.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.62;
}

.checklist-section,
.flagship-section,
.samples-section,
.ai-pack-section,
.evidence-package,
.tiny-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.checklist-section,
.flagship-section,
.ai-pack-section,
.evidence-package,
.tiny-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 30px;
  align-items: start;
}

.flagship-section {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
}

.samples-section {
  display: grid;
  gap: 26px;
}

.section-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.04;
}

.section-copy p:not(.eyebrow):not(.callout) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.check-grid,
.sample-grid,
.tiny-links {
  display: grid;
  gap: 10px;
}

.check-grid,
.tiny-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-grid a,
.tiny-links a {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.check-grid a:hover,
.tiny-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 247, 207, 0.48);
  background: var(--panel-strong);
}

.check-grid span,
.tiny-links span {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.25;
}

.check-grid strong,
.tiny-links strong {
  color: var(--scope);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.evidence-figure {
  margin: 0;
}

.evidence-figure img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.evidence-figure figcaption {
  margin-top: 10px;
  color: var(--dim);
  font-size: 0.82rem;
}

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

.sample-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.sample-grid span {
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.sample-grid h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.18;
}

.sample-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.56;
}

.sample-grid a {
  width: fit-content;
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.74rem;
}

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

.rubric-table,
.handoff-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.rubric-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.rubric-table th,
.rubric-table td,
.handoff-table th,
.handoff-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.handoff-table th:nth-child(1),
.handoff-table td:nth-child(1) {
  width: 35%;
}

.handoff-table th:nth-child(2),
.handoff-table td:nth-child(2) {
  width: 18%;
}

.handoff-table th:nth-child(3),
.handoff-table td:nth-child(3) {
  width: 47%;
}

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

.rubric-table td,
.handoff-table td {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.rubric-table td:first-child,
.handoff-table td:first-child,
.handoff-table td:nth-child(2) {
  color: var(--text);
}

.handoff-table td:nth-child(2) {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.84rem;
}

.handoff-table a {
  color: var(--text);
  text-decoration-color: rgba(124, 247, 207, 0.5);
  text-underline-offset: 4px;
}

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

.callout {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(242, 198, 109, 0.34);
  border-radius: 8px;
  background: rgba(242, 198, 109, 0.1);
  color: rgba(244, 247, 245, 0.86);
  font-size: 0.96rem;
  line-height: 1.55;
}

.readiness-note {
  margin-top: 56px;
  margin-bottom: 56px;
}

@media (max-width: 1100px) {
  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .proof-band,
  .checklist-section,
  .flagship-section,
  .ai-pack-section,
  .evidence-package,
  .tiny-section,
  .check-grid,
  .tiny-links {
    grid-template-columns: 1fr;
  }

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

  .eda-hero {
    min-height: 78vh;
    padding-top: 100px;
  }
}

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

  .eda-hero,
  .scope-note,
  .readiness-note,
  .checklist-section,
  .flagship-section,
  .samples-section,
  .ai-pack-section,
  .evidence-package,
  .tiny-section {
    width: 100%;
  }

  .eda-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .eyebrow {
    font-size: 0.56rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero-content > p {
    max-width: calc(100vw - 40px);
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .reviewer-path {
    max-width: 100%;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }

  .hero-actions a,
  .link-panel a {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .scope-note,
  .readiness-note,
  .checklist-section,
  .flagship-section,
  .samples-section,
  .ai-pack-section,
  .evidence-package,
  .tiny-section {
    padding: 56px 20px;
  }

  .handoff-table {
    min-width: 0;
  }

  .handoff-table,
  .handoff-table thead,
  .handoff-table tbody,
  .handoff-table tr,
  .handoff-table th,
  .handoff-table td {
    display: block;
    width: 100%;
  }

  .handoff-table thead {
    display: none;
  }

  .handoff-table tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .handoff-table td {
    border-bottom: 0;
    padding: 5px 14px;
  }

  .handoff-table td:nth-child(1),
  .handoff-table td:nth-child(2),
  .handoff-table td:nth-child(3) {
    width: 100%;
  }

  .scope-note {
    margin-top: 0;
  }

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

  .sample-grid article,
  .check-grid a,
  .tiny-links a {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .hero-content,
  .hero-content > p,
  .reviewer-path,
  .hero-actions,
  h1 {
    max-width: 330px;
  }

  h1 {
    font-size: 1.62rem;
    line-height: 1.08;
  }

  .eyebrow {
    font-size: 0.5rem;
  }

  .hero-content > p,
  .reviewer-path {
    font-size: 0.8rem;
  }
}
