:root {
  --blue: #0078d4;
  --blue-deep: #005a9e;
  --blue-soft: #deecf9;
  --teal: #0f9f91;
  --teal-deep: #087268;
  --teal-soft: #e5f7f3;
  --orange: #e66a2c;
  --orange-soft: #fff0e8;
  --rose: #cb405e;
  --rose-soft: #fff0f3;
  --ink: #17243a;
  --muted: #65738a;
  --line: #dce3ee;
  --line-strong: #c8d2e1;
  --paper: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(31, 53, 88, 0.08);
  --key-t-bg: #deecf9;
  --key-t-border: #8cc3ea;
  --key-t-ink: #005a9e;
  --key-t-strong: #0078d4;
  --key-u-bg: #e3f6f3;
  --key-u-border: #7ecfc5;
  --key-u-ink: #087a70;
  --key-u-strong: #0f9f91;
  --key-w-bg: #f1ecff;
  --key-w-border: #bba9e7;
  --key-w-ink: #69509f;
  --key-w-strong: #795bb8;
  --key-v-bg: #fff2df;
  --key-v-border: #edbd7b;
  --key-v-ink: #9a5a16;
  --key-v-strong: #c87519;
  --key-mix-bg: #eceeff;
  --key-mix-border: #aab5e8;
  --key-mix-ink: #5362a6;
}

[data-key-tone="t"] {
  --key-bg: var(--key-t-bg);
  --key-border: var(--key-t-border);
  --key-ink: var(--key-t-ink);
  --key-strong: var(--key-t-strong);
}

[data-key-tone="u"] {
  --key-bg: var(--key-u-bg);
  --key-border: var(--key-u-border);
  --key-ink: var(--key-u-ink);
  --key-strong: var(--key-u-strong);
}

[data-key-tone="w"] {
  --key-bg: var(--key-w-bg);
  --key-border: var(--key-w-border);
  --key-ink: var(--key-w-ink);
  --key-strong: var(--key-w-strong);
}

[data-key-tone="v"] {
  --key-bg: var(--key-v-bg);
  --key-border: var(--key-v-border);
  --key-ink: var(--key-v-ink);
  --key-strong: var(--key-v-strong);
}

/* Keep the original family aliases so component-level typography remains centralized here. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("vendor/fonts/space-grotesk-variable.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("vendor/fonts/jetbrains-mono-variable.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
}

.rubberband-symbols {
  height: 0;
  position: absolute;
  width: 0;
}

.reveal {
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 400;
}

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

.reveal .slides section {
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 120, 212, 0.045), transparent 21%),
    var(--paper);
  display: flex !important;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 72px 78px 62px;
}

.reveal .slides section.present {
  z-index: 2;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4 {
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0;
  text-transform: none;
}

.reveal h1 {
  font-size: 100px;
  line-height: 0.98;
}

.reveal h2 {
  font-size: 54px;
  line-height: 1.08;
}

.reveal h3 {
  font-size: 29px;
  line-height: 1.2;
}

.reveal p {
  line-height: 1.42;
  margin: 0;
}

.reveal code {
  background: #edf1f7;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82em;
  padding: 0.08em 0.3em;
}

.reveal sub {
  font-size: 0.6em;
}

.slide-meta,
.slide-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: space-between;
  left: 78px;
  letter-spacing: 0.09em;
  position: absolute;
  right: 78px;
  text-transform: uppercase;
}

.slide-meta {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  top: 23px;
}

.slide-meta > span:first-child {
  color: var(--blue);
}

.slide-meta-end {
  align-items: center;
  display: flex;
  gap: 13px;
  min-height: 29px;
}

.slide-logo {
  filter: drop-shadow(0 4px 8px rgba(15, 159, 145, 0.14));
  height: 29px;
  overflow: visible;
  width: 50px;
}

.slide-footer {
  bottom: 19px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: none;
}

.slide-footer span:last-child {
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.eyebrow {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 11px !important;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 26px;
  line-height: 1.38 !important;
  margin-top: 13px !important;
}

.slide-head {
  margin-bottom: 36px;
}

.slide-head.compact {
  margin-bottom: 24px;
}

.card-label {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px !important;
  text-transform: uppercase;
}

.source {
  color: #7a8799;
  font-size: 13px;
  margin-top: 16px !important;
}

.animate-in {
  animation: none;
}

.present .animate-in {
  animation: enter 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal chrome */

.reveal .controls {
  bottom: 18px;
  color: var(--blue);
  right: 20px;
  transform: scale(0.72);
  transform-origin: bottom right;
}

.reveal .progress {
  background: rgba(0, 120, 212, 0.1);
  color: var(--blue);
  height: 4px;
}

.reveal .speaker-notes {
  font-size: 16px;
}

/* Title */

.title-slide {
  background:
    radial-gradient(circle at 83% 41%, rgba(15, 159, 145, 0.08), transparent 26%),
    var(--paper) !important;
}

.title-grid {
  align-items: center;
  display: grid;
  gap: 68px;
  grid-template-columns: 1.25fr 0.75fr;
}

.title-subtitle {
  color: var(--teal-deep);
  font-size: 35px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-top: 18px !important;
}

.authors {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55 !important;
  margin-top: 42px !important;
}

.authors strong {
  color: var(--ink);
}

/* Official Gray Systems Lab lockup, sized off the authors line so it reads as
   an affiliation rather than a badge. The PNG is cropped to its own artwork,
   so the margins below are the only spacing at play. */
.affiliation {
  margin-top: 22px !important;
}

.affiliation img {
  display: block;
  height: auto;
  width: 420px;
}

.title-mark {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title-mark svg {
  filter: drop-shadow(0 18px 30px rgba(15, 159, 145, 0.14));
  overflow: visible;
  width: 100%;
}

/* Motivation */

.tension-grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
}

.tension-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 330px;
  padding: 32px 34px;
}

.tension-card h3 {
  font-size: 33px;
  margin-bottom: 14px;
}

.tension-card > p:last-child {
  color: var(--muted);
  font-size: 22px;
}

.tension-link {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}

.tension-link::before,
.tension-link::after {
  background: var(--line-strong);
  content: "";
  height: 1px;
  position: absolute;
  width: 32px;
}

.tension-link::before {
  left: 0;
}

.tension-link::after {
  right: 0;
}

.tension-link span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.tension-icon {
  align-items: center;
  display: flex;
  height: 92px;
  margin-bottom: 22px;
}

.memory-icon {
  gap: 8px;
}

.memory-icon span {
  background: var(--blue-soft);
  border: 2px solid #86bfeb;
  border-radius: 7px;
  height: 70px;
  width: 44px;
}

.memory-icon span:nth-child(2),
.memory-icon span:nth-child(4) {
  background: repeating-linear-gradient(135deg, #f3f6fa 0 8px, #e6ebf3 8px 16px);
  border-color: var(--line-strong);
}

.skew-icon {
  gap: 0;
}

.skew-icon i {
  background: var(--rose-soft);
  border: 2px solid #eea2b2;
  border-radius: 50%;
  height: 34px;
  margin-left: -5px;
  position: relative;
  width: 34px;
}

.skew-icon i::after {
  background: var(--rose);
  content: "";
  height: 2px;
  left: 31px;
  position: absolute;
  top: 14px;
  width: 22px;
}

.skew-icon i:nth-child(2) {
  transform: translateY(-21px);
}

.skew-icon i:nth-child(3) {
  transform: translateY(15px);
}

.skew-icon i:nth-child(4) {
  transform: translateY(-12px);
}

.skew-icon i:last-child::after {
  display: none;
}

/* Demo common */

.demo-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 22px 26px 20px;
}

.demo-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.demo-controls {
  align-items: center;
  display: flex;
  gap: 10px;
}

.step-label {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  margin-right: 4px;
}

.button {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  padding: 12px 16px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: #aab8cb;
  transform: translateY(-1px);
}

.button:focus-visible,
.k-control input:focus-visible {
  outline: 3px solid rgba(0, 120, 212, 0.25);
  outline-offset: 3px;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  min-width: 122px;
}

.button.primary.teal {
  background: var(--teal);
  border-color: var(--teal);
}

/* End of a slide's animation: the tab reads Replay and goes grey so the
   demo colours never suggest there is another step left. */
.button.primary.is-replay {
  background: var(--muted) !important;
  border-color: var(--muted) !important;
  box-shadow: none !important;
}

.demo-status {
  background: #f3f6fb;
  border-left: 3px solid var(--blue);
  border-radius: 7px;
  color: #40506a;
  font-size: 17px;
  font-weight: 600;
  margin-top: 15px;
  min-height: 48px;
  padding: 12px 15px;
}

.row-stream {
  display: flex;
  gap: 8px;
}

.row-stream > span {
  align-items: center;
  background: var(--key-bg, #f5f7fb);
  border: 1px solid var(--key-border, var(--line));
  border-radius: 9px;
  display: flex;
  gap: 8px;
  min-width: 77px;
  padding: 8px 10px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.row-stream b {
  color: var(--key-ink, var(--ink));
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 18px;
}

.row-stream small {
  color: var(--key-ink, var(--muted));
  font-size: 11px;
  opacity: 0.68;
}

.row-stream > span.placed {
  opacity: 0.32;
  transform: scale(0.95);
}

.row-stream > span.processed {
  opacity: 0.48;
  transform: scale(0.97);
}

.row-stream > span.active-row {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(230, 106, 44, 0.12);
  opacity: 1;
  transform: translateY(-2px);
}

.mechanism-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 15px;
}

.mechanism-strip > span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  padding: 0 12px;
  text-align: center;
}

.mechanism-strip > span + span {
  border-left: 1px solid var(--line);
}

.mechanism-strip b {
  color: var(--ink);
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

/* Open addressing demo */

.oa-slide .slide-head > * {
  transition: color 180ms ease;
}

.oa-slide.phase-probe .eyebrow {
  color: var(--orange);
}

.oa-slide.phase-handoff .eyebrow {
  color: var(--teal);
}

.oa-demo {
  border-top: 4px solid var(--blue);
  transition: background 180ms ease, border-color 180ms ease;
}

.oa-demo.mode-handoff {
  background: linear-gradient(180deg, rgba(229, 247, 243, 0.68), rgba(255, 255, 255, 0.94) 27%);
  border-top-color: var(--teal);
}

.oa-demo.mode-probe {
  background: linear-gradient(180deg, rgba(255, 240, 232, 0.72), rgba(255, 255, 255, 0.94) 27%);
  border-top-color: var(--orange);
}

.oa-phase-context {
  align-items: center;
  display: flex;
  gap: 14px;
  min-height: 48px;
}

.oa-phase-badge {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid #86bfeb;
  border-radius: 9px;
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  transition: background 180ms ease, border-color 180ms ease;
}

.oa-phase-badge span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oa-phase-badge strong {
  color: var(--blue-deep);
  font-size: 16px;
  white-space: nowrap;
}

.mode-handoff .oa-phase-badge {
  background: var(--teal-soft);
  border-color: #83d1c8;
}

.mode-handoff .oa-phase-badge strong {
  color: var(--teal-deep);
}

.mode-probe .oa-phase-badge {
  background: var(--orange-soft);
  border-color: #efa47e;
}

.mode-probe .oa-phase-badge strong {
  color: #a84718;
}

.oa-probe-context {
  align-items: center;
  display: none;
  gap: 10px;
}

.oa-probe-context > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oa-probe-context > strong {
  align-items: center;
  background: var(--key-strong, var(--orange));
  border-radius: 50%;
  color: var(--white);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 19px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.oa-probe-context code {
  font-size: 13px;
}

.oa-demo.mode-probe #oaRows,
.oa-demo.mode-probe-complete #oaRows {
  display: none;
}

.oa-demo.mode-probe .oa-probe-context,
.oa-demo.mode-probe-complete .oa-probe-context {
  display: flex;
}

.oa-demo.mode-probe .button.primary {
  background: var(--orange);
  border-color: var(--orange);
}

.oa-demo.mode-handoff .button.primary {
  background: var(--teal);
  border-color: var(--teal);
}

.oa-demo.mode-probe-complete .button.primary {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 8px 18px rgba(15, 159, 145, 0.15);
}

.oa-demo.mode-probe .demo-status {
  border-left-color: var(--orange);
}

.oa-demo.mode-handoff .demo-status {
  border-left-color: var(--teal);
}

.oa-mode-explainer {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid #bcdbf4;
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  display: grid;
  gap: 4px 18px;
  grid-template-columns: 125px auto 1fr;
  margin-top: 15px;
  padding: 13px 18px;
  transition: background 180ms ease, border-color 180ms ease;
}

.oa-mode-explainer > span {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oa-mode-explainer > strong {
  color: var(--ink);
  font-size: 17px;
}

.oa-mode-explainer > p {
  color: var(--muted);
  font-size: 14px;
}

.oa-mode-explainer.mode-handoff {
  background: var(--teal-soft);
  border-color: #a7ded7;
  border-left-color: var(--teal);
}

.oa-mode-explainer.mode-handoff > span {
  color: var(--teal-deep);
}

.oa-mode-explainer.mode-probe {
  background: var(--orange-soft);
  border-color: #f2c8b2;
  border-left-color: var(--orange);
}

.oa-mode-explainer.mode-probe > span {
  color: #a84718;
}

.oa-table {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(17, 1fr);
  position: relative;
  z-index: 1;
}

.oa-table-stage {
  padding-top: 55px;
  position: relative;
}

.oa-jump-links {
  height: 100%;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 3;
}

.oa-jump-arc {
  animation: jump-draw 360ms ease-out both;
  fill: none;
  stroke-dasharray: 7 5;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.oa-jump-arc.build {
  stroke: var(--blue);
}

.oa-jump-arc.handoff {
  stroke: var(--teal);
}

.oa-jump-arc.probe-complete {
  stroke: var(--teal);
}

.oa-jump-arc.probe {
  stroke: var(--orange);
}

.oa-jump-drop {
  stroke-width: 2;
}

.oa-jump-drop.reject {
  stroke: #e88da2;
}

.oa-jump-drop.insert {
  stroke: #60abe4;
}

.oa-jump-drop.match {
  stroke: #6cc7bc;
}

.oa-jump-drop.stop {
  stroke: #9ba7b7;
}

.oa-jump-marker {
  animation: jump-marker-pop 260ms ease-out both;
  stroke: var(--white);
  stroke-width: 3;
}

.oa-jump-marker.reject {
  fill: var(--rose);
}

.oa-jump-marker.insert {
  fill: var(--blue);
}

.oa-jump-marker.match {
  fill: var(--teal);
}

.oa-jump-marker.stop {
  fill: var(--muted);
}

.oa-jump-label {
  dominant-baseline: middle;
  fill: var(--white);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}

@keyframes jump-draw {
  from {
    opacity: 0.25;
    stroke-dashoffset: 36;
  }
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes jump-marker-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
    transform-box: fill-box;
    transform-origin: center;
  }
  to {
    opacity: 1;
    transform: scale(1);
    transform-box: fill-box;
    transform-origin: center;
  }
}

.oa-slot {
  align-items: center;
  background: #f7f9fc;
  border: 2px dashed #ced7e4;
  border-radius: 11px;
  display: flex;
  height: 94px;
  justify-content: center;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.oa-slot > span {
  color: #bbc5d3;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 23px;
  font-weight: 650;
}

.oa-slot > small {
  bottom: 5px;
  color: #8c98a9;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
  position: absolute;
}

.oa-slot.occupied {
  background: var(--key-bg, var(--blue-soft));
  border-color: var(--key-border, var(--key-t-border));
  border-style: solid;
}

.oa-slot.occupied > span {
  color: var(--key-ink, var(--blue-deep));
}

.oa-slot.current {
  box-shadow: 0 0 0 5px rgba(0, 120, 212, 0.13);
  transform: translateY(-5px);
}

.oa-slot.reject {
  border-color: #e88da2;
  box-shadow: 0 0 0 5px rgba(203, 64, 94, 0.11);
}

.oa-slot.match {
  border-color: #75cfc4;
  box-shadow: 0 0 0 5px rgba(15, 159, 145, 0.12);
}

.oa-slot.stop {
  background: #f2f4f8;
  border-color: #8f9bad;
  box-shadow: 0 0 0 5px rgba(101, 115, 138, 0.1);
}

.oa-slot.current > span {
  animation: slot-pop 220ms ease both;
}

@keyframes slot-pop {
  0% { transform: scale(0.8); }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.oa-path-wrap {
  align-items: center;
  display: grid;
  gap: 15px;
  grid-template-columns: 105px 1fr;
  margin-top: 15px;
  min-height: 62px;
}

.path-caption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.oa-path {
  align-items: center;
  display: flex;
  gap: 8px;
}

.path-idle {
  color: #98a3b2;
  font-size: 15px;
}

.path-node {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  display: flex;
  gap: 7px;
  padding: 8px 10px;
}

.path-node b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16px;
}

.path-node small {
  color: var(--key-ink, var(--muted));
  font-size: 11px;
}

.path-node[data-key-tone] small {
  opacity: 0.72;
}

.path-node.reject {
  background: var(--rose-soft);
  border-color: #efa6b5;
  color: var(--rose);
}

.path-node.match {
  background: var(--key-bg, var(--teal-soft));
  border-color: #8bd6cd;
  box-shadow: 0 0 0 3px rgba(15, 159, 145, 0.08);
  color: var(--key-ink, var(--teal-deep));
}

.path-node.insert {
  background: var(--key-bg, var(--orange-soft));
  border-color: var(--key-border, #f0ad89);
  color: var(--key-ink, #a84718);
}

.path-node.stop {
  background: #f1f3f7;
  color: var(--muted);
}

.path-arrow {
  color: #9ca8b8;
  font-size: 20px;
}

/* OA problem slides */

.skew-story {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 230px 50px 1fr;
  margin: 2px 0 30px;
}

.hot-key-stack {
  text-align: center;
}

.hot-key-stack > span {
  background: var(--rose-soft);
  border: 2px solid #e88da2;
  border-radius: 50%;
  color: var(--rose);
  display: inline-flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 20px;
  font-weight: 700;
  height: 54px;
  justify-content: center;
  margin-left: -15px;
  padding-top: 11px;
  width: 54px;
}

.hot-key-stack > span:first-child {
  margin-left: 0;
}

.hot-key-stack p,
.collision-chain p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  margin-top: 11px !important;
  text-transform: uppercase;
}

.story-arrow {
  color: var(--line-strong);
  font-size: 45px;
  text-align: center;
}

.collision-chain {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

.collision-chain > span {
  align-items: center;
  background: var(--orange-soft);
  border: 2px solid #eca27c;
  border-radius: 50%;
  color: #a84718;
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 20px;
  font-weight: 700;
  height: 68px;
  justify-content: center;
  width: 68px;
}

.collision-chain > span.wrong {
  background: var(--rose-soft);
  border-color: #e88da2;
  color: var(--rose);
}

.collision-chain small {
  color: var(--muted);
  font-size: 10px;
}

.collision-chain > i {
  color: var(--orange);
  font-size: 27px;
  font-style: normal;
}

.collision-chain p {
  flex-basis: 100%;
  text-align: center;
}

.cause-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.cause-grid article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rose);
  border-radius: 12px;
  padding: 22px 25px;
}

.cause-grid article:nth-child(2) {
  border-left-color: var(--orange);
}

.cause-grid h3 {
  font-size: 27px;
  margin-bottom: 8px;
}

.cause-grid article > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.memory-contract {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.45fr 0.55fr;
}

.memory-visual {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
}

.memory-array + .memory-array {
  margin-top: 18px;
}

.array-name {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.array-name span {
  color: var(--muted);
  font-size: 14px;
}

.memory-cells {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(20, 1fr);
}

.memory-cells i {
  background: repeating-linear-gradient(135deg, #f2f5f9 0 5px, #e7ecf3 5px 10px);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  height: 54px;
}

.memory-cells i.used {
  align-items: center;
  background: var(--blue-soft);
  border-color: #84beea;
  color: var(--blue);
  display: flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  justify-content: center;
}

.metadata-bar {
  background: repeating-linear-gradient(90deg, #d6e9f8 0 28px, #bfddf4 28px 30px);
  border: 1px solid #83bdea;
  border-radius: 7px;
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 600;
  padding: 13px;
  text-align: center;
}

.memory-equation {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.memory-equation strong {
  color: var(--blue-deep);
  font-size: 31px;
  letter-spacing: -0.02em;
}

.memory-equation > span {
  color: var(--muted);
  font-size: 16px;
  margin: 9px 0;
  text-transform: uppercase;
}

.memory-equation > p:last-child {
  color: var(--muted);
  font-size: 15px;
  margin-top: 18px !important;
}

.residency-line {
  align-items: center;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  margin: 25px auto 0;
  max-width: 900px;
  position: relative;
}

.residency-line span {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 750;
  padding: 9px 16px;
}

.residency-line i {
  background: var(--line-strong);
  height: 2px;
}

.residency-line b {
  bottom: -24px;
  color: var(--rose);
  font-size: 13px;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
}

/* Motivation sequence */

.oa-baseline-message {
  max-width: 1160px;
}

.oa-baseline-message .eyebrow {
  margin-bottom: 30px !important;
}

.oa-baseline-message .oa-baseline-headline {
  font-size: 61px;
  max-width: 1130px;
}

.oa-baseline-headline .cpu-copy {
  color: var(--blue-deep);
}

.oa-baseline-headline .gpu-copy {
  color: var(--teal-deep);
}

.oa-demo-heading {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(31, 53, 88, 0.05);
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  padding: 14px 16px 14px 20px;
  transition: border-color 180ms ease, background 180ms ease;
}

.oa-demo-heading .oa-phase-badge {
  flex: 0 0 auto;
}

.oa-heading-status {
  color: #33445f;
  font-size: 18px;
  font-weight: 650;
}

.oa-slide.phase-handoff .oa-demo-heading {
  background: rgba(229, 247, 243, 0.55);
  border-left-color: var(--teal);
}

.oa-slide.phase-probe-complete .oa-demo-heading {
  background: rgba(229, 247, 243, 0.55);
  border-left-color: var(--teal);
}

.oa-slide.phase-probe .oa-demo-heading {
  background: rgba(255, 240, 232, 0.55);
  border-left-color: var(--orange);
}

.oa-migration {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 150px 1fr;
}

.platform-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 315px;
  padding: 27px 31px;
}

.platform-card h3 {
  font-size: 34px;
  margin-bottom: 25px;
}

.cpu-card {
  border-top: 4px solid var(--blue);
}

.gpu-card {
  background: linear-gradient(145deg, rgba(229, 247, 243, 0.72), rgba(255, 255, 255, 0.94) 55%);
  border-top: 4px solid var(--teal);
}

.gpu-card .card-label {
  color: var(--teal-deep);
}

.cpu-lookup-figure {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 66px 105px 1fr;
}

.lookup-key {
  align-items: center;
  background: var(--blue);
  border-radius: 12px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  height: 68px;
  justify-content: center;
}

.lookup-key b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 25px;
}

.lookup-key small {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lookup-hash {
  align-items: center;
  display: flex;
  gap: 8px;
}

.lookup-hash code {
  font-size: 13px;
  white-space: nowrap;
}

.lookup-hash span {
  color: var(--blue);
  font-size: 25px;
}

.lookup-slots {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(6, 1fr);
}

.lookup-slots i,
.shared-slots i {
  align-items: center;
  background: #f3f6fa;
  border: 1px dashed #bac6d6;
  border-radius: 6px;
  color: var(--muted);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
  font-style: normal;
  height: 65px;
  justify-content: center;
  position: relative;
}

.lookup-slots i.occupied {
  background: var(--rose-soft);
  border-color: #e99aaa;
  border-style: solid;
  color: var(--rose);
}

.lookup-slots i.claimed {
  background: var(--blue-soft);
  border-color: #72b4e7;
  border-style: solid;
  color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.lookup-slots small {
  bottom: 4px;
  color: #929eae;
  font-size: 8px;
  position: absolute;
}

.lookup-path {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 10px;
  grid-column: 3;
  justify-content: center;
  margin-top: -4px;
}

.lookup-path b {
  color: var(--blue);
  font-size: 19px;
}

.gpu-build-figure {
  margin-top: -3px;
}

.gpu-lanes {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.gpu-lanes > span {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.gpu-lanes b {
  align-items: center;
  background: var(--teal-soft);
  border: 2px solid #75cbc1;
  border-radius: 9px;
  color: var(--teal-deep);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16px;
  height: 37px;
  justify-content: center;
  width: 54px;
}

.gpu-lanes i {
  background: var(--teal);
  height: 16px;
  width: 2px;
}

.gpu-lanes small {
  background: var(--teal);
  border-radius: 999px;
  color: var(--white);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  padding: 5px 9px;
}

.shared-table-label {
  align-items: center;
  color: var(--teal-deep);
  display: flex;
  font-size: 12px;
  justify-content: space-around;
  margin: 9px 0 7px;
}

.shared-table-label > span {
  color: #79c9c0;
  font-size: 18px;
}

.shared-table-label code {
  font-size: 11px;
}

.shared-slots {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(8, 1fr);
}

.shared-slots i {
  height: 45px;
}

.shared-slots i.filled {
  background: var(--teal-soft);
  border-color: #76c9bf;
  border-style: solid;
}

.cpu-cores {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 30px;
}

.cpu-cores i {
  background:
    linear-gradient(90deg, transparent 45%, rgba(0, 120, 212, 0.2) 45% 55%, transparent 55%),
    linear-gradient(transparent 45%, rgba(0, 120, 212, 0.2) 45% 55%, transparent 55%),
    var(--blue-soft);
  border: 2px solid #7dbae9;
  border-radius: 9px;
  height: 68px;
}

.gpu-threads {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(8, 1fr);
  margin-bottom: 27px;
}

.gpu-threads i {
  background: var(--teal-soft);
  border: 2px solid #7bcfc5;
  border-radius: 50%;
  height: 29px;
}

.platform-array {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(6, 1fr);
}

.platform-array span {
  background: #f1f4f8;
  border: 1px dashed #b8c4d4;
  border-radius: 6px;
  height: 48px;
}

.platform-array span.filled {
  background: var(--blue-soft);
  border-color: #74b5e8;
  border-style: solid;
}

.gpu-card .platform-array span.filled {
  background: var(--teal-soft);
  border-color: #71c9be;
}

.migration-arrow {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.migration-arrow span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.migration-arrow b {
  color: var(--blue);
  font-size: 60px;
  font-weight: 500;
  line-height: 0.95;
}

.migration-arrow small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  max-width: 100px;
}

.oa-slide .slide-head.compact {
  margin-bottom: 15px;
}

.oa-slide .slide-head h2 {
  font-size: 48px;
}

.oa-demo {
  background: linear-gradient(145deg, rgba(234, 241, 255, 0.72), rgba(255, 255, 255, 0.96) 30%);
  border-color: #d5dfed;
  border-radius: 20px;
  border-top-width: 1px;
  box-shadow: 0 22px 58px rgba(31, 53, 88, 0.09);
  padding: 22px 24px 20px;
}

.oa-demo.mode-handoff {
  background: linear-gradient(145deg, rgba(229, 247, 243, 0.88), rgba(255, 255, 255, 0.96) 34%);
}

.oa-demo.mode-probe-complete {
  background: linear-gradient(145deg, rgba(229, 247, 243, 0.88), rgba(255, 255, 255, 0.96) 34%);
  border-color: #86d0c7;
}

.oa-demo.mode-probe {
  background: linear-gradient(145deg, rgba(255, 240, 232, 0.86), rgba(255, 255, 255, 0.96) 34%);
}

.oa-demo .demo-topline {
  margin-bottom: 20px;
}

.oa-demo .row-stream > span {
  background: var(--key-bg, rgba(255, 255, 255, 0.8));
  border-color: var(--key-border, #d5deeb);
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(31, 53, 88, 0.04);
  min-width: 74px;
  padding: 8px 12px;
}

.oa-demo .button {
  border-radius: 10px;
  padding: 12px 18px;
}

.oa-demo .button.primary {
  box-shadow: 0 8px 18px rgba(0, 120, 212, 0.16);
}

.oa-demo.mode-probe .button.primary {
  box-shadow: 0 8px 18px rgba(230, 106, 44, 0.15);
}

.oa-demo .oa-slot {
  background: var(--key-bg, rgba(248, 250, 253, 0.86));
  border-color: var(--key-border, #ccd7e5);
  border-radius: 12px;
}

.oa-slide.phase-handoff .oa-phase-badge {
  background: var(--teal-soft);
  border-color: #83d1c8;
}

.oa-slide.phase-handoff .oa-phase-badge strong,
.oa-slide.phase-probe-complete .oa-phase-badge strong {
  color: var(--teal-deep);
}

.oa-slide.phase-probe-complete .oa-phase-badge {
  background: var(--teal-soft);
  border-color: #83d1c8;
}

.oa-slide.phase-probe .oa-phase-badge {
  background: var(--orange-soft);
  border-color: #efa47e;
}

.oa-slide.phase-probe .oa-phase-badge strong {
  color: #a84718;
}

.oa-demo .path-node.insert {
  background: var(--key-bg, var(--blue-soft));
  border-color: var(--key-border, var(--key-t-border));
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.08);
  color: var(--key-ink, var(--blue-deep));
}

.oa-demo .demo-status {
  font-size: 16px;
  min-height: 45px;
  padding: 11px 15px;
}

.cas-funnel {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 25px;
  grid-template-columns: 280px 115px 205px 1fr;
  padding: 30px 34px;
}

.thread-swarm {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(4, 1fr);
}

.thread-swarm span {
  align-items: center;
  background: var(--rose-soft);
  border: 2px solid #e993a6;
  border-radius: 50%;
  color: var(--rose);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 19px;
  font-weight: 700;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.thread-swarm small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  grid-column: 1 / -1;
  letter-spacing: 0.08em;
  margin-top: 3px;
  text-align: center;
  text-transform: uppercase;
}

.funnel-lines {
  height: 150px;
  position: relative;
}

.funnel-lines i {
  background: linear-gradient(90deg, #e8a0af, var(--rose));
  height: 2px;
  left: 0;
  position: absolute;
  top: 74px;
  transform-origin: right center;
  width: 112px;
}

.funnel-lines i:nth-child(1) { transform: rotate(25deg); }
.funnel-lines i:nth-child(2) { transform: rotate(8deg); }
.funnel-lines i:nth-child(3) { transform: rotate(-8deg); }
.funnel-lines i:nth-child(4) { transform: rotate(-25deg); }

.cas-gate {
  align-items: center;
  background: linear-gradient(145deg, var(--rose-soft), #fff);
  border: 2px solid #e5869c;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(203, 64, 94, 0.11);
  display: flex;
  flex-direction: column;
  min-height: 145px;
  justify-content: center;
  text-align: center;
}

.cas-gate span {
  color: var(--rose);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 17px;
  font-weight: 650;
}

.cas-gate strong {
  color: var(--ink);
  font-size: 27px;
  margin-top: 8px;
}

.cas-outcome {
  display: grid;
  gap: 13px;
  grid-template-columns: 1fr 1fr;
}

.cas-outcome > div {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  min-height: 145px;
  justify-content: center;
}

.cas-outcome strong {
  font-size: 54px;
  line-height: 1;
}

.cas-outcome span {
  font-size: 16px;
  font-weight: 750;
  margin-top: 7px;
}

.cas-outcome .winner {
  background: var(--teal-soft);
  border-color: #82d0c7;
  color: var(--teal-deep);
}

.cas-outcome .retry {
  background: var(--rose-soft);
  border-color: #eca0b0;
  color: var(--rose);
}

.parallelism-verdict {
  align-items: center;
  background: #f1f4f9;
  border-radius: 12px;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 22px auto 0;
  max-width: 830px;
  padding: 16px 24px;
}

.parallelism-verdict span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.parallelism-verdict b {
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 29px;
}

.parallelism-verdict i {
  color: var(--rose);
  font-size: 28px;
  font-style: normal;
}

.rigid-memory-story {
  align-items: center;
  display: grid;
  gap: 25px;
  grid-template-columns: 1.18fr 70px 0.82fr;
}

.fixed-table-card,
.hbm-budget-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 300px;
  padding: 28px 30px;
}

.fixed-table-card {
  border-top: 4px solid var(--blue);
}

.fixed-table-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.fixed-table-head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fixed-table-head strong {
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 19px;
}

.fixed-slots {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(16, 1fr);
}

.fixed-slots i {
  background: repeating-linear-gradient(135deg, #f4f6f9 0 5px, #e7ecf3 5px 10px);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  height: 68px;
}

.fixed-slots i.used {
  background: var(--blue-soft);
  border-color: #73b5e7;
}

.locked-scale {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr 18px auto;
  margin-top: 30px;
}

.locked-scale span {
  color: #8a96a7;
  font-size: 12px;
}

.locked-scale b {
  background: var(--line-strong);
  height: 3px;
}

.locked-scale i {
  background: var(--blue);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--blue);
  height: 17px;
  margin-left: -22px;
  width: 17px;
}

.fixed-table-card > p {
  color: var(--rose);
  font-size: 15px;
  font-weight: 750;
  margin-top: 12px !important;
  text-align: center;
}

.memory-pressure-arrow {
  color: var(--line-strong);
  font-size: 56px;
  text-align: center;
}

.hbm-budget-card {
  border-top: 4px solid var(--orange);
}

.hbm-budget-card .card-label {
  color: var(--orange);
}

.hbm-stack {
  border: 2px solid #b8c4d4;
  border-radius: 12px;
  display: flex;
  height: 165px;
  overflow: hidden;
}

.hbm-stack span {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 750;
  justify-content: center;
  text-align: center;
}

.hbm-stack b {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 25px;
  margin-top: 5px;
}

.table-share {
  background: var(--blue-soft);
  color: var(--blue-deep);
  width: 68%;
}

.work-share {
  background: var(--orange-soft);
  color: #a84718;
  width: 25%;
  writing-mode: vertical-rl;
}

.free-share {
  background: #f2f4f7;
  color: var(--muted);
  width: 7%;
  writing-mode: vertical-rl;
}

.hbm-budget-card > strong {
  color: var(--rose);
  display: block;
  font-size: 17px;
  margin-top: 20px;
  text-align: center;
}

.motivation-handoff {
  align-items: center;
  background: linear-gradient(90deg, var(--teal-soft), rgba(255, 255, 255, 0.92));
  border: 1px solid #9fdcd5;
  border-left: 5px solid var(--teal);
  border-radius: 12px;
  display: flex;
  gap: 25px;
  margin-top: 23px;
  padding: 17px 22px;
}

.motivation-handoff span {
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.motivation-handoff strong {
  color: var(--ink);
  font-size: 22px;
}

/* Open-addressing shortcomings */

.oa-continuation-slide .slide-head.compact {
  margin-bottom: 16px;
}

.oa-continuation-slide .slide-head h2 {
  font-size: 48px;
}

.oa-continuation-slide .slide-head .lead {
  max-width: 1160px;
}

.skew-table-slide .eyebrow {
  color: var(--rose);
}

.memory-table-slide .eyebrow {
  color: var(--teal-deep);
}

.oa-continuation-demo {
  padding: 22px 24px 20px;
}

.oa-continuation-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 48px;
}

.oa-static-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.oa-static-capacity {
  color: var(--rose);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 18px;
}

.oa-continuation-table-stage {
  padding-top: 55px;
}

.memory-table-slide .oa-continuation-table-stage {
  padding-top: 0;
}

.oa-cost-strip {
  align-items: stretch;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 190px 1fr 1fr;
  margin-top: 18px;
  padding-top: 16px;
}

.oa-cost-strip > .path-caption {
  align-self: center;
  line-height: 1.4;
  max-width: 145px;
}

.oa-cost-strip article {
  align-items: baseline;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 4px 14px;
  grid-template-columns: auto 1fr;
  padding: 4px 22px;
}

.oa-cost-strip article > span {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oa-cost-strip article > strong {
  color: var(--ink);
  font-size: 20px;
}

.oa-cost-strip .probe-cost > span {
  color: #a84718;
}

.oa-cost-strip-top {
  border-bottom: 1px solid var(--line);
  border-top: 0;
  margin: 0 0 17px;
  padding: 0 0 16px;
}

.oa-chain-summary {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 13px;
  padding-top: 12px;
}

.oa-chain-summary > span {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 9px;
  font-size: 12px;
}

.oa-chain-summary b {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.oa-chain-summary code {
  font-size: 13px;
}

.oa-chain-summary > span[data-key-tone] b,
.oa-chain-summary > span[data-key-tone] code {
  color: var(--key-ink);
}

.oa-footprint-bracket {
  align-items: center;
  color: var(--rose);
  display: grid;
  font-size: 12px;
  font-weight: 750;
  gap: 12px;
  grid-template-columns: 1fr auto 1fr;
  margin: 11px 3px 0;
  text-align: center;
  text-transform: uppercase;
}

.oa-footprint-bracket i {
  border-bottom: 2px solid #d77c90;
  height: 8px;
  position: relative;
}

.oa-footprint-bracket i:first-child::before,
.oa-footprint-bracket i:last-child::after {
  border-left: 2px solid #d77c90;
  bottom: -2px;
  content: "";
  height: 10px;
  position: absolute;
}

.oa-footprint-bracket i:first-child::before {
  left: 0;
}

.oa-footprint-bracket i:last-child::after {
  right: 0;
}

.oa-memory-strip {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 17px;
  grid-template-columns: auto auto 1fr auto;
  margin-top: 15px;
  padding: 16px 8px 2px;
}

.oa-memory-strip > span {
  color: #a84718;
  font-size: 17px;
  font-weight: 750;
}

.oa-memory-strip > i {
  color: var(--line-strong);
  font-size: 27px;
  font-style: normal;
}

.oa-memory-strip > strong {
  color: var(--ink);
  font-size: 20px;
}

.oa-memory-strip > small {
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Rubberband ingredients */

.rubberband-intro-slide {
  background:
    radial-gradient(circle at 24% 48%, rgba(15, 159, 145, 0.08), transparent 28%),
    var(--paper) !important;
}

.rb-intro-layout {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: 0.72fr 1.28fr;
  min-height: 620px;
}

.rb-intro-mark {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rb-intro-mark svg {
  filter: drop-shadow(0 18px 30px rgba(15, 159, 145, 0.15));
  overflow: visible;
  width: 360px;
}

.rb-intro-copy h2 {
  font-size: 61px;
  line-height: 1.03;
  margin-top: 12px !important;
}

.rb-intro-copy h2 span {
  color: var(--teal-deep);
}

.rb-ingredients {
  margin-top: 34px;
}

.rb-ingredients article {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 58px 1fr;
  padding: 18px 0;
}

.rb-ingredients article:last-child {
  border-bottom: 1px solid var(--line);
}

.rb-ingredients article > strong {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid #86bfeb;
  border-radius: 50%;
  color: var(--blue-deep);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.rb-ingredients article.physical > strong {
  background: var(--teal-soft);
  border-color: #83d1c8;
  color: var(--teal-deep);
}

.rb-ingredients small {
  color: var(--blue);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rb-ingredients article.physical small {
  color: var(--teal-deep);
}

.rb-ingredients h3 {
  font-size: 29px;
  margin-top: 3px;
}

.rb-ingredients p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
  margin-top: 5px !important;
}

/* Equality rewrite */

.equality-slide .slide-head {
  margin-bottom: 22px;
}

.equality-slide .rewrite-stage {
  margin-bottom: 14px;
}

.equality-slide .plan {
  min-height: 300px;
  padding: 20px;
}

.rewrite-stage {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 120px 1fr;
  margin: 3px auto 22px;
  max-width: 1080px;
}

.plan {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 340px;
  padding: 24px;
}

.plan.before {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-node,
.filter-node {
  background: var(--blue-soft);
  border: 2px solid #74b6e8;
  border-radius: 12px;
  padding: 17px;
  text-align: center;
}

.plan-node span,
.filter-node span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.plan-node strong,
.filter-node strong {
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 27px;
}

.plan-node.approximate {
  background: var(--teal-soft);
  border-color: #75cfc4;
}

.plan-node.approximate strong {
  color: var(--teal-deep);
}

.filter-node {
  background: var(--orange-soft);
  border-color: #efa47e;
}

.filter-node strong {
  color: #a84718;
}

.plan-connector {
  color: var(--muted);
  font-size: 28px;
  height: 34px;
  text-align: center;
}

.plan-inputs {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 15px;
}

.plan-inputs span {
  background: #f3f5f9;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
  padding: 10px;
  text-align: center;
}

.rewrite-arrow {
  align-items: center;
  color: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rewrite-arrow span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rewrite-arrow b {
  font-size: 54px;
  line-height: 1;
}

.identity {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.identity code {
  background: var(--white);
  box-shadow: 0 8px 25px rgba(31, 53, 88, 0.06);
  font-size: 23px;
  padding: 12px 17px;
}

.identity > span {
  color: var(--teal);
  font-size: 28px;
  font-weight: 800;
}

.equality-slide .identity code {
  font-size: 21px;
  padding: 10px 15px;
}

.phi-endpoints {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px auto 0;
  max-width: 1140px;
}

.phi-endpoints article {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  padding: 12px 16px;
  text-align: center;
}

.phi-endpoints article.constant-endpoint {
  border-left-color: var(--teal);
}

.phi-endpoints article.tunable-endpoint {
  border-left-color: var(--orange);
}

.phi-map {
  text-align: center;
}

.phi-map code {
  color: var(--blue-deep);
  display: block;
  font-size: 19px;
  font-weight: 700;
}

.constant-endpoint .phi-map code {
  color: var(--teal-deep);
}

.tunable-endpoint .phi-map code {
  color: var(--orange);
}

.phi-map small {
  color: var(--muted);
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  margin-top: 4px;
}

.phi-endpoints article > div:last-child > strong {
  color: var(--ink);
  font-size: 20px;
}

.phi-endpoints article > div:last-child > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  margin-top: 3px !important;
}

.phi-endpoints article > div:last-child code {
  font-size: 12px;
}

/* CSR layout */

.csr-layout-slide .slide-head {
  margin-bottom: 0;
}

.csr-layout-demo {
  margin: 22px auto 0;
  max-width: 1080px;
}

.csr-story-controls {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 16px auto 0;
  max-width: 1006px;
  min-height: 46px;
  padding: 7px 0;
  width: 1006px;
}

.csr-story-controls > p {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  line-height: 1.35;
  margin: 0 !important;
}

.csr-story-controls > p::before {
  background: var(--blue);
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.csr-story-controls .demo-controls {
  gap: 8px;
}

.csr-story-controls .button {
  border-radius: 999px;
  font-size: 13px;
  padding: 9px 13px;
}

.csr-story-controls .button.primary {
  min-width: 94px;
}

.csr-story-controls.is-probe > p::before {
  animation: csr-probe-dot 900ms ease-in-out infinite alternate;
  background: var(--orange);
}

.csr-story-controls.is-probe .button.primary {
  background: var(--orange);
  border-color: var(--orange);
}

.csr-story-demo {
  margin-top: 18px;
}

.csr-story-layer {
  opacity: 0;
  transition: opacity 300ms ease, visibility 300ms;
  visibility: hidden;
}

.csr-story-layer.is-shown {
  opacity: 1;
  visibility: visible;
}

.csr-array-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 74px 916px;
  justify-content: center;
}

.csr-array-label {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.csr-offset-cells,
.csr-rowid-cells {
  display: grid;
  width: 916px;
}

.csr-offset-cells {
  grid-template-columns: repeat(6, 84px);
  justify-content: space-between;
}

.csr-rowid-cells {
  gap: 12px;
  grid-template-columns: repeat(8, 104px);
  position: relative;
}

.csr-offset-cells i {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid #aed4f1;
  border-radius: 9px;
  color: var(--blue-deep);
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-style: normal;
  height: 48px;
  justify-content: center;
  position: relative;
}

.csr-offset-cells i.active {
  background: var(--orange-soft);
  border-color: #efa47e;
  box-shadow: 0 0 0 4px rgba(230, 106, 44, 0.08);
  color: #a84718;
}

.csr-offset-cells b {
  font-size: 18px;
}

.csr-offset-cells small {
  bottom: 2px;
  color: #8693a5;
  font-size: 8px;
  position: absolute;
}

.csr-bucket-guides {
  display: grid;
  gap: 16px;
  grid-template-columns: 74px 916px;
  justify-content: center;
  margin: 7px 0 6px;
}

.csr-bucket-guides > div {
  display: grid;
  gap: 12px;
  grid-template-columns: 104px 104px 220px 452px;
}

.csr-bucket-guides i {
  border-top: 2px solid var(--bucket-border, #c8d3e3);
  color: var(--bucket-ink, var(--muted));
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-style: normal;
  padding-top: 4px;
  text-align: center;
}

.csr-bucket-guides i.active {
  animation: csr-guide-pulse 950ms ease-in-out infinite alternate;
  border-top-color: var(--orange);
  color: #a84718;
}

.csr-rowid-cells .oa-slot {
  border-radius: 10px;
  height: 96px;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  z-index: 1;
}

.csr-rowid-cells .oa-slot > span {
  font-size: 25px;
}

.csr-rowid-cells .oa-slot > small {
  bottom: 5px;
  font-size: 9px;
}

.csr-layout-demo [data-bucket-tone="blue"] {
  --bucket-bg: var(--key-t-bg);
  --bucket-border: var(--key-t-border);
  --bucket-ink: var(--key-t-ink);
}

.csr-layout-demo [data-bucket-tone="teal"] {
  --bucket-bg: var(--key-u-bg);
  --bucket-border: var(--key-u-border);
  --bucket-ink: var(--key-u-ink);
}

.csr-layout-demo [data-bucket-tone="violet"] {
  --bucket-bg: var(--key-w-bg);
  --bucket-border: var(--key-w-border);
  --bucket-ink: var(--key-w-ink);
}

.csr-layout-demo [data-bucket-tone="amber"] {
  --bucket-bg: var(--key-v-bg);
  --bucket-border: var(--key-v-border);
  --bucket-ink: var(--key-v-ink);
}

.csr-layout-demo [data-bucket-tone="merged"] {
  --bucket-bg: var(--key-mix-bg);
  --bucket-border: var(--key-mix-border);
  --bucket-ink: var(--key-mix-ink);
}

.csr-layout-demo .oa-slot.occupied {
  background: var(--key-bg, var(--bucket-bg, #f2f5f9));
  border-color: var(--key-border, var(--bucket-border, #c5d0df));
  border-style: solid;
}

.csr-layout-demo .oa-slot.occupied > span {
  color: var(--key-ink, var(--bucket-ink, var(--ink)));
}

.csr-density-bracket {
  display: grid;
  gap: 16px;
  grid-template-columns: 74px 916px;
  justify-content: center;
  margin-top: 7px;
}

.csr-density-bracket > div {
  align-items: center;
  color: var(--muted);
  display: grid;
  font-size: 11px;
  font-weight: 800;
  gap: 12px;
  grid-template-columns: 1fr auto 1fr;
  text-align: center;
  text-transform: uppercase;
}

.csr-density-bracket i {
  border-bottom: 2px solid #c8d3e3;
  height: 7px;
}

.csr-rowid-cells::after {
  border: 2px solid var(--orange);
  border-radius: 14px;
  bottom: -7px;
  box-shadow: 0 0 0 0 rgba(230, 106, 44, 0);
  content: "";
  left: var(--scan-left);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -7px;
  transform: scaleX(0.94);
  transform-origin: left center;
  width: var(--scan-width);
  z-index: 3;
}

#csrLayoutRows {
  --scan-left: 232px;
  --scan-width: 220px;
}

#collapsedCsrRows {
  --scan-left: 116px;
  --scan-width: 336px;
}

.csr-rowid-cells.is-scanning::after {
  animation: csr-scan-window 1.25s cubic-bezier(0.22, 0.85, 0.28, 1) both;
}

.csr-rowid-cells [data-scan-order="0"] {
  --scan-delay: 80ms;
}

.csr-rowid-cells [data-scan-order="1"] {
  --scan-delay: 260ms;
}

.csr-rowid-cells [data-scan-order="2"] {
  --scan-delay: 440ms;
}

.csr-rowid-cells [data-scan-order="3"] {
  --scan-delay: 620ms;
}

@keyframes csr-probe-dot {
  to {
    box-shadow: 0 0 0 6px rgba(230, 106, 44, 0.12);
  }
}

@keyframes csr-guide-pulse {
  to {
    box-shadow: 0 -3px 0 rgba(230, 106, 44, 0.24);
    text-shadow: 0 0 14px rgba(230, 106, 44, 0.25);
  }
}

@keyframes csr-scan-window {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 106, 44, 0);
    opacity: 0;
    transform: scaleX(0.94);
  }
  24% {
    box-shadow: 0 0 0 5px rgba(230, 106, 44, 0.08);
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(230, 106, 44, 0.06);
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Build demo */

.build-phases {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  margin-bottom: 22px;
}

.build-phases > div {
  align-items: center;
  background: #f5f7fa;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 0 10px;
  grid-template-columns: 34px 1fr;
  min-height: 65px;
  padding: 9px 12px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.build-phases > div > b {
  align-items: center;
  background: #dfe6ef;
  border-radius: 50%;
  color: var(--muted);
  display: flex;
  font-size: 15px;
  grid-row: 1 / 3;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.build-phases > div > span {
  font-size: 17px;
  font-weight: 800;
}

.build-phases > div > small {
  color: var(--muted);
  font-size: 11px;
}

.build-phases > i {
  color: var(--line-strong);
  font-size: 20px;
  font-style: normal;
}

.build-phases > div.active {
  background: var(--teal-soft);
  border-color: #76cfc4;
  transform: translateY(-2px);
}

.build-phases > div.active > b,
.build-phases > div.done > b {
  background: var(--teal);
  color: var(--white);
}

.build-phases > div.done {
  border-color: #aedfd9;
}

.array-workbench {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
}

.array-workbench label,
.probe-workbench label {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
  text-align: center;
}

.work-array {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(5, 1fr);
}

.work-array > span {
  align-items: center;
  background: var(--blue-soft);
  border: 2px solid #8ac1eb;
  border-radius: 9px;
  color: var(--blue-deep);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 23px;
  font-weight: 650;
  height: 70px;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.work-array > span.changed {
  animation: value-pop 240ms ease both;
  background: var(--teal-soft);
  border-color: #70cabe;
  color: var(--teal-deep);
}

.work-array > span.changed.change-count {
  background: var(--blue-soft);
  border-color: #5ca9e4;
  color: var(--blue-deep);
  box-shadow: 0 0 0 5px rgba(0, 120, 212, 0.11);
}

.work-array > span.changed.change-scan {
  background: var(--orange-soft);
  border-color: #ee9f74;
  color: #a84718;
  box-shadow: 0 0 0 5px rgba(230, 106, 44, 0.11);
}

.work-array > span.changed.change-scatter {
  box-shadow: 0 0 0 5px rgba(15, 159, 145, 0.11);
}

@keyframes value-pop {
  0% { transform: scale(0.86); }
  70% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.work-array.rowids > span {
  background: #f6f8fb;
  border-color: var(--line);
  color: #a2adbb;
}

.work-array.rowids > span.filled {
  background: var(--teal-soft);
  border-color: #78cdc3;
  color: var(--teal-deep);
}

.work-array.rowids > span.write-active {
  animation: value-pop 240ms ease both;
  box-shadow: 0 0 0 5px rgba(15, 159, 145, 0.12);
  transform: translateY(-3px);
}

.array-indices {
  color: #98a4b3;
  display: grid;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  gap: 7px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 4px;
  text-align: center;
}

.rb-build-demo .demo-status,
.rb-probe-demo .demo-status {
  border-left-color: var(--teal);
}

/* Probe demo */

.probe-target {
  align-items: center;
  display: flex;
  gap: 10px;
}

.probe-target > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.probe-target > strong {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 23px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.probe-target > code {
  font-size: 14px;
}

.probe-workbench {
  align-items: end;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 150px 1fr;
}

.compact-array > span {
  height: 64px;
}

.probe-offset {
  animation: value-pop 240ms ease both;
  background: var(--orange-soft) !important;
  border-color: #efa47e !important;
  color: #a84718 !important;
}

.slice-arrow {
  align-self: center;
  color: var(--muted);
  opacity: 0.22;
  text-align: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.slice-arrow.active {
  opacity: 1;
  transform: translateY(-3px);
}

.slice-arrow span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slice-arrow b {
  color: var(--orange);
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 24px;
  margin-top: 6px;
}

.probe-rowids > span {
  flex-direction: column;
}

.probe-rowids small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}

.probe-rowids > span.in-slice {
  background: #fff8f2;
  border-color: #f3c2a9;
  color: #9e5b38;
}

.probe-rowids > span.scanning {
  box-shadow: 0 0 0 5px rgba(230, 106, 44, 0.14);
  transform: translateY(-5px);
}

.probe-rowids > span.rejected {
  background: var(--rose-soft);
  border-color: #e994a7;
  color: var(--rose);
  opacity: 0.65;
  text-decoration: line-through;
}

.probe-rowids > span.accepted {
  background: var(--teal-soft);
  border-color: #70cabe;
  color: var(--teal-deep);
}

.probe-result {
  align-items: center;
  display: flex;
  gap: 13px;
  margin-top: 17px;
  min-height: 42px;
}

.probe-result > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.probe-result > div {
  display: flex;
  gap: 6px;
}

.probe-result i {
  background: var(--teal-soft);
  border: 1px solid #78cdc3;
  border-radius: 6px;
  color: var(--teal-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  font-style: normal;
  font-weight: 650;
  padding: 6px 9px;
}

.probe-result i:only-child:first-child {
  background: transparent;
  border-color: transparent;
  color: #a1acb9;
}

/* Rubberband skew */

.skew-pipeline {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.25fr 42px 0.72fr 42px 1.4fr;
  margin: 16px 0 30px;
}

.skew-input,
.wide-slice,
.useful-count {
  text-align: center;
}

.skew-input > div,
.wide-slice > div {
  display: flex;
  justify-content: center;
}

.skew-input i,
.wide-slice i {
  align-items: center;
  background: var(--teal-soft);
  border: 2px solid #72cbbf;
  color: var(--teal-deep);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.skew-input i {
  border-radius: 50%;
  margin-left: -12px;
}

.skew-input i:first-child {
  margin-left: 0;
}

.wide-slice i {
  border-left-width: 0;
}

.wide-slice i:first-child {
  border-left-width: 2px;
  border-radius: 8px 0 0 8px;
}

.wide-slice i:last-child {
  border-radius: 0 8px 8px 0;
}

.skew-input > span,
.wide-slice > span,
.useful-count > span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 750;
  margin-top: 9px;
  text-transform: uppercase;
}

.pipeline-arrow {
  color: var(--line-strong);
  font-size: 36px;
  text-align: center;
}

.useful-count {
  background: var(--white);
  border: 1px solid #a9dfd8;
  border-radius: 14px;
  padding: 19px 10px;
}

.useful-count strong {
  color: var(--teal);
  display: block;
  font-size: 47px;
  line-height: 1;
}

.useful-count small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 5px;
}

.cooperative-scan {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 25px;
  max-width: 900px;
  padding: 17px 22px;
}

.lane {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 35px 1fr 1fr;
}

.lane b {
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
}

.lane span {
  background: linear-gradient(90deg, var(--teal), #75d2c8);
  border-radius: 4px;
  height: 15px;
}

.cooperative-scan p {
  color: var(--muted);
  font-size: 12px;
  grid-column: 1 / -1;
  margin-top: 3px !important;
  text-align: center;
}

.compact-cause article {
  padding: 17px 22px;
}

.compact-cause h3 {
  font-size: 23px;
}

/* Results */

.memory-results {
  align-items: stretch;
  display: grid;
  gap: 55px;
  grid-template-columns: 1.35fr 0.65fr;
}

.memory-bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.result-label {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.result-label span {
  font-size: 17px;
  font-weight: 750;
}

.result-label strong {
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 22px;
}

.bar-track {
  background: #e6ebf2;
  border-radius: 999px;
  height: 28px;
  margin: 6px 0 3px;
  overflow: hidden;
}

.bar-track i {
  background: #9aa7b8;
  border-radius: 999px;
  display: block;
  height: 100%;
}

.result-bar.default .bar-track i {
  background: var(--blue);
}

.result-bar.constrained .bar-track i {
  background: var(--teal);
}

.result-bar > small {
  color: var(--muted);
  font-size: 12px;
}

.memory-reading {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.floor-diagram {
  display: flex;
  height: 85px;
  margin-bottom: 25px;
  width: 100%;
}

.floor-diagram span {
  align-items: center;
  color: var(--white);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
}

.floor-payload {
  background: var(--teal);
  border-radius: 8px 0 0 8px;
  flex: 3;
}

.floor-index {
  background: var(--blue);
  border-radius: 0 8px 8px 0;
  flex: 2;
}

.memory-reading p {
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.memory-reading b {
  color: var(--ink);
}

.tradeoff-layout {
  align-items: stretch;
  display: grid;
  gap: 32px;
  grid-template-columns: 1.45fr 0.55fr;
}

.tradeoff-chart {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 17px 7px;
}

.tradeoff-chart svg {
  display: block;
  height: 395px;
  width: 100%;
}

.chart-grid line {
  stroke: #e4e9f0;
  stroke-width: 1;
}

.chart-grid line.parity {
  stroke: #98a5b6;
  stroke-dasharray: 6 5;
  stroke-width: 2;
}

.chart-axis text {
  fill: #8390a2;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  text-anchor: end;
}

.chart-axis text.axis-title {
  font-weight: 700;
  text-anchor: middle;
}

.series {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.series.uniform {
  stroke: var(--rose);
}

.series.skew {
  stroke: var(--teal);
}

.series-dots.uniform circle {
  fill: var(--rose);
}

.series-dots.skew circle {
  fill: var(--teal);
}

.series-label {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.skew-label {
  fill: var(--teal-deep);
}

.uniform-label {
  fill: var(--rose);
}

.parity-label {
  fill: #7c899b;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.tradeoff-reading {
  display: grid;
  gap: 10px;
}

.tradeoff-reading article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 11px;
  padding: 15px 18px;
}

.tradeoff-reading article:nth-child(2) {
  border-left-color: var(--rose);
}

.tradeoff-reading article.positive {
  border-left-color: var(--teal);
}

.tradeoff-reading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tradeoff-reading h3 {
  font-size: 23px;
  margin: 4px 0;
}

.tradeoff-reading p {
  color: var(--muted);
  font-size: 14px;
}

.evidence-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr 0.8fr;
}

.evidence-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 15px;
  min-height: 350px;
  padding: 25px;
}

.evidence-card:nth-child(2) {
  border-top-color: var(--teal);
}

.evidence-card.skew-evidence {
  border-top-color: var(--orange);
}

.evidence-metric {
  align-items: baseline;
  display: flex;
  gap: 12px;
  margin-top: 27px;
}

.evidence-metric strong {
  color: var(--blue-deep);
  font-size: 38px;
  letter-spacing: -0.035em;
}

.evidence-card:nth-child(2) .evidence-metric strong {
  color: var(--teal-deep);
}

.evidence-card.skew-evidence .evidence-metric strong {
  color: #b34d1b;
}

.evidence-metric span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.evidence-metric.secondary {
  margin-top: 10px;
}

.evidence-metric.secondary strong {
  font-size: 28px;
}

.evidence-card > p:last-child {
  color: var(--muted);
  font-size: 16px;
  margin-top: 28px !important;
}

.honest-boundary {
  background: var(--rose-soft);
  border: 1px solid #efb7c3;
  border-radius: 10px;
  color: #7e3444;
  font-size: 16px;
  margin-top: 18px;
  padding: 12px 16px;
  text-align: center;
}

/* Closing */

.closing-slide {
  background:
    radial-gradient(circle at 16% 40%, rgba(15, 159, 145, 0.07), transparent 25%),
    var(--paper) !important;
}

.closing-layout {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: 0.52fr 1.48fr;
}

.closing-mark svg {
  filter: drop-shadow(0 14px 24px rgba(15, 159, 145, 0.14));
  overflow: visible;
  width: 100%;
}

.closing-copy h2 span {
  color: var(--teal-deep);
}

.closing-copy .lead {
  max-width: 800px;
}

.closing-chain {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 13px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  margin-top: 45px;
  padding: 21px 25px;
}

.closing-chain span {
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.closing-chain b {
  color: var(--ink);
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.closing-chain i {
  color: var(--line-strong);
  font-size: 25px;
  font-style: normal;
}

.thanks {
  align-items: baseline;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 37px;
}

.thanks strong {
  color: var(--blue);
  font-size: 24px;
}

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

/* Reference-inspired build and evaluation sequence */

.reveal .slides section.verdict-slide,
.reveal .slides section.track-slide,
.reveal .slides section.tradeoff-slide,
.reveal .slides section.setup-slide,
.reveal .slides section.chart-slide {
  justify-content: flex-start;
  padding-top: 238px;
}

.demo-heading {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(31, 53, 88, 0.05);
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  padding: 14px 16px 14px 20px;
}

.track-slide .demo-heading,
.track-slide .track-demo {
  margin-left: auto;
  margin-right: auto;
  width: 1080px;
}

.heading-status {
  color: #33445f;
  font-size: 18px;
  font-weight: 650;
}

.phase-badge {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid #86bfeb;
  border-radius: 9px;
  display: flex;
  padding: 8px 12px;
}

.phase-badge strong {
  color: var(--blue-deep);
  font-size: 16px;
  white-space: nowrap;
}

.phase-badge.scan {
  background: var(--orange-soft);
  border-color: #efa47e;
}

.phase-badge.scan strong {
  color: #a84718;
}

.phase-badge.scatter,
.phase-badge.done,
.phase-badge.probe {
  background: var(--teal-soft);
  border-color: #83d1c8;
}

.phase-badge.scatter strong,
.phase-badge.done strong,
.phase-badge.probe strong {
  color: var(--teal-deep);
}

.track-demo {
  background: linear-gradient(145deg, rgba(234, 241, 255, 0.72), rgba(255, 255, 255, 0.96) 30%);
  border-color: #d5dfed;
  border-radius: 20px;
  box-shadow: 0 22px 58px rgba(31, 53, 88, 0.09);
  padding: 22px 26px 18px;
  transition: background 180ms ease, border-color 180ms ease;
}

.track-demo.mode-scan {
  background: linear-gradient(145deg, rgba(255, 240, 232, 0.8), rgba(255, 255, 255, 0.96) 34%);
}

.track-demo.mode-scatter,
.track-demo.mode-done,
.track-demo.mode-probe {
  background: linear-gradient(145deg, rgba(229, 247, 243, 0.86), rgba(255, 255, 255, 0.96) 34%);
}

.track-demo.mode-done,
.track-demo.mode-probe {
  border-color: #a9dcd4;
}

.track-demo.mode-scan .button.primary {
  background: var(--orange);
  border-color: var(--orange);
}

.track-demo.mode-scatter .button.primary,
.track-demo.mode-done .button.primary,
.track-demo.mode-probe .button.primary {
  background: var(--teal);
  border-color: var(--teal);
}

#probeSlide .demo-heading {
  background: rgba(229, 247, 243, 0.5);
  border-left-color: var(--teal);
}

.track-slide .demo-topline {
  margin-bottom: 8px;
}

.track-slide .row-stream > span {
  border-radius: 999px;
  min-width: 74px;
  padding: 8px 12px;
}

.probe-context {
  align-items: center;
  display: flex;
  gap: 10px;
}

.probe-context > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.probe-context > strong {
  align-items: center;
  background: var(--key-strong, var(--teal));
  border-radius: 50%;
  color: var(--white);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 19px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.probe-context code {
  font-size: 13px;
}

.track-stage {
  margin: 0 auto;
  padding-top: 42px;
  position: relative;
  width: 916px;
}

.jump-links {
  height: 100%;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 3;
}

.jump-arc {
  animation: jump-draw 360ms ease-out both;
  fill: none;
  stroke-dasharray: 7 5;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.jump-arc.count,
.jump-arc.scatter,
.jump-arc.probe {
  stroke: var(--teal);
}

.jump-arc.scan {
  stroke: var(--orange);
}

.jump-drop {
  stroke-width: 2;
}

.jump-drop.reject { stroke: #e88da2; }
.jump-drop.insert,
.jump-drop.match { stroke: #6cc7bc; }
.jump-drop.scan { stroke: #f0ab84; }

.jump-marker {
  animation: jump-marker-pop 260ms ease-out both;
  stroke: var(--white);
  stroke-width: 3;
}

.jump-marker.reject { fill: var(--rose); }
.jump-marker.insert,
.jump-marker.match { fill: var(--teal); }
.jump-marker.scan { fill: var(--orange); }

.jump-label {
  dominant-baseline: middle;
  fill: var(--white);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}

.track {
  display: grid;
  position: relative;
  width: 916px;
  z-index: 1;
}

.track.offsets {
  grid-template-columns: repeat(6, 84px);
  justify-content: space-between;
}

.track.rowids {
  gap: 12px;
  grid-template-columns: repeat(8, 104px);
}

.cell {
  align-items: center;
  background: #f7f9fc;
  border: 2px dashed #ced7e4;
  display: flex;
  justify-content: center;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.track.offsets .cell {
  border-radius: 10px 10px 4px 4px;
  height: 50px;
}

.track.rowids .cell {
  border-radius: 4px 4px 11px 11px;
  height: 96px;
}

.cell > span {
  color: #bbc5d3;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 25px;
  font-weight: 650;
}

.track.offsets .cell > span {
  font-size: 18px;
}

.cell > small {
  bottom: 5px;
  color: #8c98a9;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
  position: absolute;
}

.track.offsets .cell > small {
  bottom: 2px;
  font-size: 8px;
}

.cell.occupied,
.cell.bound {
  background: var(--key-bg, var(--blue-soft));
  border-color: var(--key-border, var(--key-t-border));
  border-style: solid;
}

.cell.occupied > span {
  color: var(--key-ink, var(--blue-deep));
}

.cell.current {
  box-shadow: 0 0 0 5px rgba(0, 120, 212, 0.13);
  transform: translateY(-4px);
}

.cell.touch-scan {
  box-shadow: 0 0 0 5px rgba(230, 106, 44, 0.14);
}

.cell.touch-scatter {
  box-shadow: 0 0 0 5px rgba(15, 159, 145, 0.14);
}

.cell.insert,
.cell.in-slice.match {
  border-color: #75cfc4;
  border-style: solid;
  box-shadow: 0 0 0 5px rgba(15, 159, 145, 0.12);
}

.cell.in-slice {
  background: var(--key-bg, rgba(229, 247, 243, 0.55));
  border-color: var(--key-border, #9ad6cd);
  border-style: solid;
  box-shadow: inset 0 -4px 0 rgba(230, 106, 44, 0.22);
}

.cell.in-slice.reject {
  border-color: #e88da2;
  box-shadow: 0 0 0 5px rgba(203, 64, 94, 0.11);
}

.track.rowids.sliced .cell:not(.in-slice) {
  opacity: 0.4;
}

.track-tag {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  margin-bottom: 7px !important;
}

.track-tag.lower {
  margin-top: 14px !important;
}

.track-tag em {
  color: #98a3b2;
  font-style: normal;
  margin-left: 8px;
}

.phase-rail {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.phase-rail > span {
  align-items: center;
  color: var(--muted);
  display: grid;
  font-size: 16px;
  font-weight: 750;
  gap: 0 12px;
  grid-template-columns: 26px 1fr;
  padding: 14px 14px 2px;
}

.phase-rail > span + span {
  border-left: 1px solid var(--line);
}

.phase-rail b {
  align-items: center;
  background: #eef1f6;
  border-radius: 50%;
  color: var(--muted);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  grid-row: span 2;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.phase-rail em {
  color: #98a3b2;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  grid-column: 2;
}

.phase-rail > span.active {
  color: var(--ink);
}

.phase-rail > span.active b {
  background: var(--blue);
  color: var(--white);
}

.phase-rail > span.done b {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.path-wrap {
  align-items: center;
  display: grid;
  gap: 15px;
  grid-template-columns: 105px 1fr;
  margin-top: 16px;
  min-height: 54px;
}

.path {
  align-items: center;
  display: flex;
  gap: 8px;
}

.cursor-link {
  animation: jump-draw 360ms ease-out both;
  fill: none;
  stroke: var(--teal);
  stroke-dasharray: 6 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cursor-dot {
  animation: jump-marker-pop 260ms ease-out both;
  fill: var(--teal);
}

.hinge {
  color: var(--muted);
  font-size: 21px;
  margin-top: 24px !important;
  text-align: center;
}

.hinge b {
  color: var(--ink);
}

.recap-slide {
  padding-top: 184px !important;
}

.recap-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px !important;
}

.recap-head h2 {
  font-size: 48px;
}

.recap-result {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(31, 53, 88, 0.06);
  display: flex;
  gap: 13px;
  padding: 9px 15px;
}

.recap-result span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recap-result strong {
  border-left: 1px solid var(--line);
  color: var(--key-ink, var(--ink));
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 550;
  padding-left: 13px;
}

.snapshot-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.demo-snapshot {
  border: 1px solid;
  border-radius: 17px;
  box-shadow: 0 14px 38px rgba(31, 53, 88, 0.07);
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 322px;
  padding: 18px 20px 17px;
}

.demo-snapshot.oa-snapshot-card {
  background: linear-gradient(180deg, rgba(255, 240, 243, 0.72), rgba(255, 255, 255, 0.96) 72px);
  border-color: rgba(203, 64, 94, 0.22);
}

.demo-snapshot.rb-snapshot-card {
  background: linear-gradient(180deg, rgba(229, 247, 243, 0.78), rgba(255, 255, 255, 0.96) 72px);
  border-color: rgba(15, 159, 145, 0.24);
}

.demo-snapshot header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.demo-snapshot header .card-label {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0 !important;
}

.demo-snapshot header .card-label::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.oa-snapshot-card header .card-label {
  color: var(--rose);
}

.rb-snapshot-card header .card-label {
  color: var(--teal-deep);
}

.demo-snapshot header > code {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(200, 210, 225, 0.8);
  border-radius: 999px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 550;
  padding: 5px 9px;
}

.snapshot-image {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(220, 227, 238, 0.86);
  border-radius: 12px;
  display: flex;
  height: 198px;
  justify-content: center;
  margin-top: 14px;
  overflow: hidden;
  padding: 15px 10px;
}

.snapshot-image img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.demo-snapshot figcaption {
  align-items: center;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 12px;
  padding: 9px 12px;
}

.oa-snapshot-card figcaption {
  background: rgba(255, 240, 243, 0.82);
}

.rb-snapshot-card figcaption {
  background: rgba(229, 247, 243, 0.88);
}

.demo-snapshot figcaption b {
  font-size: 14px;
  white-space: nowrap;
}

.oa-snapshot-card figcaption b {
  color: var(--rose);
}

.rb-snapshot-card figcaption b {
  color: var(--teal-deep);
}

.demo-snapshot figcaption span {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  text-align: right;
}

.snapshot-summary {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(31, 53, 88, 0.05);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 14px;
  padding: 12px 20px;
}

.summary-branch {
  align-items: baseline;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 7px;
}

.summary-branch.oa {
  justify-content: flex-end;
}

.summary-branch b {
  font-size: 14px;
}

.summary-branch.oa b {
  color: var(--rose);
}

.summary-branch.rb b {
  color: var(--teal-deep);
}

.summary-divider {
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  text-transform: uppercase;
}

.claim-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
}

.claim-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 16px;
  padding: 30px 34px 32px;
}

.claim-grid article.warm {
  border-left-color: var(--teal);
}

.claim-from {
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.claim-grid article.warm .claim-from {
  color: var(--teal-deep);
}

.claim-grid h3 {
  font-size: 34px;
  margin: 10px 0 12px;
}

.claim-grid article > p:last-child {
  color: var(--muted);
  font-size: 23px;
  line-height: 1.45;
}

.setup-strip {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  padding-top: 26px;
}

.setup-strip span {
  color: var(--muted);
  display: block;
  font-size: 17px;
  line-height: 1.4;
}

.setup-strip b {
  color: var(--ink);
  display: block;
  font-size: 19px;
  margin-bottom: 5px;
}

.collapsed-csr-demo {
  margin-top: 18px;
}

.collapsed-csr-demo .csr-offset-cells {
  grid-template-columns: repeat(4, 84px);
}

.collapsed-csr-demo .csr-bucket-guides > div {
  grid-template-columns: 104px 336px 452px;
}

.csr-layout-demo .oa-slot > em {
  align-items: center;
  border-radius: 999px;
  color: var(--white);
  display: flex;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  height: 21px;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  position: absolute;
  right: 7px;
  top: 7px;
  transform: translateY(-3px);
  transition: opacity 220ms ease, transform 220ms ease;
  width: 21px;
}

.csr-layout-demo .oa-slot.csr-match {
  background: var(--key-bg);
  border: 2px solid var(--key-border);
  box-shadow: 0 0 0 4px rgba(15, 157, 143, 0.08);
}

.csr-layout-demo .oa-slot.csr-match > span {
  color: var(--key-ink);
}

.csr-layout-demo .oa-slot.csr-match > em {
  background: #15803d;
  color: var(--white);
  opacity: 1;
  transform: translateY(0);
}

.csr-layout-demo .oa-slot.csr-reject {
  background: var(--key-bg);
  border: 2px solid #e69aae;
}

.csr-layout-demo .oa-slot.csr-reject > span {
  color: var(--key-ink);
}

.csr-layout-demo .oa-slot.csr-reject > em {
  background: #be123c;
  color: var(--white);
  opacity: 1;
  transform: translateY(0);
}

.csr-rowid-cells.is-scanning .oa-slot.csr-match {
  animation: csr-candidate-match 900ms cubic-bezier(0.22, 0.85, 0.28, 1) var(--scan-delay) both;
}

.csr-rowid-cells.is-scanning .oa-slot.csr-reject {
  animation: csr-candidate-reject 900ms cubic-bezier(0.22, 0.85, 0.28, 1) var(--scan-delay) both;
}

.csr-rowid-cells.is-scanning .oa-slot.csr-match > em,
.csr-rowid-cells.is-scanning .oa-slot.csr-reject > em {
  animation: csr-result-badge 180ms ease calc(var(--scan-delay) + 650ms) both;
}

@keyframes csr-candidate-match {
  0% {
    background: var(--key-bg);
    border-color: var(--key-border);
    box-shadow: none;
    transform: translateY(0);
  }
  46% {
    background: var(--orange-soft);
    border-color: var(--orange);
    box-shadow: 0 8px 20px rgba(230, 106, 44, 0.16);
    transform: translateY(-4px);
  }
  100% {
    background: var(--key-bg);
    border-color: var(--key-border);
    box-shadow: 0 0 0 4px rgba(15, 157, 143, 0.08);
    transform: translateY(0);
  }
}

@keyframes csr-candidate-reject {
  0% {
    background: var(--key-bg);
    border-color: var(--key-border);
    box-shadow: none;
    transform: translateY(0);
  }
  46% {
    background: var(--orange-soft);
    border-color: var(--orange);
    box-shadow: 0 8px 20px rgba(230, 106, 44, 0.16);
    transform: translateY(-4px);
  }
  100% {
    background: var(--key-bg);
    border-color: #e69aae;
    box-shadow: none;
    transform: translateY(0);
  }
}

@keyframes csr-result-badge {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chart-card {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding: 16px 26px 12px;
}

.cliff-slide {
  padding-top: 188px !important;
}

.cliff-slide .slide-head.compact {
  margin-bottom: 10px;
}

.cliff-chart-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
  margin-top: 4px;
  overflow: visible;
  padding: 0;
}

.chart.cliff-chart {
  height: 322px;
}

.cliff-footer {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
  min-height: 30px;
}

.cliff-footer .chart-readout {
  gap: 9px;
  padding: 0;
}

.cliff-footer .chart-readout strong {
  font-size: 19px;
}

.cliff-footer .chart-readout span {
  font-size: 13px;
}

.chart rect.cliff-zone.tone-rose {
  fill: rgba(203, 64, 94, 0.03);
}

.chart rect.cliff-zone.tone-teal {
  fill: rgba(15, 159, 145, 0.035);
}

.chart rect.cliff-zone.tone-orange {
  fill: rgba(238, 106, 47, 0.032);
}

.chart rect.cliff-zone.tone-blue {
  fill: rgba(0, 120, 212, 0.03);
}

.cliff-zone-group {
  opacity: 0;
  transition: opacity 360ms ease;
}

.cliff-zone-group.is-shown {
  opacity: 1;
}

.cliff-zone-title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-anchor: middle;
  text-transform: uppercase;
}

.cliff-zone-title.tone-rose {
  fill: var(--rose);
}

.cliff-zone-title.tone-teal {
  fill: var(--teal-deep);
}

.cliff-zone-title.tone-orange {
  fill: var(--orange);
}

.cliff-zone-title.tone-blue {
  fill: var(--blue);
}

.cliff-series-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
  transition: stroke-dashoffset 680ms cubic-bezier(0.35, 0.8, 0.35, 1);
}

.cliff-observation {
  opacity: 0;
  transition: opacity 240ms ease 140ms;
}

.cliff-observation.is-shown {
  opacity: 1;
}

.cliff-observation-dot {
  fill: currentColor;
  stroke: var(--white);
  stroke-width: 2;
}

.cliff-focus {
  opacity: 0;
  transition: opacity 260ms ease 220ms;
}

.cliff-focus.is-shown {
  opacity: 1;
}

.cliff-focus-ring {
  fill: rgba(255, 255, 255, 0.86);
  stroke: var(--blue);
  stroke-width: 2.4;
}

.cliff-focus-ring.tone-teal {
  stroke: var(--teal);
}

.cliff-slide .evaluation-takeaway {
  bottom: 78px;
}

.chart {
  display: block;
  flex: none;
  height: auto;
  overflow: visible;
  width: 100%;
}

.evaluation-results-slide {
  padding-top: 180px !important;
}

.evaluation-results-slide .slide-head.compact {
  margin-bottom: 10px;
}

.evaluation-results-slide .slide-head h2 {
  font-size: 38px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 !important;
}

.evaluation-context {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
  margin: 7px 0 0 !important;
}

.paired-chart-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
  margin-top: 5px;
  overflow: visible;
  padding: 0;
}

.paired-chart-topline {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-bottom: 4px !important;
  min-height: 28px;
}

.paired-chart-topline .cumulative-legend {
  justify-self: start;
}

.paired-chart-topline .paired-scale-label {
  grid-column: 2;
  justify-self: end;
}

.paired-scale-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.paired-chart-stack {
  display: grid;
}

.result-chart-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.result-chart-panel + .result-chart-panel {
  margin-top: 34px;
  padding-top: 18px;
}

.paired-chart-stack > .constrained-memory-panel {
  border-top: 1px solid transparent;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  transform: translateY(-10px);
  transition:
    max-height 480ms cubic-bezier(0.22, 0.85, 0.28, 1),
    margin 480ms cubic-bezier(0.22, 0.85, 0.28, 1),
    padding 480ms cubic-bezier(0.22, 0.85, 0.28, 1),
    opacity 260ms ease,
    transform 360ms ease;
  visibility: hidden;
}

.paired-chart-stack > .constrained-memory-panel.is-shown {
  border-top-color: var(--line-strong);
  margin-top: 34px;
  max-height: 280px;
  opacity: 1;
  padding-top: 18px;
  transform: translateY(0);
  visibility: visible;
}

.result-panel-head {
  align-items: baseline;
  background: transparent;
  border: 0;
  display: grid;
  gap: 9px;
  grid-template-columns: auto auto 1fr;
  min-height: 24px;
  padding: 0 3px;
}

.result-panel-head > span {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  padding: 0;
  text-transform: uppercase;
}

.result-panel-head > span::before {
  background: currentColor;
  content: "";
  display: inline-block;
  height: 2px;
  margin: 0 7px 3px 0;
  width: 14px;
}

.constrained-memory-panel .result-panel-head > span {
  color: #a84718;
}

.result-panel-head strong {
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 650;
}

.result-panel-head small {
  color: var(--muted);
  font-size: 11px;
  justify-self: end;
}

.result-panel-chart {
  margin-top: -2px;
}

.default-category-strip {
  display: grid;
  grid-template-columns: repeat(var(--label-count), 1fr);
  margin: -4px 5.55% 0 5.9%;
  max-height: 42px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 260ms ease, opacity 180ms ease, margin 260ms ease;
}

.default-category-strip > span {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.25;
  min-height: 38px;
  text-align: center;
}

.default-category-strip b,
.default-category-strip small {
  display: block;
  font: inherit;
}

.default-category-strip.compact {
  max-height: 23px;
}

.default-category-strip.compact > span {
  min-height: 21px;
}

.paired-chart-card.show-tightened .default-category-strip {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
}

.evaluation-takeaway {
  bottom: 78px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 650;
  left: 80px;
  line-height: 1.2;
  margin: 0 !important;
  opacity: 0;
  position: absolute;
  right: 80px;
  text-align: center;
  transform: translateY(7px);
  transition: opacity 260ms ease, transform 320ms ease, visibility 260ms;
  visibility: hidden;
}

.evaluation-takeaway.is-shown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.full-query-audit-slide {
  padding-top: 190px !important;
}

.full-query-audit-slide .slide-head.compact {
  margin-bottom: 8px;
}

.full-query-audit-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
  margin-top: 5px;
  overflow: visible;
  padding: 0;
}

.audit-topline {
  display: flex;
  margin-bottom: 2px !important;
  min-height: 28px;
}

.audit-legend {
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: 18px;
  padding: 0;
}

.audit-chart {
  margin-top: -2px;
}

.audit-panel-title {
  fill: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-tick {
  font-size: 13px;
}

.audit-panel-divider {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.audit-zero-line {
  stroke: var(--ink);
  stroke-dasharray: 5 5;
  stroke-width: 1.5;
}

.audit-series {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.audit-series.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.audit-bar {
  rx: 2px;
}

.audit-query-label {
  fill: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 550;
  text-anchor: middle;
}

.audit-join-star {
  fill: var(--blue);
  font-weight: 700;
}

.audit-marker-key {
  align-self: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin-left: auto;
  text-transform: uppercase;
}

.audit-marker-key b {
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
}

.audit-callout {
  fill: currentColor;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 3px;
  text-anchor: middle;
}

.production-result-slide {
  padding-top: 180px !important;
}

.production-result-slide .slide-head.compact {
  margin-bottom: 8px;
}

.production-result-slide .paired-chart-card {
  margin-top: 6px;
}

.extreme-skew-result-slide {
  justify-content: flex-start !important;
  padding-top: 166px !important;
}

.extreme-skew-result-slide .slide-head.compact {
  margin-bottom: 0;
}

.extreme-skew-result-slide .slide-head h2 {
  font-size: 48px;
  letter-spacing: -0.035em;
}

.extreme-skew-result-slide .eyebrow {
  color: var(--rose);
  margin-bottom: 6px !important;
}

.extreme-skew-distribution {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 205px 1fr;
  margin-top: 30px;
  padding: 18px 0;
}

.extreme-skew-distribution-label {
  display: grid;
  gap: 4px;
}

.extreme-skew-distribution-label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.extreme-skew-distribution-label strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.extreme-skew-distribution-track {
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  display: flex;
  height: 54px;
  overflow: hidden;
}

.extreme-skew-distribution-track > span {
  align-items: center;
  display: flex;
  gap: 11px;
  justify-content: center;
}

.hot-key-share {
  background: var(--key-bg);
  border-right: 1px solid var(--key-border);
  color: var(--key-ink);
  width: 55%;
}

.hot-key-share b {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--key-border);
  border-radius: 6px;
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  height: 29px;
  justify-content: center;
  width: 29px;
}

.hot-key-share strong,
.other-key-share strong {
  font-size: 15px;
  font-weight: 700;
}

.other-key-share {
  background: rgba(220, 227, 238, 0.42);
  color: var(--muted);
  width: 45%;
}

.extreme-skew-result-stack {
  margin-top: 24px;
}

.extreme-skew-config {
  align-items: center;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 146px;
  padding: 23px 0;
}

.extreme-skew-config > header {
  align-content: center;
  display: grid;
  gap: 6px;
}

.extreme-skew-config > header span {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.extreme-skew-config > header span::before {
  background: currentColor;
  content: "";
  display: inline-block;
  height: 2px;
  margin: 0 8px 3px 0;
  width: 15px;
}

.extreme-skew-config > header strong {
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16px;
  font-weight: 650;
}

.extreme-skew-config > header small {
  color: var(--muted);
  font-size: 12px;
}

.extreme-skew-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.extreme-skew-metrics > span {
  display: grid;
  gap: 7px;
  justify-items: center;
}

.extreme-skew-metrics > span + span {
  border-left: 1px solid var(--line);
}

.extreme-skew-metrics b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 54px;
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.extreme-skew-metrics small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.extreme-skew-metrics .build-metric b {
  color: var(--blue);
}

.extreme-skew-metrics .probe-metric b {
  color: var(--orange);
}

.extreme-skew-metrics .total-metric b {
  color: var(--teal-deep);
}

.tight-skew-config {
  border-top-color: transparent;
  max-height: 0;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-bottom: 0;
  padding-top: 0;
  transform: translateY(-10px);
  transition:
    border-color 280ms ease,
    max-height 520ms cubic-bezier(0.22, 0.85, 0.28, 1),
    opacity 300ms ease 110ms,
    padding 520ms cubic-bezier(0.22, 0.85, 0.28, 1),
    transform 420ms ease,
    visibility 520ms;
  visibility: hidden;
}

.is-tight-visible .tight-skew-config {
  border-top-color: var(--line-strong);
  max-height: 180px;
  min-height: 146px;
  opacity: 1;
  padding-bottom: 23px;
  padding-top: 23px;
  transform: translateY(0);
  visibility: visible;
}

.tight-skew-config > header span {
  color: #a84718;
}

.skew-explanation-slide {
  justify-content: flex-start !important;
  padding-top: 180px !important;
}

.skew-explanation-slide .slide-head.compact {
  margin-bottom: 13px;
}

.skew-explanation-slide .slide-head h2 {
  font-size: 48px;
}

.skew-explanation-slide .eyebrow {
  color: var(--blue);
  margin-bottom: 6px !important;
}

.skew-explanation-slide .evaluation-context {
  margin-top: 7px !important;
}

.skew-point-heading {
  align-items: baseline;
  display: grid;
  gap: 20px;
  grid-template-columns: 34px auto 1fr;
  margin-bottom: 34px;
}

.skew-point-heading > span {
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.skew-point-heading > strong {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.25;
}

.skew-point-heading > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.skew-mechanism-grid {
  display: grid;
  gap: 38px;
  grid-template-columns: 1fr 1fr;
}

.skew-mechanism-path {
  min-width: 0;
  transition:
    filter 420ms ease,
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 0.85, 0.28, 1);
}

.skew-mechanism-path + .skew-mechanism-path {
  border-left: 1px solid var(--line-strong);
  padding-left: 38px;
}

.skew-mechanism-path header {
  align-items: baseline;
  border-bottom: 2px solid currentColor;
  display: flex;
  justify-content: space-between;
  padding: 0 2px 11px;
}

.skew-mechanism-path header span {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skew-mechanism-path header strong {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 550;
}

.oa-mechanism {
  color: var(--rose);
}

.rb-mechanism {
  color: var(--teal-deep);
}

.skew-explanation-slide.is-memory-step .oa-mechanism {
  filter: saturate(0.55);
  opacity: 0.36;
  transform: translateX(-8px) scale(0.985);
}

.skew-phase-row {
  align-items: center;
  display: grid;
  gap: 15px;
  grid-template-columns: 54px minmax(305px, 1fr) 140px;
  min-height: 130px;
  padding: 15px 2px;
}

.skew-phase-row + .skew-phase-row {
  border-top: 1px solid var(--line);
}

.skew-phase-row > span {
  color: currentColor;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skew-phase-row > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.skew-cas-flow,
.skew-add-flow {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.skew-hot-workers {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}

.skew-hot-workers i,
.skew-scattered-chain i {
  align-items: center;
  background: var(--key-bg);
  border: 1px solid var(--key-border);
  border-radius: 6px;
  color: var(--key-ink);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  height: 29px;
  justify-content: center;
  width: 29px;
}

.skew-cas-flow > b,
.skew-add-flow > b {
  align-items: center;
  border: 1px solid;
  border-radius: 8px;
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
  gap: 7px;
  justify-content: center;
  min-width: 76px;
  padding: 8px 10px;
}

.skew-cas-flow > b {
  background: var(--rose-soft);
  border-color: #e9a1b1;
  color: var(--rose);
}

.skew-add-flow > b {
  background: var(--teal-soft);
  border-color: #91d4cc;
  color: var(--teal-deep);
}

.skew-cas-flow em,
.skew-add-flow em {
  font-style: normal;
}

.skew-scattered-chain {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.skew-scattered-chain em {
  color: var(--rose);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.skew-rb-directory {
  border-radius: 9px;
  min-width: 0;
  padding: 5px 6px 6px;
  transition:
    background-color 420ms ease,
    box-shadow 420ms ease;
}

.skew-explanation-slide.is-memory-step .skew-rb-directory {
  background: rgba(229, 247, 243, 0.7);
  box-shadow: 0 0 0 3px rgba(15, 159, 145, 0.08);
}

.skew-rb-directory-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.skew-rb-directory-head b {
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  transition: color 360ms ease;
}

.skew-explanation-slide.is-memory-step .skew-rb-directory-head b {
  color: var(--teal-deep);
}

.skew-rb-directory-head small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skew-rb-array {
  align-items: center;
  display: grid;
  gap: 7px;
  grid-template-columns: 43px 1fr;
  margin-top: 4px;
}

.skew-rb-array > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skew-rb-offsets,
.skew-rb-rowids {
  display: grid;
  gap: 3px;
}

.skew-rb-offsets {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  transition: grid-template-columns 620ms cubic-bezier(0.22, 0.85, 0.28, 1);
}

.skew-explanation-slide.is-memory-step .skew-rb-offsets {
  grid-template-columns: 1fr 1fr 0fr 0fr 0fr 0fr 0fr;
}

.skew-rb-rowids {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.skew-rb-offsets i,
.skew-rb-rowids i {
  align-items: center;
  border: 1px solid;
  border-radius: 4px;
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  height: 25px;
  justify-content: center;
  min-width: 0;
}

.skew-rb-offsets i {
  background: var(--blue-soft);
  border-color: #92c5ed;
  color: var(--blue-deep);
  overflow: hidden;
  transition:
    background-color 360ms ease,
    border-color 360ms ease,
    border-width 360ms ease,
    color 360ms ease,
    opacity 360ms ease,
    transform 620ms cubic-bezier(0.22, 0.85, 0.28, 1);
}

.skew-rb-offsets i[data-empty-boundary] {
  background: #f1f4f8;
  border-color: var(--line);
  color: #98a3b3;
}

.skew-explanation-slide.is-memory-step .skew-rb-offsets i:nth-child(-n + 2) {
  background: var(--teal-soft);
  border-color: #8fd2ca;
  color: var(--teal-deep);
}

.skew-explanation-slide.is-memory-step .skew-rb-offsets i[data-empty-boundary] {
  border-width: 0;
  opacity: 0;
  transform: scaleX(0);
}

.skew-rb-rowids i {
  background: var(--key-bg);
  border-color: var(--key-border);
  color: var(--key-ink);
}

.skew-rb-scan {
  align-items: center;
  color: var(--teal-deep);
  display: grid;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
  gap: 7px;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 5px;
  text-align: center;
}

.skew-rb-scan i {
  border-bottom: 1px solid #8fd2ca;
  height: 1px;
}

.chart-readout {
  align-items: baseline;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.chart-readout strong {
  color: var(--ink);
  font-size: 27px;
  white-space: nowrap;
}

.chart-readout span {
  color: var(--muted);
  font-size: 18px;
}

.chart-legend {
  display: flex;
  gap: 22px;
}

.chart-legend span {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 19px;
  gap: 9px;
  opacity: 0.32;
}

.chart-legend span.is-shown {
  color: var(--ink);
  opacity: 1;
}

.chart-legend i {
  border-radius: 3px;
  display: block;
  height: 13px;
  width: 13px;
}

.chart-legend .tone-blue i { background: var(--blue); }
.chart-legend .tone-teal i { background: var(--teal); }
.chart-legend .tone-orange i { background: var(--orange); }
.chart-legend .tone-rose i { background: var(--rose); }

.cumulative-legend,
.audit-legend {
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: 18px;
  padding: 0;
}

.cumulative-legend span,
.audit-legend span {
  font-size: 14px;
  transition: color 180ms ease, opacity 180ms ease;
}

.chart-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.chart-axis {
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.chart-axis-tick {
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.chart-rule {
  stroke: var(--muted);
  stroke-dasharray: 6 5;
  stroke-width: 1.5;
}

.chart-rule.strong {
  stroke: var(--ink);
  stroke-width: 1.8;
}

.chart-rule-label {
  fill: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-anchor: end;
  text-transform: uppercase;
}

.chart-rule-label.start {
  text-anchor: start;
}

.chart-tick {
  fill: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 17px;
  text-anchor: middle;
}

.chart-tick.end {
  text-anchor: end;
}

.chart-axis-title {
  fill: var(--muted);
  font-size: 17px;
  font-weight: 700;
  text-anchor: middle;
}

.chart-value {
  opacity: 0;
}

.chart-value.is-shown {
  opacity: 1;
}

.chart-bar {
  transition: transform 460ms cubic-bezier(0.25, 0.9, 0.3, 1);
}

.chart-value {
  fill: currentColor;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 500;
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 3px;
  text-anchor: middle;
}

.chart-group {
  fill: var(--muted);
  font-size: 17px;
  font-weight: 700;
  text-anchor: middle;
}

.chart .tone-blue { color: var(--blue); }
.chart .tone-teal { color: var(--teal-deep); }
.chart .tone-orange { color: var(--orange); }
.chart .tone-rose { color: var(--rose); }
.chart path.tone-blue { stroke: var(--blue); }
.chart path.tone-teal { stroke: var(--teal); }
.chart path.tone-orange { stroke: var(--orange); }
.chart path.tone-rose { stroke: var(--rose); }
.chart circle.tone-blue { fill: var(--blue); }
.chart circle.tone-teal { fill: var(--teal); }
.chart circle.tone-orange { fill: var(--orange); }
.chart circle.tone-rose { fill: var(--rose); }
.chart .chart-bar-fill { stroke: none; }
.chart rect.tone-blue { fill: var(--blue); }
.chart rect.tone-teal { fill: var(--teal); }
.chart rect.tone-orange { fill: var(--orange); }
.chart rect.tone-rose { fill: var(--rose); }

.paired-result-slide .chart-tick {
  font-size: 13px;
}

.paired-result-slide .chart-rule-label {
  font-size: 12px;
}

.paired-result-slide .chart-value {
  font-size: 12px;
  stroke-width: 2px;
}

.paired-result-slide .chart-group {
  font-size: 13px;
}

.closing-grid {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: 300px 1fr;
}

.closing-copy h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.closing-copy .eyebrow {
  color: var(--teal-deep);
}

.accent-teal {
  color: var(--teal-deep);
}

.closing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.closing-list li {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 20px;
  padding: 15px 0;
}

.closing-list b {
  color: var(--ink);
}

.closing-thanks {
  color: var(--teal-deep);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.06em;
  margin-top: 26px !important;
  text-transform: uppercase;
}

/* Print and accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 700px) and (orientation: portrait) {
  .reveal .controls {
    transform: scale(0.95);
  }
}

@media print {
  .button,
  .reveal .controls,
  .reveal .progress {
    display: none !important;
  }

  .reveal .slides section {
    background: var(--white) !important;
  }

  .animate-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .csr-story-layer {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}
