:root {
  --porcelain: #f7f3ee;
  --ink: #171717;
  --cobalt: #ff6b3d;
  --coral: #ffb497;
  --aqua: #95d9be;
  --mist: #ded8d1;
  --white: #ffffff;
  --display: "Noto Sans Display", "Noto Sans", sans-serif;
  --body: "Noto Sans", "Liberation Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #090a10;
  color: var(--ink);
  font-family: var(--body);
}

button {
  font: inherit;
}

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

.deck-shell {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: var(--porcelain);
  container: deck / inline-size;
  isolation: isolate;
}

.deck {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 5.3cqw 6.2cqw 5.4cqw;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide::after {
  content: attr(data-slide);
  position: absolute;
  right: 2.25cqw;
  bottom: 1.45cqw;
  font: 700 0.82cqw/1 var(--display);
  color: currentColor;
  opacity: 0.38;
}

.slide-heading {
  position: relative;
  display: grid;
  grid-template-columns: 3.1cqw 1fr;
  align-items: baseline;
  gap: 1.25cqw;
  z-index: 2;
}

.slide-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.25cqw;
  height: 2px;
  background: currentColor;
  opacity: 0.16;
}

.section-number {
  margin: 0;
  font: 800 1.05cqw/1 var(--display);
  color: var(--cobalt);
}

.slide-heading h2 {
  margin: 0;
  font: 750 3.25cqw/0.95 var(--display);
  letter-spacing: -0.055em;
}

.lead {
  margin: 0;
  max-width: 55cqw;
  font: 480 1.56cqw/1.35 var(--body);
  letter-spacing: -0.02em;
}

.light-heading,
.light-lead {
  color: var(--porcelain);
}

.light-heading .section-number {
  color: var(--aqua);
}

[data-motion] {
  opacity: 0;
}

.is-active.is-animating [data-motion] {
  animation: cut-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cut-in {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* Slide 1 */

.slide-cover {
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr auto;
  background: var(--porcelain);
}

.slide-cover::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 37%;
  height: 100%;
  background: var(--cobalt);
}

.cover-copy {
  position: relative;
  align-self: center;
  z-index: 2;
}

.group-mark {
  width: max-content;
  margin: 0 0 3.1cqw;
  padding: 0.4cqw 0.76cqw 0.48cqw;
  border: 2px solid var(--ink);
  font: 750 0.94cqw/1 var(--display);
}

.cover-copy h1 {
  margin: 0;
  max-width: 60cqw;
  font: 780 5.1cqw/0.93 var(--display);
  letter-spacing: -0.068em;
}

.cover-definition {
  max-width: 40cqw;
  margin: 2cqw 0 0;
  font: 500 1.42cqw/1.4 var(--body);
}

.cover-conversation {
  position: relative;
  align-self: center;
  height: 24cqw;
  z-index: 2;
}

.person-node {
  position: absolute;
  left: 0.8cqw;
  top: 8cqw;
  width: 6.2cqw;
  height: 8.5cqw;
}

.person-head {
  position: absolute;
  left: 1.75cqw;
  top: 0;
  width: 2.7cqw;
  height: 2.7cqw;
  border-radius: 50%;
  background: var(--ink);
}

.person-body {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6.2cqw;
  height: 5.1cqw;
  border-radius: 3.2cqw 3.2cqw 0 0;
  background: var(--ink);
}

.signal-rail {
  position: absolute;
  left: 1.4cqw;
  right: 19cqw;
  top: 11.6cqw;
  height: 0.32cqw;
  background: var(--aqua);
  transform-origin: left;
}

.signal-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.25cqw;
  height: 1.25cqw;
  border-radius: 50%;
  background: var(--coral);
  transform: translate(-50%, -50%);
}

.screen-node {
  position: absolute;
  right: -1.7cqw;
  top: 3.1cqw;
  width: 20.7cqw;
  height: 17.2cqw;
  border: 0.35cqw solid var(--porcelain);
  background: var(--ink);
  color: var(--porcelain);
  box-shadow: 1.1cqw 1.1cqw 0 var(--aqua);
  transform: rotate(2.5deg);
}

.screen-top {
  display: block;
  height: 2.4cqw;
  border-bottom: 2px solid rgba(247, 246, 242, 0.45);
}

.screen-top::before {
  content: "●  ●  ●";
  display: block;
  padding: 0.65cqw 0 0 0.8cqw;
  color: var(--coral);
  font-size: 0.63cqw;
  letter-spacing: 0.3cqw;
}

.screen-message {
  position: absolute;
  left: 1.5cqw;
  top: 6.45cqw;
  font: 750 2.4cqw/1 var(--display);
}

.screen-cursor {
  position: absolute;
  left: 9.35cqw;
  top: 6.2cqw;
  width: 0.33cqw;
  height: 2.8cqw;
  background: var(--aqua);
}

.cover-prompt {
  grid-column: 1 / -1;
  position: relative;
  width: max-content;
  margin: 0;
  padding-top: 1.35cqw;
  border-top: 0.26cqw solid var(--ink);
  font: 680 1.15cqw/1 var(--display);
  z-index: 3;
}

.slide-cover.is-active.is-animating .cover-copy h1 {
  animation-name: title-unmask;
  animation-duration: 780ms;
}

.slide-cover.is-active.is-animating .cover-definition {
  animation-delay: 520ms;
}

.slide-cover.is-active.is-animating .person-node {
  animation-name: person-enter;
  animation-delay: 520ms;
}

.slide-cover.is-active.is-animating .signal-rail {
  animation-name: line-draw;
  animation-delay: 880ms;
  animation-duration: 900ms;
}

.slide-cover.is-active.is-animating .signal-pulse {
  animation: signal-travel 900ms 900ms cubic-bezier(0.5, 0, 0.3, 1) both;
}

.slide-cover.is-active.is-animating .screen-node {
  animation-name: screen-receive;
  animation-delay: 1.54s;
}

.slide-cover.is-active.is-animating .screen-cursor {
  animation: cursor-blink 1s 2.1s steps(1) infinite;
}

.slide-cover.is-active.is-animating .cover-prompt {
  animation-delay: 2.1s;
}

@keyframes title-unmask {
  from { opacity: 0; letter-spacing: -0.13em; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; letter-spacing: -0.068em; clip-path: inset(0); }
}

@keyframes person-enter {
  from { opacity: 0; transform: translateX(2.4cqw); clip-path: inset(0); }
  to { opacity: 1; transform: translateX(0); clip-path: inset(0); }
}

@keyframes line-draw {
  from { opacity: 1; transform: scaleX(0); clip-path: inset(0); }
  to { opacity: 1; transform: scaleX(1); clip-path: inset(0); }
}

@keyframes signal-travel {
  from { opacity: 1; left: 0; clip-path: inset(0); }
  to { opacity: 1; left: 100%; clip-path: inset(0); }
}

@keyframes screen-receive {
  from { opacity: 0; transform: translateX(3cqw) rotate(9deg); clip-path: inset(0); box-shadow: 0 0 0 var(--aqua); }
  to { opacity: 1; transform: translateX(0) rotate(2.5deg); clip-path: inset(0); box-shadow: 1.1cqw 1.1cqw 0 var(--aqua); }
}

@keyframes cursor-blink {
  0%, 46% { opacity: 1; clip-path: inset(0); }
  47%, 100% { opacity: 0; clip-path: inset(0); }
}

/* Slide 2 */

.slide-definition {
  grid-template-rows: auto auto 1fr auto;
  gap: 2.4cqw;
  background: var(--porcelain);
}

.definition-lead {
  margin-top: 0.4cqw;
}

.exchange {
  display: grid;
  grid-template-columns: 1fr 5cqw 1fr 5cqw 1fr;
  align-items: center;
  align-self: center;
}

.exchange-stop {
  position: relative;
  min-height: 14cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5cqw;
  border: 0.24cqw solid var(--ink);
  background: var(--white);
}

.exchange-stop strong {
  max-width: 13cqw;
  font: 720 1.4cqw/1.2 var(--display);
  letter-spacing: -0.03em;
}

.exchange-label {
  font: 700 0.82cqw/1 var(--body);
  color: var(--cobalt);
}

.action-stop {
  transform: rotate(-2deg);
}

.interface-stop {
  min-height: 16.2cqw;
  background: var(--cobalt);
  color: var(--white);
  transform: translateY(-0.9cqw);
}

.interface-stop .exchange-label {
  color: var(--aqua);
}

.response-stop {
  transform: rotate(2deg);
}

.tap-finger {
  align-self: flex-end;
  width: 3.1cqw;
  height: 3.1cqw;
  display: grid;
  place-items: center;
  border: 0.2cqw solid var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font-size: 1cqw;
}

.demo-save {
  width: 100%;
  padding: 1cqw;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-weight: 760;
  cursor: pointer;
}

.status-check {
  align-self: flex-end;
  width: 3.1cqw;
  height: 3.1cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  font: 800 1.45cqw/1 var(--display);
}

.exchange-line {
  height: 0.28cqw;
  background: var(--cobalt);
  transform-origin: left;
}

.exchange-line::after {
  content: "";
  float: right;
  width: 0;
  height: 0;
  margin-top: -0.38cqw;
  border-top: 0.52cqw solid transparent;
  border-bottom: 0.52cqw solid transparent;
  border-left: 0.8cqw solid var(--cobalt);
}

.definition-foot {
  margin: 0;
  max-width: 46cqw;
  padding-left: 1.1cqw;
  border-left: 0.32cqw solid var(--coral);
  font: 650 1.15cqw/1.35 var(--display);
}

.slide-definition.is-active.is-animating .definition-lead { animation-delay: 180ms; }
.slide-definition.is-active.is-animating .action-stop { animation-delay: 500ms; }
.slide-definition.is-active.is-animating .first-line { animation-name: line-draw; animation-delay: 900ms; }
.slide-definition.is-active.is-animating .interface-stop { animation-delay: 1.1s; }
.slide-definition.is-active.is-animating .second-line { animation-name: line-draw; animation-delay: 1.5s; }
.slide-definition.is-active.is-animating .response-stop { animation-delay: 1.7s; }
.slide-definition.is-active.is-animating .definition-foot { animation-delay: 2.1s; }

.response-stop.is-confirmed {
  animation: confirm-pop 420ms cubic-bezier(0.2, 1.6, 0.4, 1) both;
}

@keyframes confirm-pop {
  0% { transform: rotate(2deg) scale(1); }
  55% { transform: rotate(2deg) scale(1.08); }
  100% { transform: rotate(2deg) scale(1); }
}

/* Slide 3 */

.slide-importance {
  grid-template-rows: auto auto 1fr auto;
  gap: 2.1cqw;
  background: var(--ink);
  color: var(--porcelain);
}

.slide-importance::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 0.2cqw;
  background: rgba(247, 246, 242, 0.08);
}

.task-comparison {
  display: grid;
  grid-template-columns: 1fr 7cqw 1fr;
  align-items: center;
  min-height: 24cqw;
}

.task-path {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 1.3cqw;
}

.path-name {
  grid-column: 1 / -1;
  margin: 0 0 0.1cqw;
  font: 700 0.94cqw/1 var(--display);
}

.confusing-path .path-name {
  color: var(--coral);
}

.clear-path .path-name {
  color: var(--aqua);
}

.mini-screen {
  position: relative;
  height: 17.4cqw;
  padding: 1.15cqw;
  border: 0.2cqw solid rgba(247, 246, 242, 0.55);
  background: #242738;
}

.mini-screen > p {
  margin: 0 0 1.4cqw;
  font: 720 1.1cqw/1.2 var(--display);
}

.bad-screen {
  transform: rotate(-1.7deg);
}

.bad-screen button {
  position: absolute;
  right: 1cqw;
  bottom: 1cqw;
  padding: 0.48cqw 1.25cqw;
  border: 1px solid #878b9f;
  background: #5b5f72;
  color: var(--white);
  font-size: 0.78cqw;
}

.fake-field {
  display: block;
  width: 100%;
  height: 2.25cqw;
  margin: 0.65cqw 0;
  border: 1px solid #65697c;
}

.fake-field.short {
  width: 57%;
}

.lost-status {
  position: absolute;
  left: 1.15cqw;
  bottom: 1.1cqw;
  color: #777b8d;
}

.good-screen {
  border-color: var(--aqua);
  background: var(--porcelain);
  color: var(--ink);
  box-shadow: 0.8cqw 0.8cqw 0 var(--cobalt);
}

.file-chip {
  display: block;
  margin-bottom: 1cqw;
  padding: 0.72cqw;
  border: 1px solid var(--mist);
  font-size: 0.78cqw;
}

.good-screen button {
  width: 100%;
  padding: 0.72cqw;
  border: 0;
  background: var(--cobalt);
  color: var(--white);
  font-weight: 740;
  font-size: 0.78cqw;
}

.upload-track {
  display: block;
  height: 0.32cqw;
  margin-top: 1cqw;
  background: var(--mist);
  overflow: hidden;
}

.upload-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--aqua);
}

.success-message {
  display: block;
  margin-top: 0.7cqw;
  color: #16766f;
  font-weight: 700;
  font-size: 0.78cqw;
  opacity: 0;
}

.friction-count strong {
  display: block;
  font: 780 5cqw/0.9 var(--display);
  letter-spacing: -0.08em;
}

.confusing-path .friction-count strong { color: var(--coral); }
.clear-path .friction-count strong { color: var(--aqua); }

.friction-count span {
  display: block;
  max-width: 8.5cqw;
  margin-top: 0.65cqw;
  font-size: 0.84cqw;
  line-height: 1.35;
  color: var(--mist);
}

.comparison-divider {
  display: grid;
  place-items: center;
  height: 100%;
}

.comparison-divider::before {
  content: "";
  width: 1px;
  height: 76%;
  background: rgba(247, 246, 242, 0.22);
}

.comparison-divider span {
  position: absolute;
  padding: 0.55cqw 0;
  background: var(--ink);
  color: var(--mist);
  font-size: 0.72cqw;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.importance-foot {
  margin: 0;
  color: var(--mist);
  font: 600 1.08cqw/1.3 var(--display);
}

.slide-importance.is-active.is-animating .light-lead { animation-delay: 180ms; }
.slide-importance.is-active.is-animating .confusing-path { animation-delay: 520ms; }
.slide-importance.is-active.is-animating .comparison-divider { animation-delay: 920ms; }
.slide-importance.is-active.is-animating .clear-path { animation-delay: 1.2s; }
.slide-importance.is-active.is-animating .importance-foot { animation-delay: 2.45s; }
.slide-importance.is-active.is-animating .upload-track span {
  animation: upload-progress 900ms 1.65s cubic-bezier(0.3, 0, 0.2, 1) forwards;
}
.slide-importance.is-active.is-animating .success-message {
  animation: status-arrive 400ms 2.35s ease-out forwards;
}

@keyframes upload-progress { to { width: 100%; } }
@keyframes status-arrive { from { opacity: 0; transform: translateY(0.5cqw); } to { opacity: 1; transform: none; } }

/* Slide 4 */

.slide-types {
  grid-template-rows: auto auto 1fr;
  gap: 2cqw;
  background: var(--porcelain);
}

.types-lead {
  margin-top: 0.35cqw;
}

.types-layout {
  display: grid;
  grid-template-columns: 26cqw 1fr;
  align-items: stretch;
  gap: 3.2cqw;
  min-height: 29cqw;
  padding-bottom: 1.5cqw;
}

.type-selector {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.type-selector button {
  position: relative;
  display: grid;
  grid-template-columns: 9.2cqw 1fr;
  align-items: baseline;
  gap: 1.1cqw;
  width: 100%;
  padding: 1.05cqw 0.8cqw 1.05cqw 1.3cqw;
  border: 0;
  border-bottom: 1px solid var(--mist);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.type-selector button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6cqw;
  bottom: 0.6cqw;
  width: 0.24cqw;
  background: transparent;
}

.type-selector button[aria-pressed="true"]::before {
  background: var(--cobalt);
}

.type-selector button[aria-pressed="true"] strong {
  color: var(--cobalt);
}

.type-selector strong {
  font: 720 1.08cqw/1.1 var(--display);
}

.type-selector span {
  font-size: 0.79cqw;
  color: #5f6374;
}

.interface-stage {
  position: relative;
  min-height: 28cqw;
  border: 0.25cqw solid var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: 1cqw 1cqw 0 var(--cobalt);
  overflow: hidden;
}

.stage-kicker {
  position: absolute;
  top: 1.25cqw;
  left: 1.4cqw;
  z-index: 4;
  margin: 0;
  color: var(--aqua);
  font: 700 0.76cqw/1 var(--body);
}

.interface-demo {
  position: absolute;
  inset: 4cqw 1.5cqw 1.5cqw;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 280ms ease, transform 500ms cubic-bezier(0.2, 1, 0.3, 1);
}

.interface-stage[data-interface-state="gui"] .demo-gui,
.interface-stage[data-interface-state="touch"] .demo-touch,
.interface-stage[data-interface-state="voice"] .demo-voice,
.interface-stage[data-interface-state="cli"] .demo-cli,
.interface-stage[data-interface-state="gesture"] .demo-gesture {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.gui-window {
  width: 24cqw;
  height: 15cqw;
  display: grid;
  grid-template-columns: 5cqw 1fr;
  grid-template-rows: 2.4cqw 4cqw 1fr;
  border: 0.2cqw solid var(--porcelain);
  background: var(--porcelain);
  color: var(--ink);
}

.window-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.38cqw;
  padding-left: 0.75cqw;
  background: var(--mist);
}

.window-bar i {
  width: 0.56cqw;
  height: 0.56cqw;
  border-radius: 50%;
  background: var(--coral);
}

.window-bar i:nth-child(2) { background: #ffba45; }
.window-bar i:nth-child(3) { background: var(--aqua); }

.gui-sidebar {
  grid-row: 2 / 4;
  background: var(--cobalt);
}

.gui-title {
  align-self: end;
  padding-left: 1.3cqw;
  font: 720 1.25cqw/1 var(--display);
}

.gui-event {
  align-self: start;
  margin: 1cqw 1.2cqw;
  padding: 1cqw;
  border-left: 0.3cqw solid var(--coral);
  background: var(--white);
  font-size: 0.82cqw;
}

.touch-phone {
  position: relative;
  width: 11cqw;
  height: 20cqw;
  border: 0.35cqw solid var(--porcelain);
  border-radius: 1.7cqw;
  background: var(--cobalt);
}

.touch-card {
  position: absolute;
  left: 1cqw;
  right: 1cqw;
  top: 4.6cqw;
  padding: 1.25cqw 0.8cqw;
  background: var(--porcelain);
  color: var(--ink);
  font: 700 0.8cqw/1.2 var(--display);
}

.touch-ring {
  position: absolute;
  left: 50%;
  top: 7.1cqw;
  width: 3.6cqw;
  height: 3.6cqw;
  border: 0.22cqw solid var(--coral);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: touch-ping 1.1s ease-out infinite;
}

@keyframes touch-ping {
  from { opacity: 1; transform: translate(-50%, -50%) scale(0.3); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

.demo-voice {
  align-content: center;
  gap: 1.4cqw;
  text-align: center;
}

.demo-voice p {
  margin: 0;
  font: 700 1.55cqw/1.2 var(--display);
}

.demo-voice > span {
  color: var(--aqua);
  font-size: 0.86cqw;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 0.48cqw;
  height: 5cqw;
}

.waveform i {
  width: 0.45cqw;
  height: 28%;
  background: var(--coral);
  animation: voice-wave 800ms ease-in-out infinite alternate;
}

.waveform i:nth-child(2), .waveform i:nth-child(6) { height: 55%; animation-delay: 120ms; }
.waveform i:nth-child(3), .waveform i:nth-child(5) { height: 82%; animation-delay: 240ms; }
.waveform i:nth-child(4) { height: 100%; animation-delay: 360ms; }

@keyframes voice-wave { to { transform: scaleY(0.35); } }

.terminal-demo {
  width: 27cqw;
  min-height: 12cqw;
  padding: 1.4cqw;
  border: 1px solid #596074;
  background: #090b12;
  font: 500 1cqw/2.2 "DejaVu Sans Mono", monospace;
}

.terminal-demo span,
.terminal-demo strong {
  display: block;
}

.terminal-demo span { color: var(--aqua); }
.terminal-demo strong { color: var(--porcelain); }
.terminal-demo i {
  display: block;
  width: 0.7cqw;
  height: 1.2cqw;
  margin-top: 0.4cqw;
  background: var(--coral);
  animation: terminal-blink 1s steps(1) infinite;
}

@keyframes terminal-blink { 50% { opacity: 0; } }

.demo-gesture {
  align-content: center;
  gap: 0.8cqw;
  text-align: center;
}

.gesture-icon {
  font-size: 7cqw;
  line-height: 1;
  transform-origin: bottom center;
  animation: gesture-point 1.3s ease-in-out infinite alternate;
}

.demo-gesture p {
  margin: 0;
  font: 700 1.25cqw/1.2 var(--display);
}

.gesture-response {
  color: var(--aqua);
  font-size: 0.85cqw;
}

@keyframes gesture-point { to { transform: translateX(1.4cqw) rotate(7deg); } }

.slide-types.is-active.is-animating .types-lead { animation-delay: 160ms; }
.slide-types.is-active.is-animating .type-selector { animation-delay: 450ms; }
.slide-types.is-active.is-animating .interface-stage { animation-delay: 760ms; }

/* Slide 5 */

.slide-ui-ux {
  grid-template-rows: auto auto 1fr auto;
  gap: 2.2cqw;
  background: var(--cobalt);
  color: var(--porcelain);
}

.slide-ui-ux .light-heading .section-number {
  color: var(--coral);
}

.ui-ux-statement {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2.4cqw;
  padding-top: 0.7cqw;
}

.ui-ux-statement > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1.4cqw;
}

.ui-ux-statement strong {
  width: 5.2cqw;
  height: 5.2cqw;
  display: grid;
  place-items: center;
  background: var(--porcelain);
  color: var(--ink);
  font: 800 1.65cqw/1 var(--display);
}

.ux-definition strong {
  background: var(--coral);
  color: var(--ink);
}

.ui-ux-statement p {
  margin: 0.3cqw 0 0;
  max-width: 28cqw;
  font: 570 1.1cqw/1.42 var(--body);
}

.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 1.35cqw;
  min-height: 22cqw;
  padding: 2.3cqw 2.4cqw 4.9cqw;
  border: 0.22cqw solid var(--porcelain);
}

.journey-line {
  position: absolute;
  left: 7.5cqw;
  right: 7.5cqw;
  top: 8.2cqw;
  height: 0.24cqw;
  background: var(--aqua);
}

.journey article {
  position: relative;
  min-height: 10.8cqw;
  padding: 1.2cqw;
  background: var(--porcelain);
  color: var(--ink);
  z-index: 2;
}

.journey article i {
  display: grid;
  place-items: center;
  width: 2.2cqw;
  height: 2.2cqw;
  margin-bottom: 1.25cqw;
  border-radius: 50%;
  background: var(--ink);
  color: var(--porcelain);
  font-style: normal;
  font-size: 0.74cqw;
}

.journey article strong {
  display: block;
  margin-bottom: 0.55cqw;
  font: 740 1.2cqw/1 var(--display);
}

.journey article span {
  display: block;
  color: #626678;
  font-size: 0.78cqw;
  line-height: 1.3;
}

.journey .ui-moment {
  background: var(--ink);
  color: var(--porcelain);
  box-shadow: 0.6cqw 0.6cqw 0 var(--coral);
  transform: translateY(-0.75cqw);
}

.journey .ui-moment i {
  background: var(--aqua);
  color: var(--ink);
}

.journey .ui-moment span {
  color: var(--mist);
}

.journey .ui-moment .ui-tag {
  position: absolute;
  right: 1.1cqw;
  top: 1.25cqw;
  padding: 0.38cqw 0.55cqw;
  background: var(--coral);
  color: var(--ink);
  font-weight: 750;
  font-size: 0.66cqw;
}

.ux-bracket {
  position: absolute;
  left: 2.4cqw;
  right: 2.4cqw;
  bottom: 0.35cqw;
  height: 1.45cqw;
  border: solid currentColor;
  border-width: 0.18cqw 0.18cqw 0;
  padding-top: 0.42cqw;
  text-align: center;
  color: var(--ink);
  font: 750 0.74cqw/1 var(--body);
}

.ui-ux-foot {
  margin: 0;
  font: 650 1.08cqw/1.2 var(--display);
}

.slide-ui-ux.is-active.is-animating .ui-definition { animation-delay: 250ms; }
.slide-ui-ux.is-active.is-animating .ux-definition { animation-delay: 550ms; }
.slide-ui-ux.is-active.is-animating .journey { animation-delay: 900ms; }
.slide-ui-ux.is-active.is-animating .ui-ux-foot { animation-delay: 1.55s; }

/* Slide 6 */

.slide-close {
  grid-template-rows: 11cqw 1fr auto;
  background: var(--porcelain);
}

.closing-thread {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.7cqw;
}

.closing-person,
.closing-system {
  font: 780 0.82cqw/1 var(--display);
  letter-spacing: 0.16em;
}

.closing-line {
  position: relative;
  height: 0.3cqw;
  background: var(--cobalt);
}

.closing-line i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 50%;
  background: var(--coral);
  transform: translate(-50%, -50%);
}

.closing-copy {
  align-self: center;
}

.closing-copy h2 {
  margin: 0;
  max-width: 70cqw;
  font: 790 6.1cqw/0.92 var(--display);
  letter-spacing: -0.075em;
}

.closing-definitions {
  display: flex;
  gap: 3.5cqw;
  margin-top: 2.5cqw;
}

.closing-definitions p {
  margin: 0;
  font-size: 1.1cqw;
}

.closing-definitions strong {
  color: var(--cobalt);
}

.closing-question {
  width: max-content;
  margin: 4cqw 0 0;
  padding: 1.15cqw 1.5cqw;
  background: var(--coral);
  color: var(--ink);
  font: 730 1.45cqw/1 var(--display);
}

.thanks {
  margin: 0;
  font: 700 0.92cqw/1 var(--display);
}

.slide-close.is-active.is-animating .closing-thread { animation-name: line-draw; animation-duration: 1.1s; }
.slide-close.is-active.is-animating .closing-copy h2 { animation-delay: 600ms; }
.slide-close.is-active.is-animating .closing-definitions { animation-delay: 1.05s; }
.slide-close.is-active.is-animating .closing-question { animation-delay: 1.45s; }
.slide-close.is-active.is-animating .thanks { animation-delay: 1.9s; }

/* Enhanced interactive samples */

.sample-app-bar {
  display: flex;
  align-items: center;
  gap: 0.72cqw;
  min-height: 3.25cqw;
  padding: 0 1.15cqw;
  border-bottom: 1px solid var(--mist);
  background: var(--white);
}

.app-mark {
  width: 1.65cqw;
  height: 1.65cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  font: 800 0.7cqw/1 var(--display);
}

.sample-app-bar strong {
  font: 730 0.88cqw/1 var(--display);
}

.sample-state {
  margin-left: auto;
  padding: 0.35cqw 0.62cqw;
  background: var(--mist);
  color: #5a5d69;
  font-size: 0.66cqw;
  font-weight: 700;
}

.definition-demo {
  position: relative;
  display: grid;
  grid-template-columns: 13.5cqw minmax(0, 1fr) 13.5cqw;
  align-items: center;
  gap: 2cqw;
  min-height: 26.4cqw;
}

.sample-caption {
  position: relative;
  padding-top: 3.1cqw;
}

.sample-caption > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.3cqw;
  height: 2.3cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font: 760 0.78cqw/1 var(--display);
}

.sample-caption strong {
  display: block;
  margin-bottom: 0.6cqw;
  font: 760 1.15cqw/1 var(--display);
}

.sample-caption p {
  margin: 0;
  color: #666a78;
  font-size: 0.82cqw;
  line-height: 1.45;
}

.action-caption::after,
.response-caption::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 2cqw;
  height: 0.22cqw;
  background: var(--cobalt);
}

.action-caption::after {
  right: -2cqw;
}

.response-caption::before {
  left: -2cqw;
}

.note-sample {
  position: relative;
  height: 23cqw;
  border: 0.24cqw solid var(--ink);
  background: var(--porcelain);
  box-shadow: 0.85cqw 0.85cqw 0 var(--cobalt);
  overflow: hidden;
}

.note-editor {
  position: relative;
  height: 13.25cqw;
  margin-right: 15.8cqw;
  padding: 1.45cqw 1.55cqw;
  border-right: 1px solid var(--mist);
  background: var(--white);
}

.note-label {
  display: block;
  margin-bottom: 0.85cqw;
  color: #757986;
  font-size: 0.65cqw;
  font-weight: 700;
}

.note-editor strong {
  display: block;
  margin-bottom: 0.9cqw;
  font: 760 1.35cqw/1 var(--display);
}

.note-editor p {
  max-width: 24cqw;
  margin: 0;
  font-size: 0.92cqw;
  line-height: 1.5;
}

.note-caret {
  display: inline-block;
  width: 0.18cqw;
  height: 1.15cqw;
  margin: 0.2cqw 0 0 0.2cqw;
  background: var(--cobalt);
  animation: terminal-blink 900ms steps(1) infinite;
}

.note-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 5.9cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1cqw;
  padding: 1.25cqw 1.55cqw;
  border-top: 1px solid var(--mist);
  background: var(--porcelain);
}

.note-actions > span {
  color: #686c78;
  font-size: 0.78cqw;
}

.note-actions button {
  min-width: 11.5cqw;
  min-height: 3.05cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65cqw;
  border: 0;
  background: var(--cobalt);
  color: var(--white);
  font-weight: 760;
  cursor: pointer;
}

.note-actions button:disabled {
  cursor: wait;
}

.button-spinner {
  display: none;
  width: 1cqw;
  height: 1cqw;
  border: 0.15cqw solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: sample-spin 650ms linear infinite;
}

.note-toast {
  position: absolute;
  top: 5.2cqw;
  right: 1.35cqw;
  width: 13.2cqw;
  display: grid;
  grid-template-columns: 2.55cqw 1fr;
  align-items: center;
  gap: 0.8cqw;
  padding: 1.05cqw;
  border: 0.16cqw solid var(--ink);
  background: var(--white);
  box-shadow: 0.5cqw 0.5cqw 0 var(--aqua);
  opacity: 0;
  transform: translateX(2cqw);
  transition: opacity 240ms ease, transform 420ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.note-toast > span {
  width: 2.55cqw;
  height: 2.55cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--ink);
  font: 800 1.1cqw/1 var(--display);
}

.note-toast p,
.note-toast strong,
.note-toast small {
  display: block;
  margin: 0;
}

.note-toast strong {
  font-size: 0.82cqw;
}

.note-toast small {
  margin-top: 0.25cqw;
  color: #666a78;
  font-size: 0.62cqw;
}

.note-sample[data-note-state="saving"] .button-spinner {
  display: block;
}

.note-sample[data-note-state="saving"] .sample-state {
  background: var(--coral);
  color: var(--ink);
}

.note-sample[data-note-state="saved"] .sample-state {
  background: var(--aqua);
  color: var(--ink);
}

.note-sample[data-note-state="saved"] .note-toast {
  opacity: 1;
  transform: translateX(0);
}

.note-sample[data-note-state="saved"] .note-caret {
  opacity: 0;
}

.interface-caption {
  position: absolute;
  left: 30cqw;
  bottom: -0.3cqw;
  margin: 0;
  font-size: 0.78cqw;
  font-weight: 700;
}

.interface-caption span {
  display: inline-grid;
  place-items: center;
  width: 1.65cqw;
  height: 1.65cqw;
  margin-right: 0.45cqw;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
}

.slide-definition.is-active.is-animating .action-caption { animation-delay: 420ms; }
.slide-definition.is-active.is-animating .note-sample { animation-delay: 700ms; }
.slide-definition.is-active.is-animating .response-caption { animation-delay: 1.05s; }
.slide-definition.is-active.is-animating .interface-caption { animation-delay: 1.3s; }

@keyframes sample-spin {
  to { transform: rotate(360deg); }
}

.mini-app-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.65cqw;
  display: flex;
  align-items: center;
  gap: 0.28cqw;
  padding-left: 0.75cqw;
  border-bottom: 1px solid rgba(127, 131, 154, 0.28);
  background: rgba(222, 216, 209, 0.42);
}

.mini-app-bar span {
  width: 0.43cqw;
  height: 0.43cqw;
  border-radius: 50%;
  background: var(--coral);
}

.mini-app-bar span:nth-child(2) { background: #ffc04a; }
.mini-app-bar span:nth-child(3) { background: var(--aqua); }

.mini-screen > p {
  margin-top: 1.55cqw;
}

.bad-screen label {
  display: grid;
  grid-template-columns: 4.2cqw 1fr;
  align-items: center;
  gap: 0.5cqw;
  margin: 0.6cqw 0;
  color: #a7aabb;
  font-size: 0.62cqw;
}

.bad-screen .fake-field {
  width: 100%;
  margin: 0;
}

.bad-screen .fake-field.short {
  width: 62%;
}

[data-upload-kind="confusing"][data-upload-state="error"] .bad-screen {
  border-color: var(--coral);
  animation: sample-shake 360ms ease both;
}

[data-upload-kind="confusing"][data-upload-state="error"] .lost-status {
  padding: 0.35cqw 0.55cqw;
  background: var(--coral);
  color: var(--ink);
  font-weight: 800;
}

.file-chip {
  display: grid;
  grid-template-columns: 2.2cqw 1fr;
  align-items: center;
  gap: 0.75cqw;
}

.file-chip > strong {
  width: 2.2cqw;
  height: 2.2cqw;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: 0.68cqw;
}

.file-chip > span,
.file-chip small {
  display: block;
}

.file-chip small {
  margin-top: 0.2cqw;
  color: #777b86;
  font-size: 0.58cqw;
}

.slide-importance.is-active.is-animating .upload-track span,
.slide-importance.is-active.is-animating .success-message {
  animation: none;
}

[data-upload-kind="clear"] .upload-track span {
  width: 0;
  transition: width 820ms cubic-bezier(0.3, 0, 0.2, 1);
}

[data-upload-kind="clear"][data-upload-state="uploading"] .upload-track span {
  width: 72%;
}

[data-upload-kind="clear"][data-upload-state="submitted"] .upload-track span {
  width: 100%;
}

[data-upload-kind="clear"] .success-message {
  opacity: 1;
  color: #5f6371;
}

[data-upload-kind="clear"][data-upload-state="uploading"] .success-message {
  color: #8a5518;
}

[data-upload-kind="clear"][data-upload-state="submitted"] .success-message {
  color: #087267;
  font-weight: 800;
}

[data-upload-kind="clear"][data-upload-state="submitted"] .good-screen {
  box-shadow: 0.8cqw 0.8cqw 0 var(--aqua);
}

@keyframes sample-shake {
  0%, 100% { transform: rotate(-1.7deg) translateX(0); }
  30% { transform: rotate(-1.7deg) translateX(-0.45cqw); }
  60% { transform: rotate(-1.7deg) translateX(0.45cqw); }
}

.stage-progress {
  position: absolute;
  top: 1.05cqw;
  right: 1.35cqw;
  z-index: 4;
  margin: 0;
  text-align: right;
}

.stage-progress strong,
.stage-progress span {
  display: block;
}

.stage-progress strong {
  color: var(--porcelain);
  font: 760 0.78cqw/1 var(--display);
}

.stage-progress span {
  margin-top: 0.35cqw;
  color: #8b90a2;
  font-size: 0.6cqw;
}

.gui-window {
  width: 28.5cqw;
  height: 17cqw;
}

.touch-phone {
  width: 12.5cqw;
  height: 21.5cqw;
}

.terminal-demo {
  width: 30cqw;
}

.journey-workbench {
  display: grid;
  grid-template-columns: 22.5cqw minmax(0, 1fr);
  gap: 2cqw;
  min-height: 24.3cqw;
  padding: 1.35cqw;
  border: 0.22cqw solid var(--porcelain);
}

.journey-selector {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journey-selector button {
  min-height: 5.05cqw;
  display: grid;
  grid-template-columns: 2.15cqw 1fr;
  align-items: center;
  gap: 0.85cqw;
  padding: 0.65cqw 0.85cqw;
  border: 0;
  border-bottom: 1px solid rgba(247, 243, 238, 0.34);
  background: transparent;
  color: var(--porcelain);
  text-align: left;
  cursor: pointer;
}

.journey-selector button[aria-pressed="true"] {
  background: var(--ink);
  box-shadow: inset 0.28cqw 0 0 var(--aqua);
}

.journey-selector i {
  width: 2cqw;
  height: 2cqw;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
  font-size: 0.68cqw;
}

.journey-selector span,
.journey-selector strong,
.journey-selector small {
  display: block;
}

.journey-selector strong {
  font: 740 0.96cqw/1 var(--display);
}

.journey-selector small {
  margin-top: 0.35cqw;
  color: rgba(247, 243, 238, 0.72);
  font-size: 0.65cqw;
}

.journey-sample {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.5cqw;
  align-items: center;
  gap: 1.25cqw;
  min-width: 0;
  padding: 1.25cqw;
  background: var(--ink);
  box-shadow: 0.75cqw 0.75cqw 0 var(--coral);
}

.journey-device {
  position: relative;
  height: 19.1cqw;
  border: 0.18cqw solid var(--porcelain);
  background: var(--porcelain);
  color: var(--ink);
  overflow: hidden;
}

.journey-device > header {
  height: 2.85cqw;
  display: flex;
  align-items: center;
  gap: 0.65cqw;
  padding: 0 0.9cqw;
  border-bottom: 1px solid var(--mist);
  background: var(--white);
}

.journey-device > header strong {
  font-size: 0.76cqw;
}

.journey-device > header i {
  width: 1.45cqw;
  height: 0.3cqw;
  margin-left: auto;
  border-top: 0.18cqw solid var(--ink);
  border-bottom: 0.18cqw solid var(--ink);
}

.journey-screen {
  position: absolute;
  inset: 2.85cqw 0 0;
  padding: 1.35cqw;
  visibility: hidden;
  opacity: 0;
  transform: translateX(1.4cqw);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.2, 1, 0.3, 1);
}

.journey-sample[data-journey-state="find"] .journey-screen-find,
.journey-sample[data-journey-state="use"] .journey-screen-use,
.journey-sample[data-journey-state="complete"] .journey-screen-complete,
.journey-sample[data-journey-state="return"] .journey-screen-return {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.screen-step {
  display: block;
  margin-bottom: 1.05cqw;
  color: var(--cobalt);
  font-size: 0.62cqw;
  font-weight: 800;
}

.journey-screen > strong {
  display: block;
  font: 760 1.25cqw/1.15 var(--display);
}

.search-sample {
  display: flex;
  justify-content: space-between;
  margin-top: 1.1cqw;
  padding: 0.82cqw 0.9cqw;
  border: 1px solid var(--mist);
  background: var(--white);
  color: #5b5f6d;
  font-size: 0.72cqw;
}

.search-result,
.return-shortcut {
  display: grid;
  grid-template-columns: 2.65cqw 1fr;
  align-items: center;
  gap: 0.75cqw;
  margin-top: 0.85cqw;
  padding: 0.75cqw;
  background: var(--white);
  box-shadow: inset 0.2cqw 0 0 var(--cobalt);
}

.search-result > i,
.return-shortcut > i {
  width: 2.35cqw;
  height: 2.35cqw;
  display: grid;
  place-items: center;
  background: var(--cobalt);
  color: var(--white);
  font-style: normal;
  font-size: 1cqw;
}

.search-result span,
.search-result strong,
.search-result small,
.return-shortcut span,
.return-shortcut strong,
.return-shortcut small {
  display: block;
}

.search-result strong,
.return-shortcut strong {
  font-size: 0.75cqw;
}

.search-result small,
.return-shortcut small {
  margin-top: 0.25cqw;
  color: #757986;
  font-size: 0.58cqw;
}

.schedule-sample {
  margin-top: 1.25cqw;
  padding: 1cqw;
  border-left: 0.28cqw solid var(--cobalt);
  background: var(--white);
}

.schedule-sample span,
.schedule-sample strong,
.schedule-sample small {
  display: block;
}

.schedule-sample strong {
  font-size: 0.78cqw;
}

.schedule-sample small {
  margin-top: 0.3cqw;
  color: #757986;
  font-size: 0.6cqw;
}

.schedule-sample button {
  width: 100%;
  margin-top: 0.9cqw;
  padding: 0.72cqw;
  border: 0;
  background: var(--cobalt);
  color: var(--white);
  font-size: 0.68cqw;
  font-weight: 760;
}

.journey-screen-complete {
  text-align: center;
}

.complete-check {
  width: 4.8cqw;
  height: 4.8cqw;
  display: grid;
  place-items: center;
  margin: 0 auto 1cqw;
  border-radius: 50%;
  background: var(--aqua);
  font: 800 2cqw/1 var(--display);
}

.journey-screen-complete p {
  margin: 0.55cqw 0 0;
  color: #6c707c;
  font-size: 0.72cqw;
}

.return-shortcut {
  margin-top: 1.3cqw;
  box-shadow: inset 0.2cqw 0 0 var(--aqua);
}

.return-shortcut > i {
  background: var(--aqua);
  color: var(--ink);
}

.scope-readout {
  display: grid;
  gap: 1cqw;
}

.scope-readout p {
  margin: 0;
  padding: 1.05cqw;
  border: 1px solid #4e5262;
}

.scope-readout strong,
.scope-readout span {
  display: block;
}

.scope-readout strong {
  color: var(--aqua);
  font: 800 1.05cqw/1 var(--display);
}

.scope-readout p:last-child strong {
  color: var(--coral);
}

.scope-readout span {
  margin-top: 0.55cqw;
  color: var(--mist);
  font-size: 0.68cqw;
  line-height: 1.4;
}

.slide-ui-ux.is-active.is-animating .journey-workbench { animation-delay: 900ms; }

/* Controls and notes */

.progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.34cqw;
  background: rgba(127, 131, 154, 0.24);
  z-index: 12;
}

#progress-fill {
  display: block;
  width: 16.6667%;
  height: 100%;
  background: var(--coral);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-controls {
  position: absolute;
  right: 1.8cqw;
  bottom: 2.55cqw;
  display: flex;
  align-items: center;
  gap: 0.4cqw;
  padding: 0.4cqw;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(13, 15, 25, 0.9);
  color: var(--white);
  opacity: 0.2;
  transition: opacity 180ms ease;
  z-index: 15;
}

.deck-shell:hover .deck-controls,
.deck-controls:focus-within {
  opacity: 1;
}

.deck-controls button {
  width: 2.15cqw;
  height: 2.15cqw;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
  cursor: pointer;
}

.deck-controls button:hover {
  background: var(--cobalt);
}

#slide-status {
  width: 5.5cqw;
  margin: 0;
  text-align: center;
  font-size: 0.68cqw;
}

.control-separator {
  width: 1px;
  height: 1.2cqw;
  background: rgba(255, 255, 255, 0.28);
}

.shortcut-hint {
  position: absolute;
  left: 50%;
  bottom: 1.3cqw;
  margin: 0;
  color: var(--ink);
  font-size: 0.62cqw;
  opacity: 0.3;
  transform: translateX(-50%);
  z-index: 10;
}

.slide-importance.is-active ~ .shortcut-hint,
.slide-ui-ux.is-active ~ .shortcut-hint {
  color: var(--white);
}

.notes-panel {
  position: absolute;
  top: 2cqw;
  right: 2cqw;
  bottom: 6.4cqw;
  width: 31cqw;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 0.2cqw solid var(--aqua);
  background: rgba(23, 25, 39, 0.97);
  color: var(--porcelain);
  box-shadow: 1cqw 1cqw 0 rgba(0, 0, 0, 0.28);
  transform: translateX(calc(100% + 4cqw));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 20;
}

.notes-panel.is-open {
  transform: translateX(0);
}

.notes-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2cqw 1.35cqw;
  border-bottom: 1px solid #494d61;
}

.notes-panel header strong {
  font-size: 0.9cqw;
}

.notes-panel header button {
  width: 2cqw;
  height: 2cqw;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.4cqw;
  cursor: pointer;
}

#notes-content {
  overflow: auto;
  padding: 1.4cqw;
  font-size: 0.98cqw;
  line-height: 1.55;
}

#notes-content p {
  margin: 0;
}

@media (max-aspect-ratio: 4 / 5) {
  .shortcut-hint {
    display: none;
  }
}

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

  [data-motion],
  .success-message,
  .upload-track span {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .upload-track span {
    width: 100%;
  }
}

.static-mode *,
.static-mode *::before,
.static-mode *::after {
  animation: none !important;
  transition: none !important;
}

.static-mode [data-motion],
.static-mode .success-message {
  opacity: 1 !important;
  clip-path: none !important;
}

.static-mode .upload-track span {
  width: 100%;
}

@media print {
  html,
  body {
    overflow: visible;
    background: white;
  }

  .deck-shell {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
    overflow: visible;
  }

  .deck {
    position: static;
    overflow: visible;
  }

  .slide {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    visibility: visible;
    opacity: 1;
    page-break-after: always;
  }

  [data-motion] {
    opacity: 1;
    clip-path: none;
  }

  .deck-controls,
  .progress-track,
  .notes-panel,
  .shortcut-hint {
    display: none;
  }
}
