:root {
  --ink: #050507;
  --panel: #111116;
  --panel-2: #181820;
  --text: #f5f3ea;
  --muted: #aaa79d;
  --dim: #68655e;
  --cyan: #00d5ff;
  --lime: #b6ff00;
  --hot: #ff2d55;
  --orange: #ff7a1a;
  --yellow: #ffb000;
  --violet: #7a5cff;
}

.reveal {
  color: var(--text);
  font-family: "Helvetica Neue", "Aptos", sans-serif;
  background: var(--ink);
}

.reveal .slides {
  text-align: left;
}

.reveal section {
  box-sizing: border-box;
  height: 100%;
  padding: 4.2rem 5rem 3.8rem;
  background:
    linear-gradient(90deg, transparent 0 74%, rgba(255, 255, 255, 0.045) 74% 100%),
    var(--ink);
}

.reveal section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.72rem;
  background: var(--cyan);
}

.reveal section::after {
  content: "";
  position: absolute;
  left: 5rem;
  top: 1.8rem;
  width: 15rem;
  height: 0.7rem;
  background: linear-gradient(90deg, var(--lime) 0 62%, transparent 62% 70%, var(--hot) 70%);
}

.reveal h1,
.reveal h2,
.reveal h3 {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 0.92;
}

.reveal h1 {
  font-size: 6.2rem;
}

.reveal h2 {
  font-size: 4.2rem;
  margin-bottom: 2.4rem;
}

.reveal h3 {
  font-size: 4.8rem;
}

.reveal p,
.reveal li {
  font-size: 1.55rem;
  line-height: 1.22;
}

.reveal .kicker {
  margin: 0 0 0.85rem;
  font-family: "PT Mono", "SF Mono", monospace;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.subtitle {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.75rem;
  font-weight: 700;
}

.byline {
  margin-top: 4rem;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
}

.muted {
  color: var(--muted);
  font-weight: 700;
}

.center {
  text-align: center;
}

.cyan { color: var(--cyan); }
.lime { color: var(--lime); }
.hot { color: var(--hot); }
.orange { color: var(--orange); }
.yellow { color: var(--yellow); }
.violet { color: var(--violet); }

.cyan-bg { background: var(--cyan); color: #050507; }
.lime-bg { background: var(--lime); color: #050507; }
.hot-bg { background: var(--hot); color: #050507; }
.orange-bg { background: var(--orange); color: #050507; }
.violet-bg { background: var(--violet); color: var(--text); }
.light-bg { background: var(--text); color: #050507; }
.dark-bg { background: var(--panel-2); color: var(--text); }

.cover::before {
  background: var(--cyan);
}

.cover::after {
  width: 16rem;
}

.cover-grid,
.two-col,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  height: calc(100% - 5rem);
}

.about-layout {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 5rem;
  height: calc(100% - 4rem);
}

.about-layout .muted {
  max-width: 48rem;
}

.cover-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
  height: auto;
}

.why-stack {
  justify-self: end;
  width: 27rem;
  margin-top: 3rem;
}

.why-stack p {
  margin: 0.55rem 0;
  font-family: "PT Mono", "SF Mono", monospace;
  font-size: 1.4rem;
  font-weight: 900;
}

.why-stack .why {
  margin-top: 2.1rem;
  color: var(--text);
  font-family: "Avenir Next Condensed", sans-serif;
  font-size: 5rem;
  letter-spacing: -0.04em;
}

.node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  min-height: 4.2rem;
  box-sizing: border-box;
  padding: 0.85rem 1.1rem;
  border-radius: 0.28rem;
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
}

.mini-flow,
.process,
.architecture,
.correlation {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.mini-flow {
  justify-content: start;
  flex-wrap: nowrap;
  align-self: end;
  margin-bottom: 2rem;
}

.mini-flow .node {
  min-width: 8.2rem;
}

.arrow {
  width: 4.5rem;
  height: 0.22rem;
  background: var(--dim);
  position: relative;
  flex: 0 0 auto;
}

.arrow::after,
.big-arrow::after {
  content: ">";
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-54%);
  color: var(--dim);
  font-family: "PT Mono", monospace;
  font-size: 2rem;
  font-weight: 900;
}

.lime-arrow,
.lime-arrow::after {
  background: var(--lime);
  color: var(--lime);
}

.hot-arrow,
.hot-arrow::after {
  background: var(--hot);
  color: var(--hot);
}

.reverse {
  transform: rotate(180deg);
}

.lane-diagram {
  position: relative;
  margin-top: 4rem;
  padding-right: 14rem;
}

.lane-label {
  margin: 2rem 0 0.7rem;
  font-family: "PT Mono", monospace;
  font-size: 1rem;
  font-weight: 900;
}

.lane {
  display: flex;
  align-items: center;
}

.line {
  width: 9rem;
  height: 0.2rem;
}

.cyan-line { background: var(--cyan); }
.lime-line { background: var(--lime); }

.gap-box {
  position: absolute;
  right: 3rem;
  top: 2rem;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 15rem;
  border: 0.16rem solid var(--hot);
  color: var(--hot);
  font-size: 4rem;
  font-weight: 900;
}

.side-note {
  position: absolute;
  right: 0.2rem;
  top: 18.2rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.statement {
  margin-top: 4rem !important;
  max-width: 45rem;
}

.role-line {
  font-size: 4.1rem !important;
  white-space: nowrap;
}

.failed {
  color: var(--hot);
  font-size: 5.7rem !important;
}

.artifact-cloud,
.constellation,
.adoption,
.guardrails,
.takeaways {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.artifact-cloud span,
.constellation span,
.constellation strong,
.adoption span,
.adoption strong,
.guardrails span,
.takeaways div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.7rem 1.2rem;
  border: 0.12rem solid var(--cyan);
  border-radius: 0.35rem;
  color: var(--text);
  font-family: "PT Mono", monospace;
  font-size: 1rem;
  font-weight: 900;
}

.artifact-cloud span:nth-child(2n),
.constellation span:nth-child(2n),
.adoption span:nth-child(2n),
.guardrails span:nth-child(2n) {
  border-color: var(--lime);
}

.artifact-cloud span:nth-child(3n),
.constellation span:nth-child(3n),
.adoption span:nth-child(3n),
.guardrails span:nth-child(3n) {
  border-color: var(--hot);
}

.constellation strong,
.adoption strong {
  border: 0;
  background: var(--text);
  color: var(--ink);
  font-size: 1.25rem;
  min-width: 12rem;
  min-height: 7rem;
  text-align: center;
}

.correlation {
  justify-content: center;
  margin-top: 3.8rem;
}

.input-list {
  display: grid;
  gap: 0.9rem;
}

.input-list span {
  display: block;
  min-width: 12rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0.24rem;
  font-family: "PT Mono", monospace;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.big-arrow {
  width: 9rem;
  height: 0.22rem;
  background: var(--dim);
  position: relative;
}

.ai-map {
  display: grid;
  grid-template-columns: 1fr 12rem 1fr;
  grid-template-rows: auto auto;
  gap: 2rem 6rem;
  align-items: center;
  justify-items: center;
  margin: 4.5rem auto 2.5rem;
  max-width: 55rem;
}

.ai-map strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 12rem;
  height: 12rem;
  background: var(--text);
  color: var(--ink);
  font-size: 5rem;
  font-weight: 900;
}

.ai-map span {
  min-width: 10rem;
  padding: 0.7rem 1.2rem;
  border: 0.12rem solid var(--cyan);
  border-radius: 999px;
  font-family: "PT Mono", monospace;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.compare {
  display: grid;
  gap: 3rem;
}

.compact {
  gap: 0.9rem;
}

.architecture {
  display: grid;
  grid-template-columns: auto 4rem auto 4rem auto;
  grid-template-rows: auto auto;
  gap: 3rem 1rem;
  margin-top: 3rem;
}

.architecture .node {
  min-width: 13rem;
  min-height: 6rem;
}

.artifact-img {
  width: 100%;
  max-height: 25rem;
  object-fit: contain;
  border-radius: 0.35rem;
  box-shadow: 0 1.3rem 4rem rgba(0, 0, 0, 0.45);
}

.artifact-img.small {
  position: absolute;
  left: 5rem;
  bottom: 4rem;
  width: 28rem;
  max-height: 12rem;
}

.guardrails {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.guardrails span:last-child {
  grid-column: 1 / span 2;
  justify-self: center;
  border-color: var(--hot);
}

.verticalish {
  align-items: stretch;
}

.takeaways {
  justify-content: space-between;
  margin-top: 6rem;
}

.takeaways div {
  display: block;
  width: 28%;
  min-height: 9rem;
  border-color: transparent;
  font-family: "Helvetica Neue", "Aptos", sans-serif;
}

.takeaways strong {
  display: block;
  margin-bottom: 1rem;
  font-family: "Avenir Next Condensed", sans-serif;
  font-size: 3.5rem;
  line-height: 0.9;
}

.takeaways p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 800;
}

.demo-end {
  background:
    linear-gradient(180deg, var(--hot) 0 7rem, transparent 7rem),
    var(--ink) !important;
}

.demo-end::before,
.demo-end::after {
  display: none;
}

.demo-end h1 {
  margin-top: 5rem;
}

.reveal .slide-number {
  color: var(--dim);
  background: transparent;
  font-family: "PT Mono", monospace;
  font-size: 0.8rem;
  font-weight: 900;
}

.reveal .progress {
  color: var(--lime);
}
