@font-face {
  font-family: Pixelify;
  src: url("/assets/fonts/pixelify-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Pixelify;
  src: url("/assets/fonts/pixelify-sans-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
:root {
  --ink: #253831;
  --muted: #62746a;
  --paper: #f2f1e7;
  --orange: #f4ac65;
  --line: #bac8bc;
  --pixel: Pixelify, "Courier New", monospace;
  --body:
    ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  font-family: var(--body);
  color: var(--ink);
  background: #e7eeea;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 77% 21%, #cce4e8 0, transparent 58%),
    linear-gradient(#e7eeea, #f3f0e4);
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #417968;
  outline-offset: 6px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  background: var(--paper);
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.page {
  overflow: clip;
  height: 100svh;
  min-height: 720px;
  max-width: 1800px;
  margin: auto;
  padding: 0 50px 14px;
  display: grid;
  grid-template-rows: 95px minmax(0, 1fr) 156px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 8;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font: 700 35px/1 var(--pixel);
  letter-spacing: -1.7px;
}
.brand svg {
  width: 27px;
  height: 27px;
}
.brand small {
  font: 11px/1 var(--body);
  letter-spacing: 0;
  margin: 1px 0 0 6px;
  padding: 5px 6px;
  background: #d4dfd0;
  box-shadow: 2px 2px #b4c5b2;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.plain-button {
  background: transparent;
  font-size: 13px;
  padding: 8px 0;
}
.plain-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.small-button {
  background: #edf1e6;
  border: 1px solid #718677;
  box-shadow: 3px 3px #b0c4b5;
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 600;
}
.small-button:hover {
  background: #fffaf0;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.6fr;
  align-items: center;
  min-height: 0;
  isolation: isolate;
}
.intro {
  position: relative;
  z-index: 4;
  margin-top: -30px;
  pointer-events: none;
}
.intro button,
.intro a {
  pointer-events: auto;
}
.intro-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: #617267;
  margin-bottom: 25px;
}
.tiny-block {
  width: 8px;
  height: 8px;
  background: #e58c50;
  box-shadow: 3px 3px #b6c7ac;
}
.intro h1 {
  font: 700 clamp(62px, 5.35vw, 96px)/0.92 var(--pixel);
  letter-spacing: -2.5px;
  margin: 0 0 27px;
  white-space: nowrap;
  text-shadow: 2px 3px #fff7e9;
}
.intro h1 > span {
  color: #ba6d3f;
}
.intro p {
  font-size: 17px;
  line-height: 1.65;
  color: #627267;
  margin: 0 0 28px;
  letter-spacing: -0.1px;
}
.pixel-button {
  background: var(--orange);
  border: 2px solid #4d4c39;
  box-shadow: 5px 5px #4d4c39;
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  min-height: 51px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.pixel-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px #4d4c39;
  background: #ffbe7b;
}
.pixel-button:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 #4d4c39;
}
.play-icon {
  display: block;
  width: 11px;
  height: 13px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: #384535;
}
.demo-note {
  display: block;
  font-size: 11px;
  color: #798478;
  margin-top: 19px;
}
.world-area {
  position: relative;
  align-self: stretch;
  min-height: 0;
  margin-left: -70px;
  margin-right: -35px;
  isolation: isolate;
}
.world {
  position: absolute;
  inset: -33px -35px -24px -70px;
  touch-action: pan-y;
  cursor: grab;
}
.world:active {
  cursor: grabbing;
}
.world canvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: 0;
}
.world-loader {
  position: absolute;
  top: 49%;
  left: 50%;
  display: flex;
  gap: 5px;
  z-index: -1;
}
.world-loader span {
  width: 10px;
  height: 10px;
  background: #6d9072;
  animation: load 0.8s infinite alternate;
}
.world-loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.world-loader span:nth-child(3) {
  animation-delay: 0.4s;
}
.computer-label {
  position: absolute;
  top: 18%;
  left: 46%;
  background: #fffdf0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  font-size: 12px;
  box-shadow: 4px 4px #697f5b33;
  white-space: nowrap;
  border: 1px solid #bbcbb8;
  z-index: 3;
  transform: rotate(-3deg);
  transition: translate 0.2s;
}
.computer-label:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 26px;
  width: 12px;
  height: 12px;
  background: #fffdf0;
  border-right: 1px solid #bbcbb8;
  border-bottom: 1px solid #bbcbb8;
  rotate: 45deg;
}
.computer-label:hover {
  translate: 0 -3px;
}
.label-icon {
  font:
    bold 13px ui-monospace,
    monospace;
  color: #688571;
}
.label-arrow {
  margin-left: 3px;
}
.world-controls {
  position: absolute;
  bottom: 10px;
  right: 23px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 3;
  color: #7b8c7c;
}
.world-controls > span {
  font-size: 10px;
  margin-right: 7px;
}
.world-controls button {
  width: 29px;
  height: 29px;
  padding: 7px;
  background: #eaf0e580;
  border: 1px solid #a9bcac88;
}
.world-controls button:hover {
  background: #faf8eb;
}
.world-controls svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
}
.world-controls button[aria-pressed="true"] {
  background: #d5ddca;
  color: #344d3b;
}
.footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 26px;
  gap: 8px;
  padding-top: 16px;
}
.footer-word {
  display: flex;
  position: relative;
  min-height: 0;
  align-items: center;
  gap: 20px;
}
.footer-word > svg {
  height: 100%;
  width: calc(100% - 110px);
  overflow: visible;
}
.footer-word text {
  font: 700 165px var(--pixel);
  fill: transparent;
  stroke: #718772;
  stroke-width: 0.7;
  letter-spacing: -2px;
}
.footer-flower {
  display: block;
  position: relative;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  margin-left: auto;
  rotate: 10deg;
}
.footer-flower i {
  position: absolute;
  width: 26px;
  height: 26px;
  background: #8ca688;
}
.footer-flower i:nth-child(1) {
  top: 0;
  left: 24px;
}
.footer-flower i:nth-child(2) {
  right: 0;
  top: 24px;
}
.footer-flower i:nth-child(3) {
  bottom: 0;
  left: 24px;
}
.footer-flower i:nth-child(4) {
  left: 0;
  top: 24px;
}
.footer-flower b {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 26px;
  height: 26px;
  background: #edb769;
}
.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #758373;
}
.footer-line a {
  font-size: 12px;
  color: #4e6353;
}
.footer-line a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.demo-panel {
  position: absolute;
  z-index: 9;
  top: 22%;
  right: 7%;
  width: 340px;
  background: #f8f7ee;
  border: 2px solid #495b49;
  box-shadow: 7px 7px #25383140;
  animation: panel-in 0.2s ease-out;
}
.demo-header {
  height: 42px;
  border-bottom: 1px solid #cad1c1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px 0 17px;
  font-size: 12px;
  font-weight: 600;
  background: #e5ecd9;
}
.icon-button {
  background: transparent;
  width: 28px;
  height: 28px;
  font: 25px/1 var(--body);
  display: grid;
  place-items: center;
  padding: 0;
}
.icon-button:hover {
  background: #c9d6bf;
}
.demo-body {
  padding: 19px 17px 18px;
  min-height: 231px;
}
.user-message {
  font-size: 13px;
  line-height: 1.5;
  background: #e6e8db;
  padding: 11px 13px;
  margin-left: 25px;
  border: 1px solid #d6ddcc;
  max-width: max-content;
}
.bot-message {
  display: flex;
  gap: 10px;
  margin: 22px 0 18px;
  align-items: flex-start;
  font-size: 12px;
}
.bot-message strong {
  font-size: 12px;
  font-weight: 600;
}
.bot-message p {
  margin: 6px 0 0;
  color: #6c7967;
  line-height: 1.5;
}
.bot-avatar {
  width: 25px;
  height: 24px;
  background: #e7ad68;
  box-shadow: 2px 2px #bd8147;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-top: 8px;
  flex-shrink: 0;
}
.bot-avatar i {
  height: 4px;
  width: 3px;
  background: #344a3f;
}
.output-file {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fffdf5;
  border: 1px solid #abbfa6;
  padding: 12px 10px;
  font-size: 11px;
  box-shadow: 2px 2px #d8dfcc;
}
.output-file:hover {
  background: #f0f4e8;
}
.output-file strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.output-file small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #7a8775;
}
.file-icon {
  font-size: 26px;
  color: #749270;
}
.file-arrow {
  margin-left: auto;
  font-size: 20px;
}
.demo-progress {
  height: 5px;
  background: #dfe6d7;
  margin-top: 24px;
}
.demo-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: #88a279;
  transition: width 0.2s linear;
}
.demo-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d6dfcf;
  padding: 11px 17px;
  font-size: 9px;
  color: #7c8975;
}
.demo-bottom button {
  font-size: 10px;
  color: #3d5943;
  padding: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
dialog {
  color: var(--ink);
  background: #f5f4e9;
  border: 2px solid #495b49;
  padding: 0;
  width: calc(100% - 32px);
  max-width: 470px;
  max-height: calc(100svh - 36px);
  box-shadow: 8px 8px #1c392c55;
}
dialog::backdrop {
  background: #253e3855;
  backdrop-filter: blur(4px);
}
.dialog-content {
  padding: 31px;
}
.dialog-close {
  position: absolute;
  top: 13px;
  right: 12px;
}
.dialog-tag {
  font-size: 11px;
  color: #7d8975;
  display: block;
  margin: 2px 0 22px;
}
.dialog-content h2 {
  font: 700 43px/0.98 var(--pixel);
  letter-spacing: -1px;
  margin: 0 0 21px;
}
.dialog-content > p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7a68;
}
.alpha-note {
  background: #e6ecdd;
  padding: 15px 17px;
  margin: 23px 0;
}
.alpha-note strong {
  font-size: 12px;
}
.alpha-note p {
  font-size: 12px;
  line-height: 1.55;
  color: #6a7d68;
  margin: 8px 0 0;
}
.dialog-content > .pixel-button {
  font-size: 13px;
  padding: 12px 18px;
  min-height: 44px;
}
.dialog-content form {
  display: grid;
  gap: 15px;
  margin-top: 25px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
}
input,
textarea {
  padding: 10px 11px;
  font-size: 13px;
  color: var(--ink);
  background: #fffef8;
  border: 1px solid #a8b9a3;
  border-radius: 0;
  width: 100%;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #9ca391;
}
.dialog-content form .pixel-button {
  font-size: 13px;
  padding: 12px 16px;
  min-height: 45px;
  margin-top: 2px;
}
.copy-button {
  justify-self: center;
  background: transparent;
  padding: 5px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-note {
  font-size: 10px;
  color: #7f8a77;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
.demo-open .computer-label {
  visibility: hidden;
}
.brand small,
.pixel-button,
.small-button {
  border-radius: 0;
}
@keyframes load {
  to {
    transform: translateY(-6px);
    opacity: 0.4;
  }
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1700px) {
  .page {
    padding: 0 65px 18px;
    grid-template-rows: 105px minmax(0, 1fr) 190px;
  }
  .intro h1 {
    font-size: 96px;
  }
  .intro p {
    font-size: 19px;
  }
  .footer-flower {
    scale: 1.2;
  }
  .world-area {
    margin-left: -40px;
  }
  .computer-label {
    font-size: 14px;
    padding: 14px 17px;
  }
  .demo-panel {
    width: 370px;
  }
  .demo-body {
    min-height: 250px;
  }
}
@media (max-width: 1180px) {
  .page {
    padding: 0 32px 12px;
    grid-template-rows: 82px minmax(0, 1fr) 127px;
    min-height: 660px;
  }
  .brand {
    font-size: 30px;
  }
  .brand svg {
    width: 24px;
    height: 24px;
  }
  .intro h1 {
    font-size: clamp(53px, 5.5vw, 66px);
    letter-spacing: -2px;
  }
  .intro p {
    font-size: 15px;
  }
  .intro-tag {
    font-size: 11px;
    margin-bottom: 21px;
  }
  .pixel-button {
    font-size: 13px;
    min-height: 47px;
    padding: 13px 17px;
    gap: 23px;
  }
  .world-area {
    margin-left: -60px;
    margin-right: -20px;
  }
  .world {
    inset: -20px -20px -20px -60px;
  }
  .computer-label {
    font-size: 10px;
    gap: 9px;
    padding: 10px 12px;
    left: 43%;
    top: 18%;
  }
  .world-controls {
    right: 14px;
    bottom: 5px;
    gap: 8px;
  }
  .world-controls > span {
    font-size: 9px;
  }
  .footer-flower {
    width: 59px;
    height: 59px;
    scale: 0.8;
    transform-origin: right center;
  }
  .footer-word svg {
    width: calc(100% - 85px);
  }
  .demo-panel {
    right: 3%;
    width: 315px;
    top: 20%;
  }
  .demo-body {
    min-height: 220px;
  }
  .demo-note {
    font-size: 10px;
  }
  .footer-line {
    font-size: 9px;
  }
  .footer-line a {
    font-size: 11px;
  }
}
@media (max-height: 780px) and (min-width: 801px) {
  .page {
    grid-template-rows: 77px minmax(0, 1fr) 118px;
    min-height: 650px;
  }
  .intro {
    margin-top: -10px;
  }
  .intro h1 {
    font-size: clamp(51px, 5vw, 71px);
  }
  .intro-tag {
    margin-bottom: 20px;
  }
  .intro p {
    margin-bottom: 23px;
    font-size: 15px;
  }
  .world {
    inset: -17px -20px -17px -50px;
  }
  .world-controls {
    bottom: 3px;
  }
  .computer-label {
    top: 14%;
  }
  .demo-panel {
    top: 10%;
  }
  .footer {
    padding-top: 10px;
  }
}
@media (max-width: 800px) {
  .page {
    padding: 0 25px 12px;
    grid-template-rows: 79px minmax(0, 1fr) 111px;
    min-height: 740px;
  }
  .header nav {
    gap: 23px;
  }
  .brand {
    font-size: 29px;
  }
  .brand small {
    font-size: 9px;
    padding: 4px;
    margin-left: 2px;
  }
  .plain-button {
    font-size: 12px;
  }
  .small-button {
    font-size: 12px;
    padding: 9px 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
  }
  .intro {
    margin-top: 24px;
    text-align: center;
    pointer-events: auto;
    z-index: 4;
  }
  .intro-tag {
    justify-content: center;
    font-size: 10px;
    margin-bottom: 16px;
  }
  .intro h1 {
    font-size: clamp(54px, 8vw, 70px);
    line-height: 0.94;
    margin-bottom: 18px;
    letter-spacing: -2px;
  }
  .intro p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .pixel-button {
    font-size: 12px;
    padding: 12px 18px;
    min-height: 43px;
    gap: 24px;
  }
  .demo-note {
    font-size: 9px;
    margin-top: 14px;
  }
  .world-area {
    margin: 0 -20px;
    align-self: stretch;
    min-height: 0;
    height: 100%;
  }
  .world {
    inset: -50px -20px -15px;
  }
  .computer-label {
    top: 15%;
    left: auto;
    right: 16%;
    font-size: 9px;
    padding: 8px 10px;
    gap: 7px;
  }
  .label-icon {
    font-size: 11px;
  }
  .world-controls {
    right: 24px;
    bottom: 0;
  }
  .world-controls > span {
    font-size: 8px;
  }
  .world-controls button {
    width: 25px;
    height: 25px;
    padding: 5px;
  }
  .footer {
    padding-top: 12px;
    gap: 6px;
    grid-template-rows: minmax(0, 1fr) 22px;
  }
  .footer-word svg {
    width: calc(100% - 74px);
  }
  .footer-flower {
    scale: 0.68;
  }
  .footer-line {
    font-size: 8px;
  }
  .footer-line a {
    font-size: 10px;
  }
  .footer-word text {
    stroke-width: 1;
  }
  .demo-panel {
    width: 315px;
    max-width: calc(100% - 50px);
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    animation: none;
  }
  .demo-body {
    min-height: 207px;
    padding: 16px;
  }
  .demo-header {
    height: 36px;
    font-size: 11px;
  }
  .user-message {
    font-size: 12px;
  }
  .bot-message {
    margin-top: 19px;
  }
  .demo-bottom {
    padding: 10px 16px;
  }
  .demo-open .world-controls {
    visibility: hidden;
  }
}
@media (max-width: 540px) {
  .page {
    padding: 0 19px 10px;
    grid-template-rows: 70px minmax(0, 1fr) 84px;
    min-height: 660px;
  }
  .brand {
    font-size: 27px;
    gap: 7px;
    letter-spacing: -1px;
  }
  .brand svg {
    width: 23px;
    height: 23px;
  }
  .brand small {
    font-size: 8px;
    margin-left: 2px;
    padding: 4px;
  }
  .header nav {
    gap: 0;
  }
  .plain-button {
    display: none;
  }
  .small-button {
    font-size: 10px;
    padding: 8px 10px;
    box-shadow: 2px 2px #b0c4b5;
  }
  .intro {
    margin-top: 21px;
  }
  .intro-tag {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .tiny-block {
    width: 6px;
    height: 6px;
    box-shadow: 2px 2px #b6c7ac;
  }
  .intro h1 {
    font-size: clamp(37px, 11.3vw, 57px);
    letter-spacing: -1.8px;
    margin-bottom: 17px;
  }
  .intro p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 21px;
  }
  .pixel-button {
    font-size: 12px;
    padding: 12px 15px;
    min-height: 43px;
    gap: 22px;
    box-shadow: 4px 4px #4d4c39;
  }
  .demo-note {
    font-size: 9px;
    margin-top: 13px;
  }
  .world-area {
    margin: 0 -19px;
  }
  .world {
    inset: -43px -30px -8px;
  }
  .computer-label {
    top: 17%;
    right: 11%;
    font-size: 8px;
    padding: 8px 9px;
    gap: 7px;
  }
  .computer-label:after {
    width: 9px;
    height: 9px;
    bottom: -6px;
    left: 18px;
  }
  .label-icon {
    font-size: 10px;
  }
  .world-controls {
    right: 20px;
    gap: 7px;
    bottom: 1px;
  }
  .world-controls > span {
    font-size: 7px;
    margin-right: 3px;
  }
  .world-controls button {
    width: 23px;
    height: 23px;
    padding: 5px;
  }
  .footer {
    grid-template-rows: minmax(0, 1fr) 19px;
    padding-top: 12px;
    gap: 4px;
  }
  .footer-word {
    gap: 10px;
  }
  .footer-word svg {
    width: calc(100% - 48px);
  }
  .footer-flower {
    scale: 0.48;
    transform-origin: right center;
    width: 50px;
    margin-right: 0;
  }
  .footer-line {
    font-size: 7px;
  }
  .footer-line a {
    font-size: 9px;
  }
  .footer-word text {
    stroke-width: 1.5;
  }
  .demo-panel {
    max-width: calc(100% - 44px);
    top: 45%;
    width: 305px;
  }
  .demo-body {
    min-height: 186px;
    padding: 13px 15px;
  }
  .user-message {
    font-size: 11px;
    padding: 9px 10px;
  }
  .bot-message {
    margin: 17px 0 14px;
    font-size: 11px;
  }
  .bot-message strong {
    font-size: 11px;
  }
  .bot-message p {
    margin-top: 5px;
  }
  .demo-progress {
    margin-top: 19px;
  }
  .output-file {
    padding: 10px 9px;
  }
  .output-file strong {
    font-size: 11px;
  }
  .output-file small {
    font-size: 9px;
  }
  .demo-bottom {
    font-size: 8px;
    padding: 9px 15px;
  }
  .demo-bottom button {
    font-size: 9px;
  }
  .demo-header {
    height: 33px;
    font-size: 10px;
    padding-left: 15px;
  }
  .dialog-content {
    padding: 28px 23px;
  }
  .dialog-content h2 {
    font-size: 39px;
  }
}
@media (max-width: 540px) and (max-height: 750px) {
  .page {
    grid-template-rows: 61px minmax(0, 1fr) 73px;
    min-height: 630px;
  }
  .intro {
    margin-top: 14px;
  }
  .intro-tag {
    margin-bottom: 12px;
  }
  .intro h1 {
    font-size: clamp(37px, 11.3vw, 53px);
    margin-bottom: 15px;
  }
  .intro p {
    font-size: 12px;
    margin-bottom: 17px;
  }
  .pixel-button {
    padding: 10px 14px;
    min-height: 39px;
    font-size: 11px;
  }
  .demo-note {
    font-size: 8px;
    margin-top: 11px;
  }
  .world {
    inset: -35px -24px -7px;
  }
  .computer-label {
    top: 15%;
    right: 10%;
  }
  .footer {
    padding-top: 9px;
  }
  .demo-panel {
    top: 41%;
  }
  .demo-body {
    min-height: 173px;
  }
  .demo-progress {
    margin-top: 17px;
  }
}
@media (max-width: 360px) {
  .page {
    padding: 0 15px 9px;
    grid-template-rows: 59px minmax(0, 1fr) 65px;
    min-height: 620px;
  }
  .brand {
    font-size: 25px;
    gap: 6px;
  }
  .brand small {
    font-size: 7px;
    padding: 3px;
  }
  .brand svg {
    width: 21px;
    height: 21px;
  }
  .small-button {
    font-size: 9px;
    padding: 8px;
  }
  .intro h1 {
    font-size: 37px;
  }
  .intro-tag {
    font-size: 8px;
  }
  .intro p {
    font-size: 11px;
  }
  .world-controls > span {
    display: none;
  }
  .computer-label {
    font-size: 7px;
    right: 9%;
  }
  .footer-line {
    font-size: 6px;
  }
  .footer-line a {
    font-size: 8px;
  }
  .footer-word svg {
    width: calc(100% - 40px);
  }
  .footer-flower {
    width: 40px;
    scale: 0.4;
  }
  .demo-body {
    min-height: 170px;
  }
  .demo-panel {
    top: 44%;
  }
  .user-message {
    font-size: 10px;
  }
  .demo-bottom {
    font-size: 7px;
  }
  .demo-bottom button {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.footer-line > button {
  background: transparent;
  color: #667b69;
  font-size: inherit;
  padding: 0;
}
.footer-line > button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Each example is anchored to its own object in the voxel world. */
.example-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.example-hotspots .computer-label {
  pointer-events: auto;
  right: auto;
  bottom: auto;
  width: max-content;
  max-width: calc(100% - 16px);
  transform: translate(-50%, -100%) rotate(-3deg);
  font-size: 11px;
  padding: 10px 12px;
  gap: 8px;
}
.hotspot-weekly {
  left: 51%;
  top: 29%;
}
.hotspot-tickets {
  left: 21%;
  top: 59%;
}
.hotspot-coding {
  left: 76%;
  top: 18%;
}
.demo-open .computer-label {
  visibility: visible;
}
.computer-label[aria-pressed="true"] {
  background: #e5ecd9;
  border-color: #809b77;
}
.computer-label[aria-pressed="true"]:after {
  background: #e5ecd9;
  border-color: #809b77;
}
.demo-bottom {
  gap: 13px;
}
.demo-bottom > span {
  margin-right: auto;
  white-space: nowrap;
}
.demo-bottom button {
  white-space: nowrap;
}
.output-file {
  width: 100%;
  text-align: left;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.demo-result {
  margin-top: 3px;
}
.demo-followup {
  display: flex;
  gap: 11px;
  margin: -3px 0 17px 1px;
  align-items: flex-start;
}
.followup-mark {
  font-size: 18px;
  color: #8c9b7d;
  width: 25px;
  flex-shrink: 0;
  text-align: center;
}
.demo-followup p {
  font-size: 12px;
  line-height: 1.5;
  color: #5f745f;
  margin: 0;
}
.example-detail h2 {
  font-size: 35px;
  line-height: 1.05;
}
.example-detail-body p,
.example-detail #example-detail-body > p {
  font-size: 14px;
  line-height: 1.6;
  color: #63755f;
}
.example-badge {
  background: #e4ecd8;
  display: inline-block;
  padding: 8px 10px;
  font-size: 11px;
  color: #527347;
  margin: 0 0 9px;
}
.automation-rule {
  margin: 22px 0 15px;
  font-size: 12px;
}
.automation-rule > div {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #d1dbc8;
}
.automation-rule dt {
  color: #809176;
}
.automation-rule dd {
  margin: 0;
  color: #41553d;
}
.example-detail #example-detail-body .example-note {
  font-size: 10px;
  color: #86937b;
  margin-top: 19px;
}
.pr-checks {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  font-size: 11px;
  color: #628258;
}
.example-diff {
  border: 1px solid #c5d1bb;
  background: #edf1e6;
  font-size: 11px;
}
.example-diff > span {
  display: block;
  border-bottom: 1px solid #c5d1bb;
  padding: 10px 12px;
  color: #738669;
}
.example-diff pre {
  padding: 12px;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    11px/1.8 ui-monospace,
    monospace;
}
.diff-add {
  color: #5a7850;
}
@media (max-width: 1180px) {
  .example-hotspots .computer-label {
    font-size: 9px;
    padding: 9px 10px;
    gap: 7px;
  }
}
@media (max-width: 800px) {
  .example-hotspots .computer-label {
    font-size: 8px;
    padding: 8px 9px;
    gap: 6px;
  }
  .demo-bottom {
    gap: 12px;
  }
}
@media (max-width: 540px) {
  .example-hotspots .computer-label {
    font-size: 8px;
    padding: 8px;
    gap: 5px;
  }
  .example-hotspots .label-arrow {
    display: none;
  }
  .example-hotspots .label-icon {
    font-size: 10px;
  }
  .demo-bottom {
    gap: 11px;
  }
  .demo-followup {
    margin-bottom: 14px;
    gap: 10px;
  }
  .demo-followup p {
    font-size: 11px;
    line-height: 1.45;
  }
  .demo-panel[data-example="coding"] .demo-body {
    padding-top: 12px;
    padding-bottom: 13px;
  }
  .demo-panel[data-example="coding"] .bot-message {
    margin-top: 14px;
    margin-bottom: 14px;
  }
  .demo-panel[data-example="coding"] {
    top: 42%;
  }
  .example-detail h2 {
    font-size: 31px;
  }
}
@media (max-width: 360px) {
  .example-hotspots .computer-label {
    font-size: 7px;
    padding: 7px;
    gap: 4px;
  }
  .demo-bottom {
    gap: 10px;
  }
  .demo-followup p {
    font-size: 10px;
  }
}
.demo-open .world-area {
  z-index: 5;
}
@media (min-width: 801px) {
  .demo-panel {
    top: 32%;
  }
}
@media (max-height: 780px) and (min-width: 801px) {
  .demo-panel {
    top: 25%;
  }
}
/* A small game-style inventory keeps all seven stories easy to discover. */
.example-inventory {
  position: absolute;
  bottom: 47px;
  left: 31%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  background: #e9eddeeb;
  border: 1px solid #a6b59a;
  box-shadow: 3px 3px #71836740;
  z-index: 4;
}
.inventory-item {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 9px;
  background: #f4f4e9;
  border: 1px solid #c5d0ba;
  color: #7b9273;
  flex-shrink: 0;
}
.inventory-item svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.inventory-item:hover,
.inventory-item:focus-visible {
  background: #e3e9d4;
  color: #496e49;
  border-color: #7c9b6a;
}
.inventory-item[aria-pressed="true"] {
  background: #ead3aa;
  border-color: #a68a5d;
  color: #7d6948;
}
.inventory-caption {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #7a8b71;
  white-space: nowrap;
}
.object-tooltip {
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 9px 12px;
  background: #fbfbed;
  border: 1px solid #bfccb4;
  box-shadow: 3px 3px #667c5730;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
  font-size: 11px;
  color: #5b7657;
}
.demo-open .example-inventory {
  visibility: hidden;
}
.preview-dialog {
  max-width: 760px;
}
.preview-dialog .dialog-content {
  padding: 30px;
}
.sample-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e7eddc;
  padding: 14px;
  margin: 0 0 13px;
  font-size: 12px;
  color: #849274;
}
.sample-summary strong {
  font-size: 20px;
  font-weight: 500;
  color: #4e6c49;
}
.expense-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  font-size: 9px;
  color: #87967a;
  margin: 0 0 18px;
}
.sample-table-wrap {
  overflow-x: auto;
}
.sample-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
.sample-table th {
  font-weight: 500;
  color: #8c997f;
  font-size: 10px;
}
.sample-table th,
.sample-table td {
  padding: 10px 5px;
  border-bottom: 1px solid #d7dfcc;
}
.sample-table th:last-child,
.sample-table td:last-child {
  text-align: right;
  white-space: nowrap;
}
.sample-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.sample-actions a {
  display: inline-flex;
  padding: 10px 12px;
  background: #e3ead6;
  border: 1px solid #b6c6a4;
  font-size: 11px;
  color: #536e4a;
}
.sample-actions a:hover {
  background: #d5e1c5;
}
.sample-frame {
  border: 1px solid #c5d0b7;
  width: 100%;
  background: #f2f4e8;
  display: block;
  margin-top: 19px;
}
.checkout-frame {
  height: 475px;
}
.dashboard-frame {
  height: 510px;
}
.proof-recording {
  margin-top: 19px;
  font-size: 12px;
  color: #73886b;
}
.proof-recording summary {
  cursor: pointer;
}
.proof-recording video {
  width: 100%;
  max-height: 380px;
  display: block;
  background: #e5ebda;
  margin-top: 13px;
}
.clip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.clip-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.clip-card video {
  width: 100%;
  aspect-ratio: 9/16;
  background: #e4ecdc;
  display: block;
  border: 1px solid #c0cdb2;
}
.clip-card > span {
  font-size: 11px;
  color: #6b835f;
  line-height: 1.4;
}
.clip-card > a {
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #81956f;
}
@media (max-width: 1180px) {
  .example-inventory {
    left: 26%;
    bottom: 43px;
    gap: 3px;
    padding: 5px;
  }
  .inventory-item {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
  .inventory-caption {
    font-size: 9px;
  }
}
@media (max-width: 800px) {
  .example-inventory {
    left: 50%;
    bottom: 43px;
  }
  .inventory-item {
    width: 37px;
    height: 37px;
  }
  .object-tooltip {
    font-size: 10px;
  }
}
@media (max-width: 540px) {
  .example-inventory {
    gap: 3px;
    bottom: 39px;
    padding: 5px;
  }
  .inventory-item {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
  .inventory-caption {
    font-size: 8px;
    bottom: calc(100% + 8px);
  }
  .object-tooltip {
    font-size: 9px;
    padding: 8px 10px;
  }
  .preview-dialog .dialog-content {
    padding: 27px 20px;
  }
  .sample-summary {
    padding: 12px;
    font-size: 11px;
    gap: 12px;
  }
  .sample-summary strong {
    font-size: 18px;
  }
  .sample-table {
    font-size: 10px;
  }
  .sample-table th,
  .sample-table td {
    padding: 9px 3px;
  }
  .sample-actions {
    gap: 8px;
  }
  .sample-actions a {
    font-size: 10px;
    padding: 9px 10px;
  }
  .clip-grid {
    gap: 9px;
  }
  .clip-card {
    gap: 7px;
  }
  .clip-card > span {
    font-size: 9px;
  }
  .clip-card > a {
    font-size: 9px;
  }
  .checkout-frame {
    height: 485px;
  }
  .dashboard-frame {
    height: 535px;
  }
}
@media (max-width: 360px) {
  .example-inventory {
    gap: 2px;
    padding: 4px;
  }
  .inventory-item {
    width: 35px;
    height: 35px;
    padding: 7px;
  }
  .clip-grid {
    gap: 7px;
  }
  .clip-card > span,
  .clip-card > a {
    font-size: 8px;
  }
  .sample-summary strong {
    font-size: 16px;
  }
}
.inventory-caption {
  background: #e9eddeef;
  padding: 4px 8px;
  bottom: calc(100% + 1px);
  border: 1px solid #b6c4a8;
  border-bottom: 0;
  color: #748768;
}
@media (max-width: 540px) {
  .clip-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  .clip-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .clip-card > span,
  .clip-card > a {
    font-size: 11px;
  }
}
