@font-face {
  font-family: "Sixtyfour";
  src: url("fonts/Sixtyfour-BLED-SCAN.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #070a12;
  --surface: #0d1220;
  --surface-2: #111827;
  --ink: #f4f2fb;
  --muted: #9da6bd;
  --line: #273047;
  --violet: #8376ff;
  --cyan: #6de7ff;
  --coral: #ff7a72;
  --amber: #ffc15a;
  --max: 1180px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --display: "Sixtyfour", var(--mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(131, 118, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 118, 255, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-name {
  font-family: var(--display);
  font-size: 0.86rem;
  font-variation-settings: "BLED" 14, "SCAN" -18;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 0.86rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.nav-github {
  padding: 9px 13px;
  border: 1px solid var(--line);
}

.hero {
  min-height: calc(100svh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(52px, 7vw, 100px);
  padding: 72px 0 50px;
}

.eyebrow,
.module-kicker {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 22px 0 24px;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.25vw, 4.05rem);
  font-variation-settings: "BLED" 14, "SCAN" -18;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 .cycle {
  display: block;
  color: var(--violet);
}

.lede {
  max-width: 620px;
  margin: 0;
  color: #c0c6d7;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--violet);
  background: var(--violet);
  color: #080a12;
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

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

.system-map {
  position: relative;
  padding-left: 44px;
}

.address-rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 22px;
  border-left: 1px solid var(--line);
  color: #67718c;
  font-family: var(--mono);
  font-size: 0.64rem;
}

.address-rail span {
  position: absolute;
  left: 8px;
}

.address-rail span:nth-child(1) { top: -4px; }
.address-rail span:nth-child(2) { top: 33%; }
.address-rail span:nth-child(3) { top: 66%; }
.address-rail span:nth-child(4) { bottom: -4px; }

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

.module {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(13, 18, 32, 0.92);
}

.module h2 {
  margin: 26px 0 8px;
  font-family: var(--display);
  font-size: 1.02rem;
  font-variation-settings: "BLED" 10, "SCAN" -14;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.module p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.module-c64re {
  border-top: 3px solid var(--cyan);
}

.module-ue2 {
  border-top: 3px solid var(--coral);
}

.module-trx {
  position: relative;
  grid-column: 1 / -1;
  min-height: 190px;
  border: 1px solid var(--violet);
  background: #12152c;
  overflow: hidden;
}

.module-trx::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 1px;
  height: 100%;
  background: var(--violet);
  opacity: 0.55;
  animation: trace 4s linear infinite;
}

.module-trx .module-kicker {
  color: #b5adff;
}

.module-trx h2 {
  font-size: 1.16rem;
}

.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: #a6a0e9;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.api-first-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(131, 118, 255, 0.08), transparent 42%),
    #090d17;
}

.api-first-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
  padding: 78px 0;
}

.api-first-copy h2 {
  max-width: 520px;
  margin: 16px 0 22px;
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.api-first-copy p:last-child {
  margin: 0;
  color: #c0c6d7;
  font-size: 1.02rem;
}

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

.api-surface {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(13, 18, 32, 0.78);
}

.api-surface:last-child { border-right: 0; }

.api-surface-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.api-surface h3 {
  margin: 58px 0 12px;
  font-size: 1rem;
  line-height: 1.35;
}

.api-surface p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.api-surface-c64re { border-top: 3px solid var(--cyan); }
.api-surface-trx { border-top: 3px solid var(--violet); }
.api-surface-ue2 { border-top: 3px solid var(--coral); }

.section {
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 62px;
}

.section-index {
  color: var(--violet);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 800px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-heading p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.products {
  display: grid;
  gap: 28px;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  min-height: 530px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.product:nth-child(even) {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.product:nth-child(even) .product-media {
  order: 2;
}

.product-media {
  position: relative;
  min-height: 360px;
  margin: 0;
  border-right: 1px solid var(--line);
  background: #05070d;
  overflow: hidden;
}

.product:nth-child(even) .product-media {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-ue2 .product-media {
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
  background:
    linear-gradient(rgba(255, 122, 114, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 114, 0.06) 1px, transparent 1px),
    #080a0f;
  background-size: 28px 28px;
}

.product-ue2 .product-media img {
  height: auto;
  max-height: 100%;
  border: 1px solid #41434b;
  image-rendering: pixelated;
}

.media-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 10, 18, 0.82);
  color: #d6d8e4;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.product-number {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-trx .product-number { color: #b5adff; }
.product-c64re .product-number { color: var(--cyan); }
.product-ue2 .product-number { color: var(--coral); }

.product h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-variation-settings: "BLED" 10, "SCAN" -14;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.product-summary {
  margin: 22px 0 0;
  color: #c2c8d8;
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.91rem;
}

.feature-list li::before {
  content: "↳";
  color: var(--violet);
  font-family: var(--mono);
}

.product-c64re .feature-list li::before { color: var(--cyan); }
.product-ue2 .feature-list li::before { color: var(--coral); }

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.text-links a,
.start-card a,
.footer-links a {
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}

.graph-spec {
  margin-top: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(91, 223, 238, 0.07), transparent 38%),
    rgba(9, 13, 23, 0.94);
}

.graph-spec-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 32px;
  padding: 34px;
  border-bottom: 1px solid var(--line);
}

.graph-spec-label,
.graph-spec-number {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graph-spec-head h3 {
  max-width: 820px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.graph-spec-head p:last-child {
  max-width: 790px;
  margin: 18px 0 0;
  color: var(--muted);
}

.graph-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.graph-spec-card {
  min-width: 0;
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.graph-spec-card:last-child { border-right: 0; }

.graph-spec-card h4 {
  margin: 62px 0 14px;
  font-family: var(--display);
  font-size: 1rem;
  font-variation-settings: "BLED" 8, "SCAN" -12;
  font-weight: 400;
  line-height: 1.45;
}

.graph-spec-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.graph-spec-foot {
  margin: 0;
  padding: 22px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.workflow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090d17;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}

.workflow-step {
  position: relative;
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.workflow-step:last-child { border-right: 0; }

.workflow-step::after {
  content: "→";
  position: absolute;
  top: 25px;
  right: -13px;
  z-index: 2;
  width: 25px;
  background: #090d17;
  color: var(--violet);
  font-family: var(--mono);
  text-align: center;
}

.workflow-step:last-child::after { content: none; }

.step-number {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.73rem;
}

.workflow-step h3 {
  margin: 76px 0 12px;
  font-family: var(--display);
  font-size: 0.96rem;
  font-variation-settings: "BLED" 8, "SCAN" -12;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pipeline {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.54);
}

.pipeline-heading {
  display: grid;
  grid-template-columns: minmax(210px, 0.5fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.pipeline-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.12rem, 2vw, 1.62rem);
  font-variation-settings: "BLED" 8, "SCAN" -12;
  font-weight: 400;
  line-height: 1.4;
}

.pipeline-heading p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pipeline-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pipeline-group {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.pipeline-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pipeline-group-discovery .pipeline-group-label { color: var(--amber); }
.pipeline-group-re .pipeline-group-label { color: var(--cyan); }

.pipeline-card-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.pipeline-group-discovery .pipeline-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pipeline-group-re .pipeline-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pipeline-group-re .pipeline-card { grid-column: span 2; }
.pipeline-group-re .pipeline-card:nth-child(n + 4) { grid-column: span 3; }

.pipeline-card {
  min-height: 250px;
  padding: 22px 20px;
  background: rgba(13, 18, 32, 0.74);
}

.pipeline-phase {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.pipeline-card h4 {
  margin: 44px 0 10px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.pipeline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.pipeline-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.73rem;
}

.pipeline-note strong {
  color: var(--ink);
  font-weight: 600;
}

.start-section { padding-top: 28px; }

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

.start-card {
  display: flex;
  min-height: 310px;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(13, 18, 32, 0.86);
}

.start-card h3 {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-size: 1rem;
  font-variation-settings: "BLED" 8, "SCAN" -12;
  font-weight: 400;
  line-height: 1.45;
}

.start-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.command {
  max-width: 100%;
  margin: auto 0 20px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #05070c;
  color: #d8dcf0;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.55;
  overflow-x: auto;
  white-space: nowrap;
}

.command .prompt { color: var(--violet); }

.start-card a {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.site-footer {
  margin-top: 112px;
  border-top: 1px solid var(--line);
  background: #05070d;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 46px 0;
}

.footer-brand {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-weight: 700;
}

.footer-note {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.78rem;
}

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

@keyframes trace {
  from { transform: translateX(-90px); }
  to { transform: translateX(430px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .module-trx::after { animation: none; left: 76%; }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 64px;
    padding-top: 64px;
  }

  .system-map {
    max-width: 680px;
  }

  .product,
  .product:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .product:nth-child(even) .product-media { order: initial; }

  .product-media,
  .product:nth-child(even) .product-media {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .api-first-inner { grid-template-columns: 1fr; }

  .graph-spec-head { grid-template-columns: 1fr; }
  .graph-spec-grid { grid-template-columns: 1fr; }
  .graph-spec-card {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .graph-spec-card:last-child { border-bottom: 0; }

  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-step:nth-child(2),
  .workflow-step:nth-child(4) { border-right: 0; }
  .workflow-step:nth-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .workflow-step:nth-child(2)::after,
  .workflow-step:nth-child(4)::after { content: none; }
  .workflow-step:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 220px;
    border-right: 0;
  }

  .pipeline-group-re .pipeline-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline-group-re .pipeline-card { grid-column: auto; }
  .pipeline-group-re .pipeline-card:nth-child(n + 4) { grid-column: auto; }
  .pipeline-group-re .pipeline-card:last-child { grid-column: 1 / -1; }

  .start-grid { grid-template-columns: 1fr; }
  .start-card { min-height: 250px; }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 66px;
  }

  .brand-name span,
  .nav-links a:not(.nav-github) {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .hero {
    padding: 52px 0 36px;
  }

  .section { padding: 78px 0; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 38px;
  }

  h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.7rem);
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .system-map {
    padding-left: 30px;
  }

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

  .module-trx {
    grid-column: auto;
    grid-row: 1;
  }

  .api-first-inner { padding: 64px 0; }
  .api-surface-grid { grid-template-columns: 1fr; }
  .api-surface {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .api-surface:last-child { border-bottom: 0; }
  .api-surface h3 { margin-top: 36px; }

  .product-media { min-height: 250px; }
  .product-copy { padding: 30px 24px 36px; }

  .graph-spec-head { padding: 26px 22px; }
  .graph-spec-card { padding: 24px 22px; }
  .graph-spec-card h4 { margin-top: 42px; }
  .graph-spec-foot { padding: 20px 22px; }

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

  .workflow-step,
  .workflow-step:nth-child(2),
  .workflow-step:nth-child(4),
  .workflow-step:nth-child(5) {
    grid-column: auto;
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step:last-child { border-bottom: 0; }
  .workflow-step::after { content: none; }
  .workflow-step h3 { margin-top: 48px; }

  .pipeline { padding: 22px 18px; }
  .pipeline-heading { grid-template-columns: 1fr; gap: 12px; }
  .pipeline-group-discovery .pipeline-card-grid,
  .pipeline-group-re .pipeline-card-grid { grid-template-columns: 1fr; }
  .pipeline-group-re .pipeline-card:last-child { grid-column: auto; }
  .pipeline-card { min-height: 210px; }
  .pipeline-card h4 { margin-top: 34px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

/* Examples page */
.examples-hero {
  padding: 96px 0 40px;
}

.examples-hero h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-variation-settings: "BLED" 10, "SCAN" -14;
  font-weight: 400;
  line-height: 1.2;
}

.examples-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hook-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.hook-index a {
  display: block;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.hook-index a:hover { border-color: var(--violet); }

.hook-index span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.case-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.case-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-variation-settings: "BLED" 10, "SCAN" -14;
  font-weight: 400;
  line-height: 1.3;
}

.case-project {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.case-summary {
  margin: 22px 0 0;
  color: #c2c8d8;
  font-size: 1.04rem;
}

.case-status {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 9px;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #05070d;
}

.case-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.case-figure.pixel img {
  image-rendering: pixelated;
}

.case-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.case-body h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-body .feature-list {
  margin-top: 0;
}

.code-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.code-block {
  margin: 0;
  border: 1px solid var(--line);
  background: #05070d;
  min-width: 0;
}

.code-block figcaption {
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.code-block pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  color: #d6d8e4;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.55;
}

.code-block .c { color: var(--muted); }
.code-block .l { color: var(--cyan); }

.code-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  .hook-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-head,
  .case-body,
  .code-pair { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .hook-index { grid-template-columns: 1fr; }
  .examples-hero { padding: 64px 0 24px; }
  .case { padding: 52px 0; }
}

.graph-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

@media (max-width: 920px) {
  .graph-gallery { grid-template-columns: 1fr; }
}
