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

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/Nunito-600.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/Nunito-700.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/Nunito-800.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/Nunito-900.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/SpaceMono-400.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/SpaceMono-700.ttf") format("truetype");
}

:root {
  --ink: #172132;
  --ink-soft: #4d586c;
  --paper: #f5efe5;
  --paper-light: #fbf8f1;
  --blue: #3157ff;
  --blue-deep: #203bb9;
  --orange: #ff6a3d;
  --mint: #b7e8d5;
  --mint-deep: #82cdb1;
  --yellow: #ffd84d;
  --pink: #ffa8c7;
  --line: rgba(23, 33, 50, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --slide-padding-x: clamp(30px, 3.7vw, 58px);
  --slide-padding-y: clamp(24px, 3.1vw, 46px);
  --block-size: clamp(42px, 3.7vw, 56px);
  --block-gap: 5px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

html {
  overflow: hidden;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: "Nunito", "Arial Rounded MT Bold", sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.deck-track {
  display: flex;
  width: 200vw;
  height: 100vh;
  will-change: transform;
}

.slide {
  position: relative;
  display: flex;
  flex: 0 0 100vw;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  padding: var(--slide-padding-y) var(--slide-padding-x);
  overflow: hidden;
  isolation: isolate;
}

.slide-play {
  background:
    radial-gradient(circle at 82% 32%, rgba(183, 232, 213, 0.58), transparent 32%),
    radial-gradient(circle at 43% 100%, rgba(255, 216, 77, 0.18), transparent 34%),
    var(--paper);
}

.slide-tech {
  background:
    radial-gradient(circle at 12% 88%, rgba(183, 232, 213, 0.42), transparent 27%),
    radial-gradient(circle at 88% 10%, rgba(255, 168, 199, 0.19), transparent 25%),
    var(--paper-light);
}

.paper-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

.topbar {
  display: grid;
  flex: 0 0 45px;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: clamp(9px, 0.78vw, 11px);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper-light);
  font-size: 16px;
  line-height: 1;
  place-items: center;
}

.deck-kicker,
.page-count,
.eyebrow,
.slide-footer,
.stage-label,
.scan-status,
.block-meta,
.cost-kicker,
.education-band span,
.nav-hint,
.nav-button {
  font-family: "Space Mono", monospace;
}

.deck-kicker {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: clamp(8px, 0.7vw, 10px);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
}

.page-count {
  justify-self: end;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.page-count strong {
  margin-right: 3px;
  color: var(--orange);
  font-size: 20px;
}

.play-layout {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(380px, 0.8fr) minmax(680px, 1.2fr);
  align-items: center;
  min-height: 0;
  gap: clamp(28px, 3vw, 52px);
}

.play-copy {
  position: relative;
  z-index: 3;
  align-self: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: clamp(9px, 0.72vw, 11px);
  font-weight: 700;
  letter-spacing: 0.13em;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.065em;
}

h1 {
  max-width: 9.5ch;
  font-size: clamp(52px, 5.35vw, 82px);
  line-height: 0.91;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.lede,
.tech-lede {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.16vw, 18px);
  font-weight: 600;
  line-height: 1.55;
}

.lede {
  max-width: 34ch;
}

.feature-list {
  margin-top: 28px;
  border-top: 1.5px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1.5px solid var(--line);
}

.feature-row strong {
  color: var(--orange);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.feature-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(12px, 0.92vw, 15px);
  line-height: 1.42;
}

.play-stage {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 430px;
}

.stage-label {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stage-label span {
  color: var(--orange);
  font-weight: 700;
}

.stage-label strong {
  font-family: "Nunito", sans-serif;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.stage-label-robot {
  top: 4%;
  right: 20%;
}

.robot-path {
  position: absolute;
  top: 38%;
  right: 8%;
  display: flex;
  width: 24%;
  justify-content: space-between;
  transform: rotate(-4deg);
}

.robot-path i {
  width: 20px;
  height: 4px;
  border-radius: 999px;
  background: rgba(23, 33, 50, 0.17);
}

.robot-hero {
  position: absolute;
  top: 15%;
  right: 11%;
  width: clamp(128px, 11.2vw, 164px);
  height: clamp(128px, 11.2vw, 164px);
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
  box-shadow: 0 22px 36px rgba(23, 33, 50, 0.15);
  transform: rotate(3deg);
}

.robot-eye {
  position: absolute;
  top: 33%;
  width: 19%;
  height: 25%;
  border-radius: 999px;
  background: var(--ink);
}

.robot-eye::after {
  position: absolute;
  top: 17%;
  left: 21%;
  width: 30%;
  height: 23%;
  border-radius: 50%;
  background: var(--paper-light);
  content: "";
}

.robot-eye-left {
  left: 31%;
}

.robot-eye-right {
  right: 31%;
}

.robot-smile {
  position: absolute;
  top: 62%;
  left: 44%;
  width: 13%;
  height: 8%;
  border-bottom: 3px solid var(--yellow);
  border-radius: 0 0 999px 999px;
}

.robot-sensor {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 30px;
  height: 16px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  transform: translateX(-50%);
}

.robot-wheel {
  position: absolute;
  top: 38%;
  width: 18px;
  height: 48px;
  border: 3px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
}

.robot-wheel::after {
  position: absolute;
  inset: 8px 3px;
  border-top: 2px solid var(--mint-deep);
  border-bottom: 2px solid var(--mint-deep);
  content: "";
}

.robot-wheel-left {
  left: -15px;
}

.robot-wheel-right {
  right: -15px;
}

.robot-hero.is-running .robot-wheel::after {
  animation: wheel-lines 170ms linear infinite;
}

.robot-hero.is-running .robot-eye {
  box-shadow: 0 0 0 6px rgba(255, 216, 77, 0.28);
}

@keyframes wheel-lines {
  to {
    transform: translateY(8px);
  }
}

.ble-connection {
  position: absolute;
  top: 19%;
  right: 4%;
  width: 31%;
  height: 42%;
  opacity: 0;
  pointer-events: none;
}

.ble-label {
  position: absolute;
  top: 30%;
  right: 5%;
  z-index: 7;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0;
}

.scan-controller {
  position: absolute;
  bottom: 120px;
  left: 3%;
  z-index: 8;
  width: var(--block-size);
  height: 202px;
  transform-origin: 50% 100%;
}

.controller-grip {
  position: absolute;
  right: 9px;
  bottom: 14px;
  left: 9px;
  height: 156px;
  border: 3px solid var(--ink);
  border-radius: 24px 24px 14px 14px;
  background: linear-gradient(180deg, var(--blue-deep) 0 18%, var(--blue) 18% 100%);
  box-shadow: 0 14px 26px rgba(23, 33, 50, 0.17);
}

.controller-grip::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: var(--mint);
  content: "";
  transform: translateX(-50%);
}

.controller-grip::after {
  position: absolute;
  top: 31px;
  right: 7px;
  left: 7px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  content: "";
}

.controller-head {
  position: absolute;
  right: -12px;
  bottom: 0;
  left: -12px;
  height: 22px;
  border: 3px solid var(--ink);
  border-radius: 9px 9px 5px 5px;
  background: var(--paper-light);
}

.controller-head i {
  position: absolute;
  inset: 3px 7px;
  border-radius: 5px;
  background: var(--mint);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.38);
}

.shake-arc {
  position: absolute;
  top: 22px;
  width: 22px;
  height: 78px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  opacity: 0;
}

.shake-arc-left {
  left: -27px;
  border-right: 0;
}

.shake-arc-right {
  right: -27px;
  border-left: 0;
}

.scan-controller.is-shaking .shake-arc {
  animation: shake-arc-pulse 600ms ease-in-out 2;
}

@keyframes shake-arc-pulse {
  40% {
    opacity: 1;
    transform: scaleX(1.18);
  }
}

.command-system {
  position: absolute;
  right: 3%;
  bottom: 13px;
  left: 3%;
  z-index: 4;
  height: 118px;
}

.scan-status {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  color: var(--blue);
  font-size: clamp(8px, 0.66vw, 10px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.command-row {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  display: flex;
  gap: var(--block-gap);
}

.command-block {
  position: relative;
  display: grid;
  width: var(--block-size);
  height: var(--block-size);
  flex: 0 0 var(--block-size);
  overflow: visible;
  border: 3px solid var(--ink);
  border-radius: 13px;
  background: var(--orange);
  box-shadow: 0 8px 16px rgba(23, 33, 50, 0.12);
  place-items: center;
}

.command-block:nth-child(2) { background: var(--mint-deep); }
.command-block:nth-child(3) { background: var(--yellow); }
.command-block:nth-child(4) { background: var(--pink); }
.command-block:nth-child(5) { background: var(--mint-deep); }
.command-block:nth-child(6) { background: var(--yellow); }
.command-block:nth-child(7) { background: var(--orange); }
.command-block:nth-child(8) { background: var(--blue); color: #fff; }

.command-block strong {
  padding: 2px;
  font-size: clamp(8px, 0.68vw, 10px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}

.block-order {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 7px;
  font-weight: 700;
  opacity: 0;
  place-items: center;
  transform: translate(-50%, 6px) scale(0.75);
}

.command-block.is-scanned {
  box-shadow: 0 0 0 4px rgba(49, 87, 255, 0.19), 0 8px 16px rgba(23, 33, 50, 0.12);
}

.command-block.is-scanned .block-order {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.command-block.is-scanned::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  width: 17px;
  height: 17px;
  border: 2px solid var(--paper-light);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  content: "✓";
  font-size: 10px;
  font-weight: 900;
  place-items: center;
}

.block-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.sequence-rail {
  display: grid;
  flex: 0 0 92px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}

.sequence-rail article {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 10px;
  align-items: start;
  padding: 0 clamp(12px, 1.2vw, 22px);
  border-left: 1.5px solid var(--line);
}

.sequence-rail article:first-child {
  padding-left: 0;
  border-left: 0;
}

.sequence-rail article > span {
  padding-top: 1px;
  color: var(--orange);
  font-family: "Space Mono", monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.sequence-rail strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(10px, 0.8vw, 12px);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.sequence-rail p {
  max-width: 27ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(10px, 0.76vw, 12px);
  line-height: 1.35;
}

.slide-footer {
  display: flex;
  flex: 0 0 24px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  color: rgba(77, 88, 108, 0.78);
  font-size: 7px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.slide-footer p {
  margin: 0;
}

.slide-footer p:last-child {
  color: var(--ink-soft);
  text-align: right;
}

.tech-heading {
  display: grid;
  flex: 0 0 103px;
  grid-template-columns: minmax(470px, 0.85fr) minmax(390px, 0.65fr);
  align-items: end;
  gap: 50px;
  padding: 17px 0 15px;
}

.tech-heading .eyebrow {
  margin-bottom: 10px;
}

h2 {
  max-width: 18ch;
  font-size: clamp(35px, 3.1vw, 52px);
  line-height: 0.99;
}

.tech-lede {
  max-width: 49ch;
  margin: 0 0 3px;
  font-size: clamp(12px, 0.92vw, 14px);
  line-height: 1.5;
}

.process-rail {
  display: grid;
  flex: 0 0 60px;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}

.process-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0 12px;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -9px;
  width: 18px;
  height: 1.5px;
  background: var(--line);
  content: "";
}

.process-step span {
  color: var(--orange);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.process-step strong {
  overflow: hidden;
  font-size: clamp(10px, 0.8vw, 12px);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tech-layout {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(720px, 1fr) clamp(285px, 24vw, 355px);
  min-height: 0;
  gap: clamp(24px, 2.4vw, 40px);
  padding: 22px 0 16px;
}

.system-map {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.82fr;
  min-width: 0;
  gap: clamp(18px, 1.7vw, 28px);
}

.system-column {
  min-width: 0;
  padding-right: clamp(14px, 1.3vw, 22px);
  border-right: 1.5px solid var(--line);
}

.system-column:last-child {
  padding-right: 0;
  border-right: 0;
}

.system-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 11px;
}

.system-title > span {
  color: var(--orange);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.system-title h3 {
  margin: 0;
  font-size: clamp(20px, 1.72vw, 27px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.system-title p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.3;
}

.component-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 37px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.component-line strong {
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 900;
  white-space: nowrap;
}

.component-line span {
  color: var(--ink-soft);
  font-size: clamp(9px, 0.68vw, 10px);
  line-height: 1.25;
  text-align: right;
}

.block-cutaway {
  position: relative;
  height: 118px;
  margin: 3px 0 8px;
}

.block-layer {
  position: absolute;
  left: 50%;
  display: grid;
  width: 78px;
  height: 34px;
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  place-items: center;
  transform: translateX(-50%) skewX(-8deg);
}

.block-layer-top {
  top: 0;
  background: var(--orange);
}

.block-layer-chip {
  top: 39px;
  width: 70px;
  background: var(--mint);
}

.block-layer-magnet {
  top: 78px;
  width: 82px;
  background: var(--yellow);
}

.block-layer-magnet b {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
}

.block-layer-magnet b:nth-child(1) { top: 5px; left: 7px; }
.block-layer-magnet b:nth-child(2) { top: 5px; right: 7px; }
.block-layer-magnet b:nth-child(3) { bottom: 5px; left: 7px; }
.block-layer-magnet b:nth-child(4) { right: 7px; bottom: 5px; }

.cost-panel {
  align-self: stretch;
  padding: clamp(17px, 1.35vw, 22px);
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 36px rgba(23, 33, 50, 0.16);
}

.cost-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.cost-subtitle {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.cost-total {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 11px 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.cost-total strong {
  color: var(--yellow);
  font-size: clamp(30px, 2.9vw, 44px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.cost-total span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
}

.cost-range {
  margin: -7px 0 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.cost-bars {
  padding-top: 6px;
}

.cost-row {
  display: grid;
  grid-template-columns: minmax(84px, 1.05fr) minmax(48px, 0.8fr) 38px;
  gap: 8px;
  align-items: center;
  min-height: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.cost-row span {
  overflow: hidden;
  font-size: clamp(8px, 0.66vw, 10px);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cost-row i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.cost-row i b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
}

.cost-row strong {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  text-align: right;
}

.cost-note {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  line-height: 1.4;
}

.budget-list {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.budget-list p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(10px, 0.78vw, 12px);
  line-height: 1.4;
}

.education-band {
  display: grid;
  flex: 0 0 75px;
  grid-template-columns: 0.8fr 1.15fr 1.35fr;
  gap: clamp(22px, 2.1vw, 35px);
  align-items: center;
  padding: 12px 0;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}

.education-band > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.education-band span {
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.education-band strong {
  font-size: clamp(15px, 1.18vw, 18px);
  font-weight: 900;
}

.education-band p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(9px, 0.7vw, 11px);
  line-height: 1.4;
}

.deck-controls {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1.5px solid rgba(23, 33, 50, 0.14);
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.88);
  box-shadow: 0 10px 24px rgba(23, 33, 50, 0.12);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.nav-button {
  display: grid;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.nav-button:hover {
  background: rgba(23, 33, 50, 0.08);
}

.nav-button:disabled {
  cursor: default;
  opacity: 0.24;
}

.nav-button svg {
  width: 17px;
  height: 17px;
}

.nav-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 33, 50, 0.24);
  cursor: pointer;
  transition: width 220ms var(--ease-out), background 220ms ease;
}

.nav-dots button.is-active {
  width: 21px;
  background: var(--orange);
}

.nav-hint {
  max-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 7px;
  white-space: nowrap;
  transition: max-width 220ms ease, margin 220ms ease;
}

.deck-controls:hover .nav-hint,
.deck-controls:focus-within .nav-hint {
  max-width: 190px;
  margin-left: 3px;
}

.pdf-link {
  padding-left: 8px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 7px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pdf-link:hover {
  color: var(--orange);
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.is-preview .deck-controls {
  display: none;
}

.is-preview [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1180px) {
  .play-layout {
    grid-template-columns: minmax(330px, 0.8fr) minmax(560px, 1.2fr);
  }

  .tech-layout {
    grid-template-columns: minmax(610px, 1fr) minmax(270px, 320px);
  }

  .component-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .component-line span {
    text-align: left;
  }
}

@media (max-width: 900px) {
  html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
  }

  html,
  body {
    height: auto;
    min-height: 100%;
  }

  html {
    overflow-x: hidden;
    overflow-y: auto;
  }

  body {
    overflow: visible;
  }

  .deck-track {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .slide {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    padding: 24px 20px calc(92px + env(safe-area-inset-bottom));
    scroll-snap-align: start;
    touch-action: pan-y;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .deck-kicker {
    display: none;
  }

  .play-layout,
  .tech-heading,
  .tech-layout {
    grid-template-columns: 1fr;
  }

  .play-layout {
    gap: 20px;
  }

  .play-copy {
    padding-top: 18px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(48px, 13vw, 68px);
  }

  .lede {
    margin-top: 18px;
  }

  .feature-list {
    margin-top: 20px;
  }

  .feature-row {
    grid-template-columns: 74px 1fr;
    gap: 12px;
    padding: 10px 0;
  }

  .play-stage {
    min-height: 410px;
    margin-top: 4px;
    --block-size: clamp(30px, 8.2vw, 36px);
    --block-gap: 3px;
  }

  .robot-hero {
    top: 12%;
    right: 8%;
    width: clamp(108px, 31vw, 132px);
    height: clamp(108px, 31vw, 132px);
  }

  .stage-label-robot {
    top: 2%;
    right: 27%;
  }

  .ble-connection {
    top: 17%;
    right: 1%;
    width: 36%;
    height: 39%;
  }

  .ble-label {
    top: 28%;
    right: 3%;
  }

  .scan-controller {
    bottom: 101px;
    left: 1.5%;
    height: 176px;
  }

  .shake-arc-left {
    left: -12px;
  }

  .shake-arc-right {
    right: -12px;
  }

  .controller-grip {
    height: 132px;
  }

  .controller-grip::after {
    height: 48px;
  }

  .controller-head {
    height: 19px;
  }

  .command-system {
    right: 0;
    bottom: 16px;
    left: 0;
    height: 106px;
  }

  .command-row {
    justify-content: space-between;
  }

  .command-block {
    border-width: 2px;
    border-radius: 9px;
  }

  .command-block strong {
    font-size: 8px;
  }

  .block-order {
    top: -17px;
    width: 17px;
    height: 17px;
    border-width: 1.5px;
    font-size: 6px;
  }

  .block-meta {
    bottom: 0;
    font-size: 7px;
  }

  .sequence-rail {
    grid-template-columns: repeat(2, 1fr);
    flex-basis: auto;
  }

  .sequence-rail article {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .sequence-rail article:nth-child(odd) {
    padding-left: 0;
  }

  .tech-layout {
    padding-top: 24px;
  }

  .tech-heading {
    flex-basis: auto;
    gap: 12px;
    padding: 20px 0 18px;
  }

  .tech-heading h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .tech-lede {
    margin-top: 0;
  }

  .process-rail {
    grid-template-columns: repeat(2, 1fr);
    flex-basis: auto;
    padding: 8px 0;
  }

  .process-step {
    min-height: 42px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

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

  .system-column {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1.5px solid var(--line);
  }

  .component-line {
    min-height: 34px;
  }

  .cost-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .cost-total {
    flex-wrap: wrap;
  }

  .cost-total strong {
    font-size: clamp(40px, 12vw, 58px);
  }

  .education-band {
    grid-template-columns: 1fr;
    flex-basis: auto;
    gap: 14px;
    padding: 18px 0;
  }

  .deck-controls {
    display: flex;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: min(292px, calc(100vw - 32px));
    justify-content: center;
    padding: 8px 12px;
    background: rgba(251, 248, 241, 0.96);
  }

  .nav-button {
    width: 38px;
    height: 38px;
  }

  .nav-button svg {
    width: 20px;
    height: 20px;
  }

  .nav-dots {
    gap: 9px;
  }

  .nav-dots button {
    width: 9px;
    height: 9px;
  }

  .nav-dots button.is-active {
    width: 28px;
  }

  .nav-hint,
  .pdf-link {
    display: none;
  }

  .is-preview .slide {
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
