:root {
  --paper: #f3efe6;
  --paper-shadow: #e5ded0;
  --ink: #181716;
  --blue: #1640b0;
  --blue-dark: #0c2e83;
  --orange: #eb4d20;
  --terminal: #17191f;
  --terminal-ink: #f2eee4;
  --terminal-muted: #aaa99f;
  --terminal-blue: #8ca7ff;
  --terminal-orange: #ff7448;
  --rule: 2px;
  --wrap: min(86rem, calc(100% - 7rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 12% 8%, rgb(255 255 255 / 52%), transparent 28rem),
    radial-gradient(ellipse at 84% 55%, rgb(186 157 108 / 5%), transparent 36rem),
    repeating-radial-gradient(circle at 0 0, rgb(20 18 14 / 2.4%) 0 0.6px, transparent 0.8px 4px),
    var(--paper);
  font-family: "Gabarito", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  background-image: repeating-linear-gradient(93deg, transparent 0 7px, rgb(33 27 18 / 1.5%) 8px 9px);
  content: "";
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

button {
  color: inherit;
  font: inherit;
}

code {
  font-family: "IBM Plex Mono", monospace;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-block: clamp(2rem, 5vh, 3.4rem);
  transform: translateX(-50%);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
  color: var(--blue-dark);
  font-family: "Kalam", cursive;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}

.nav-separator {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.scribble-link {
  text-decoration-line: underline !important;
  text-decoration-color: var(--orange) !important;
  text-decoration-thickness: 3px !important;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-start;
  padding-block: clamp(8.5rem, 12vh, 10.5rem) clamp(8rem, 13vh, 11rem);
}

.hero-copy {
  max-width: 72rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

h1 {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.14em;
  margin-bottom: clamp(2.8rem, 5vh, 4.5rem);
  color: var(--blue);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4.8rem, 9.6vw, 10.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-shadow: 1px 1px 0 rgb(12 46 131 / 20%);
}

.headline-word--jst {
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  letter-spacing: -0.09em;
  text-shadow: 1px 1px 0 rgb(24 23 22 / 16%);
}

.headline-word:last-child {
  position: relative;
}

.burst::before,
.burst::after {
  position: absolute;
  top: -0.1em;
  right: -0.01em;
  width: 0.025em;
  height: 0.18em;
  border-radius: 99px;
  background: var(--blue);
  content: "";
  transform: rotate(17deg);
  transform-origin: bottom;
}

.burst::after {
  right: -0.08em;
  transform: rotate(42deg);
}

.hero-copy > p {
  max-width: 56rem;
  margin-bottom: 0;
  margin-left: clamp(0.45rem, 0.75vw, 0.9rem);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.hero-copy strong {
  font-weight: 750;
}

.inline-jst {
  display: inline-block;
  border-radius: 0.2rem;
  padding: 0.06em 0.34em;
  color: var(--blue-dark);
  background: rgb(22 64 176 / 11%);
  font-size: 0.82em;
  font-weight: 500;
  line-height: 1.1;
  vertical-align: 0.07em;
}

.margin-note {
  margin: 0;
  color: var(--blue);
  font-family: "Kalam", cursive;
  font-size: 1.15rem;
  line-height: 1.25;
  transform: rotate(-3deg);
}

.translation {
  position: relative;
  width: min(84%, 74rem);
  margin-top: clamp(4rem, 6vh, 5.5rem);
  border: 2px solid var(--ink);
  border-radius: 0.28rem;
  padding: clamp(4.6rem, 6vw, 5.2rem) clamp(1.5rem, 3vw, 3rem) clamp(4rem, 5vw, 4.8rem);
  color: var(--terminal-ink);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 3px,
      rgb(255 255 255 / 1.4%) 3px 4px
    ),
    radial-gradient(circle at 12% 0%, rgb(140 167 255 / 7%), transparent 26rem),
    var(--terminal);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 8%),
    5px 6px 0 rgb(22 64 176 / 18%);
  transform: rotate(-0.12deg);
}

.terminal-chrome {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 2.75rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgb(242 238 228 / 12%);
  padding-inline: clamp(1rem, 2vw, 1.5rem);
  color: var(--terminal-muted);
  background: rgb(0 0 0 / 18%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-lights {
  display: flex;
  gap: 0.42rem;
}

.terminal-lights span {
  width: 0.62rem;
  height: 0.62rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: var(--terminal-orange);
}

.terminal-lights span:nth-child(2) {
  background: #e7c755;
}

.terminal-lights span:nth-child(3) {
  background: #69b887;
}

.terminal-title {
  justify-self: center;
}

.terminal-runtime {
  justify-self: end;
  color: var(--terminal-blue);
}

.terminal-session-actions {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 0.42rem;
  color: rgb(242 238 228 / 35%);
}

.terminal-session-actions[hidden] {
  display: none;
}

.terminal-control {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.15rem 0;
  color: var(--terminal-blue);
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.terminal-control:hover,
.terminal-control:focus-visible {
  border-color: var(--terminal-orange);
  color: var(--terminal-ink);
  outline: 0;
}

.terminal-control:disabled {
  border-color: transparent;
  color: rgb(242 238 228 / 24%);
  cursor: wait;
}

.translation-map {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.translation-map path {
  fill: none;
  stroke: var(--terminal-orange);
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
  stroke-linecap: round;
  stroke-width: 2.2;
  transition: stroke-dashoffset 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms ease;
  opacity: 0.72;
}

.translation-map.is-drawing path {
  stroke-dashoffset: 0;
}

.translation-map circle {
  fill: var(--terminal-orange);
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms ease 260ms;
}

.translation-map.is-drawing circle {
  transform: scale(1);
}

.terminal-line {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  overflow-x: auto;
  font-size: clamp(0.82rem, 1.35vw, 1.08rem);
  line-height: 1.5;
  white-space: nowrap;
}

.request-part[data-map] {
  border-radius: 0.16rem;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.request-part.is-mapping {
  color: var(--terminal-ink);
  background: rgb(140 167 255 / 13%);
  box-shadow: 0 2px 0 var(--terminal-orange);
}

.result-part {
  display: inline-block;
  transform: translateY(-0.55rem) rotate(-1.5deg);
  transition:
    opacity 180ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    color 160ms ease;
  opacity: 0;
  white-space: pre;
}

.result-part.is-visible {
  transform: translateY(0) rotate(0);
  opacity: 1;
}

.result-part.is-mapping {
  color: var(--terminal-blue);
}

#result {
  position: relative;
}

.terminal-line--result {
  margin-top: 2.55rem;
  transition: opacity 160ms ease;
  opacity: 0;
}

.terminal-line--result.is-visible {
  opacity: 1;
}

.terminal-prompt,
.terminal-output {
  flex: none;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}

.terminal-prompt {
  color: var(--terminal-blue);
}

.terminal-output {
  color: var(--terminal-orange);
}

.terminal-cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.25em;
  flex: none;
  vertical-align: -0.22em;
  background: var(--terminal-blue);
  animation: cursor-blink 1s steps(1, end) infinite;
}

@keyframes cursor-blink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

.terminal-cursor.is-hidden {
  opacity: 0;
  animation: none;
}

.terminal-spinner {
  display: none;
  margin-left: 0.75rem;
  color: var(--terminal-blue);
  font-family: "IBM Plex Mono", monospace;
}

.translation.is-loading .terminal-spinner {
  display: inline;
}

.translation.is-loading .terminal-output {
  display: none;
}

.translation.is-loading .terminal-cursor {
  display: none;
}

.hero-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3rem;
  margin-top: clamp(3.2rem, 6vh, 5rem);
}

.install-command {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 0;
  border-bottom: 2px solid var(--blue);
  padding: 1.45rem 0.35rem 0.7rem;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transform: rotate(-0.35deg);
}

.install-label {
  position: absolute;
  top: 0;
  left: 0.35rem;
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.install-command > span:nth-child(2) {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.35rem;
}

.copy-state {
  margin-left: 0.7rem;
  color: var(--blue);
  font-family: "Kalam", cursive;
  font-size: 0.95rem;
}

.install-command:hover,
.install-command:focus-visible {
  border-color: var(--orange);
  transform: rotate(-0.35deg) translateY(-1px);
}

.install-block {
  width: fit-content;
  max-width: 100%;
}

.mobile-reminder {
  display: none;
}

.mobile-reminder-open {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.65rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 0.2rem;
  padding: 2.15rem 1rem 1rem;
  color: var(--paper);
  background: var(--blue);
  box-shadow: 4px 5px 0 var(--orange);
  cursor: pointer;
  font-family: "Gabarito", sans-serif;
  font-size: 1.2rem;
  font-weight: 750;
  text-align: left;
  transform: rotate(-0.35deg);
}

.mobile-reminder-open code {
  color: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88em;
}

.mobile-reminder-open > span:last-child {
  color: #ffd0bd;
  font-family: "Kalam", cursive;
  font-size: 1.65rem;
  line-height: 0.8;
}

.mobile-reminder-kicker {
  position: absolute;
  top: 0.72rem;
  left: 1rem;
  color: #ffd0bd;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-reminder-open:hover,
.mobile-reminder-open:focus-visible {
  box-shadow: 2px 3px 0 var(--orange);
  outline: 3px solid rgb(235 77 32 / 22%);
  outline-offset: 3px;
  transform: rotate(-0.35deg) translateY(2px);
}

.mobile-reminder > p {
  margin: 0.85rem 0.25rem 0;
  color: var(--blue-dark);
  font-size: 0.86rem;
  line-height: 1.4;
}

.reminder-dialog {
  width: min(33rem, calc(var(--reminder-viewport-width, 100vw) - 3rem));
  max-width: none;
  max-height: calc(100svh - 1.5rem);
  margin-inline: calc(var(--reminder-viewport-left, 0px) + 1rem) auto;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  overflow: visible;
}

.reminder-dialog::backdrop {
  background: rgb(12 18 35 / 68%);
  backdrop-filter: blur(3px);
}

.reminder-sheet {
  position: relative;
  max-height: calc(100svh - 1.5rem);
  border: 2px solid var(--ink);
  border-radius: 0.24rem;
  padding: 3.5rem clamp(1.25rem, 5vw, 2.25rem) 2rem;
  background:
    linear-gradient(96deg, transparent 0 48%, rgb(24 23 22 / 3%) 50%, transparent 52%),
    repeating-radial-gradient(circle at 0 0, rgb(20 18 14 / 2.4%) 0 0.6px, transparent 0.8px 4px),
    var(--paper);
  box-shadow: 7px 8px 0 var(--blue);
  overflow-y: auto;
}

.reminder-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  border: 0;
  border-bottom: 2px solid var(--blue);
  padding: 0.1rem 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-family: "Kalam", cursive;
  font-size: 0.95rem;
}

.reminder-close:hover,
.reminder-close:focus-visible {
  border-color: var(--orange);
}

.reminder-kicker {
  margin: 0 0 0.8rem;
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reminder-dialog h2 {
  max-width: 25rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.5rem, 11vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.reminder-intro {
  max-width: 25rem;
  margin: 0 0 1.5rem;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.42;
}

.reminder-actions {
  border-top: 2px solid var(--ink);
}

.reminder-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-bottom: 1px solid rgb(24 23 22 / 22%);
  padding: 0.95rem 0.15rem;
  color: var(--blue-dark);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.reminder-action[hidden] {
  display: none;
}

.reminder-action:hover,
.reminder-action:focus-visible {
  color: var(--orange);
  outline: 0;
}

.reminder-action--primary {
  color: var(--ink);
}

.reminder-action > span:last-child {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.reminder-action > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.reminder-status {
  min-height: 1.25rem;
  margin: 0.65rem 0 0;
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.reminder-download {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 650;
}

.platform-downloads {
  display: inline-block;
  margin: 0.75rem 0.35rem 0;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.platform-downloads:hover,
.platform-downloads:focus-visible {
  text-decoration-line: underline;
  text-decoration-color: var(--orange);
}

.another-example {
  position: absolute;
  right: 1.35rem;
  bottom: 0.9rem;
  border: 0;
  border-bottom: 2px solid var(--terminal-blue);
  padding: 0.25rem 0;
  color: var(--terminal-blue);
  background: none;
  font-family: "Kalam", cursive;
  font-size: 1.05rem;
  cursor: pointer;
  transform: rotate(1deg);
}

.another-example:hover,
.another-example:focus-visible {
  border-color: var(--terminal-orange);
}

.try-demo {
  position: absolute;
  bottom: 0.9rem;
  left: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  border-bottom: 2px solid var(--terminal-orange);
  padding: 0.25rem 0;
  color: var(--terminal-ink);
  background: none;
  font-family: "Kalam", cursive;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transform: rotate(-1deg);
}

.try-demo:hover,
.try-demo:focus-visible {
  border-color: var(--terminal-blue);
}

.try-demo:disabled {
  cursor: wait;
  opacity: 0.72;
}

.try-demo-arrow,
.demo-submit-arrow {
  display: inline-block;
  transform-origin: center;
}

.translation.is-activating .try-demo-arrow,
.translation.is-translating .demo-submit-arrow {
  animation: arrow-spin 720ms linear infinite;
}

.translation.is-activating .try-demo,
.translation.is-activating .another-example,
.translation.is-activating .terminal-line--result {
  display: none;
}

.demo-dialog .translation.is-activating {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3.75rem;
}

.translation.is-activating .demo-example-request {
  justify-content: center;
}

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

.demo-form {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-width: 0;
  border-top: 1px solid rgb(242 238 228 / 10%);
  padding: 0.85rem 0.95rem 0.78rem;
  background: rgb(0 0 0 / 16%);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.76rem, 1.18vw, 0.96rem);
}

.demo-form[hidden] {
  display: none;
}

.demo-example-request[hidden] {
  display: none;
}

.demo-form > code {
  flex: none;
  color: var(--terminal-orange);
  font-weight: 600;
}

.terminal-shell-prompt {
  display: inline-flex;
  flex: none;
  align-items: baseline;
  white-space: nowrap;
}

.terminal-user {
  color: #69b887;
  font-weight: 600;
}

.terminal-path {
  color: var(--terminal-blue);
}

.terminal-shell-prompt .terminal-prompt {
  margin-left: 0.3rem;
  color: var(--terminal-ink);
}

.demo-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0.15rem 0;
  caret-color: var(--terminal-blue);
  color: var(--terminal-ink);
  background: transparent;
  font: inherit;
  outline: 0;
}

.demo-form input:focus {
  box-shadow: none;
}

.demo-form input::placeholder {
  color: rgb(242 238 228 / 30%);
}

.demo-submit {
  display: inline-grid;
  width: 1.8rem;
  height: 1.55rem;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 0.12rem;
  color: var(--terminal-muted);
  background: rgb(255 255 255 / 6%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  cursor: pointer;
}

.demo-submit:hover,
.demo-submit:focus-visible {
  color: var(--terminal);
  background: var(--terminal-blue);
  outline: 0;
}

.demo-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.translation.is-interactive .terminal-line--result {
  margin-top: 1.6rem;
}

.translation.is-interactive .terminal-line--result:not(.is-visible) {
  display: none;
}

.demo-session {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 21rem;
  margin-top: -0.15rem;
  border: 1px solid rgb(242 238 228 / 10%);
  border-radius: 0.18rem;
  flex-direction: column;
  overflow: hidden;
  background: rgb(0 0 0 / 20%);
  box-shadow: inset 0 1px 1.5rem rgb(0 0 0 / 16%);
}

.demo-session[hidden] {
  display: none;
}

.demo-scrollback {
  min-height: 15rem;
  max-height: clamp(18rem, 43vh, 25rem);
  flex: 1;
  padding: 1rem 1rem 1.25rem;
  overflow: auto;
  color: var(--terminal-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.72rem, 1.08vw, 0.88rem);
  line-height: 1.58;
  unicode-bidi: isolate;
  -webkit-user-select: text;
  user-select: text;
  scrollbar-color: var(--terminal-blue) rgb(0 0 0 / 22%);
}

.demo-motd {
  margin-bottom: 1.15rem;
  color: var(--terminal-muted);
}

.demo-motd strong {
  color: var(--terminal-ink);
  font-weight: 600;
}

.demo-motd-hint {
  color: var(--terminal-blue);
}

.demo-entry + .demo-entry {
  margin-top: 1.25rem;
}

.demo-entry-request,
.demo-entry-command {
  display: flex;
  align-items: baseline;
  gap: 0.52rem;
  min-width: 0;
}

.demo-entry-request code,
.demo-entry-command code {
  overflow-wrap: anywhere;
  color: var(--terminal-ink);
  white-space: pre-wrap;
}

.demo-entry-request > code::first-letter {
  color: var(--terminal-orange);
}

.demo-entry-command {
  margin-top: 0.35rem;
  padding-left: 0.15rem;
}

.demo-entry-arrow {
  flex: none;
  color: var(--terminal-orange);
}

.demo-entry-command code {
  color: var(--terminal-blue);
}

.demo-entry-spinner {
  display: inline-block;
  width: 1em;
  color: var(--terminal-blue);
}

.demo-entry-output {
  margin: 0.45rem 0 0;
  border-left: 2px solid rgb(255 116 72 / 58%);
  padding: 0.3rem 0 0.3rem 0.7rem;
  overflow-wrap: anywhere;
  color: var(--terminal-ink);
  cursor: text;
  font: inherit;
  line-height: inherit;
  -webkit-user-select: text;
  user-select: text;
  white-space: pre-wrap;
}

.demo-entry-output:empty {
  display: none;
}

.demo-entry-error .demo-entry-output {
  border-left-color: var(--terminal-orange);
  color: #ffc0ad;
}

.demo-entry-output.demo-rickroll {
  border: 1px solid rgb(140 167 255 / 34%);
  border-left: 3px solid var(--terminal-orange);
  padding: clamp(0.75rem, 2vw, 1.15rem);
  overflow-x: auto;
  color: var(--terminal-blue);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 3px,
      rgb(255 255 255 / 1.8%) 3px 4px
    ),
    rgb(0 0 0 / 24%);
  box-shadow:
    inset 0 0 2rem rgb(140 167 255 / 7%),
    0 0 1.2rem rgb(255 116 72 / 8%);
  font-size: clamp(0.62rem, 1.4vw, 0.82rem);
  line-height: 1.28;
  text-shadow: 0 0 0.7rem rgb(140 167 255 / 28%);
  white-space: pre;
}

.demo-rickroll-frame {
  display: block;
  width: max-content;
  min-width: 100%;
}

.demo-entry-output.demo-quest-complete {
  border: 1px solid rgb(140 167 255 / 34%);
  border-left: 3px solid var(--terminal-blue);
  padding: clamp(0.9rem, 2vw, 1.3rem);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 3px,
      rgb(255 255 255 / 1.8%) 3px 4px
    ),
    rgb(0 0 0 / 24%);
  box-shadow:
    inset 0 0 2rem rgb(140 167 255 / 7%),
    0 0 1.2rem rgb(140 167 255 / 8%);
  white-space: normal;
}

.demo-quest-boot,
.demo-quest-title,
.demo-quest-prompt,
.demo-quest-install,
.demo-quest-complete > a,
.demo-quest-mac-hint {
  display: block;
  opacity: 0;
  animation: demo-quest-line 240ms ease-out forwards;
}

.demo-quest-boot {
  color: var(--terminal-blue);
  white-space: pre-wrap;
}

.demo-quest-title {
  margin-top: 0.9rem;
  color: var(--terminal-ink);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  animation-delay: 260ms;
}

.demo-quest-prompt {
  margin-top: 0.12rem;
  color: var(--terminal-muted);
  animation-delay: 500ms;
}

.demo-quest-install {
  width: fit-content;
  max-width: 100%;
  margin-top: 0.7rem;
  border: 1px solid rgb(255 116 72 / 42%);
  padding: 0.42rem 0.58rem;
  overflow-x: auto;
  color: var(--terminal-orange);
  animation-delay: 740ms;
  white-space: nowrap;
}

.demo-quest-install code {
  color: var(--terminal-ink);
  -webkit-user-select: text;
  user-select: text;
}

.demo-quest-complete a {
  width: fit-content;
  margin-top: 0.7rem;
  color: var(--terminal-blue);
  text-decoration: none;
  animation-delay: 980ms;
}

.demo-quest-complete a:hover,
.demo-quest-complete a:focus-visible {
  color: var(--terminal-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.demo-quest-primary-link {
  margin-top: 0;
  font-weight: 600;
}

.demo-quest-mac-hint {
  margin-top: 0.7rem;
  color: var(--terminal-muted);
  animation-delay: 980ms;
}

.demo-quest-mac-hint code {
  color: var(--terminal-ink);
}

@keyframes demo-quest-line {
  from {
    opacity: 0;
    transform: translateY(0.22rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-review {
  margin: 0.75rem 0 0 1.55rem;
  border-left: 2px solid var(--terminal-blue);
  padding: 0.35rem 0 0.35rem 0.75rem;
  color: var(--terminal-ink);
  outline: 0;
}

.demo-review-question,
.demo-review-explanation {
  margin: 0;
}

.demo-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.35rem;
}

.demo-review-actions button {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.08rem 0;
  color: var(--terminal-blue);
  background: none;
  cursor: pointer;
  font: inherit;
}

.demo-review-actions button:hover,
.demo-review-actions button:focus-visible {
  border-color: var(--terminal-orange);
  color: var(--terminal-ink);
  outline: 0;
}

.demo-review-actions button:disabled {
  border-color: transparent;
  color: var(--terminal-muted);
  cursor: default;
}

.demo-review-explanation {
  margin-top: 0.6rem;
  color: var(--terminal-muted);
  white-space: pre-wrap;
}

.demo-review-explanation[hidden] {
  display: none;
}

.demo-session-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgb(242 238 228 / 8%);
  padding: 0.42rem 0.95rem 0.5rem;
  color: var(--terminal-muted);
  background: rgb(0 0 0 / 24%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

.demo-status {
  min-width: 0;
  margin: 0;
  color: var(--terminal-blue);
  font: inherit;
  line-height: 1.4;
}

.demo-status:empty {
  display: none;
}

.demo-shortcuts {
  flex: none;
  color: rgb(242 238 228 / 34%);
}

.translation.is-interactive .try-demo,
.translation.is-interactive .another-example {
  display: none;
}

.translation.is-interactive {
  padding-right: clamp(1rem, 2.4vw, 2rem);
  padding-bottom: clamp(1.35rem, 2.4vw, 2rem);
  padding-left: clamp(1rem, 2.4vw, 2rem);
}

.demo-dialog-open {
  overflow: hidden;
}

.demo-dialog {
  width: min(78rem, calc(100% - 3rem));
  height: min(54rem, calc(100svh - 3rem));
  max-width: none;
  max-height: none;
  border: 0;
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
}

.demo-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 20%, rgb(22 64 176 / 20%), transparent 45%),
    rgb(12 18 35 / 76%);
  backdrop-filter: blur(5px);
}

.demo-dialog-sheet {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  border: 2px solid var(--ink);
  padding: clamp(0.75rem, 1.5vw, 1.2rem);
  background:
    linear-gradient(96deg, transparent 0 48%, rgb(24 23 22 / 2.4%) 50%, transparent 52%),
    repeating-radial-gradient(circle at 0 0, rgb(20 18 14 / 2%) 0 0.6px, transparent 0.8px 4px),
    var(--paper);
  box-shadow:
    12px 12px 0 var(--blue),
    20px 20px 0 rgb(255 116 72 / 32%);
}

.demo-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.demo-dialog-header {
  padding: 0.15rem 0.15rem 0.85rem;
}

.demo-dialog-kicker {
  margin: 0 0 0.12rem;
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-dialog-header h2 {
  margin: 0;
  color: var(--blue);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.demo-dialog-header h2 code {
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85em;
}

.demo-dialog-close {
  flex: none;
  border: 0;
  border-bottom: 2px solid var(--blue);
  padding: 0.2rem 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-family: "Kalam", cursive;
  font-size: 1rem;
  transform: rotate(1deg);
}

.demo-dialog-close:hover,
.demo-dialog-close:focus-visible {
  border-color: var(--orange);
  color: var(--ink);
  outline: 0;
}

.demo-dialog-mount {
  min-height: 0;
}

.demo-dialog .translation {
  width: 100%;
  height: 100%;
  margin: 0;
  transform: none;
}

.demo-dialog .another-example {
  display: none;
}

.demo-dialog .translation.is-interactive {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding-top: 3.75rem;
}

.demo-dialog .demo-session {
  min-height: 0;
  flex: 1;
}

.demo-dialog .demo-scrollback {
  min-height: 0;
  max-height: none;
}

.down-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  color: var(--blue);
  font-family: "Kalam", cursive;
  font-size: 2.5rem;
  line-height: 1;
  text-decoration: none;
  transform: translateX(-50%);
}

.field-guide {
  position: relative;
  padding-block: clamp(10rem, 17vw, 17rem);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1rem, 2.2vw, 2.4rem);
}

.folio,
.option-label {
  margin-bottom: 1.25rem;
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-intro {
  grid-column: 2 / 11;
}

h2 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: 0.9;
  text-shadow: 0.8px 0.7px 0 rgb(12 46 131 / 18%);
}

h2 sup {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.33em;
  vertical-align: top;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.motivation {
  position: relative;
  display: grid;
  margin-top: clamp(8rem, 14vw, 13rem);
  grid-column: 2 / 12;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.motivation-lede {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.motivation-body {
  border-top: 2px solid var(--blue);
  padding-top: 1.7rem;
}

.motivation-body p {
  max-width: 33rem;
}

.motivation-body p:last-child {
  margin-bottom: 0;
}

.motivation-body code {
  white-space: nowrap;
}

.motivation-note {
  position: absolute;
  right: 0;
  bottom: -4.4rem;
  margin: 0;
  border-left: 2px solid var(--orange);
  padding-left: 0.75rem;
  color: var(--blue-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  transform: rotate(-0.5deg);
}

.motivation-note span {
  margin-right: 0.45rem;
  color: var(--orange);
}

.hand-heart {
  display: inline-block;
  margin-left: 0.02rem;
  color: var(--blue);
  font-size: 1.45em;
  line-height: 0;
  transform: rotate(2deg) translate(-6px, 0.32em);
}

.quick-start {
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.quick-start-sheet {
  display: grid;
  padding-block: clamp(5rem, 8vw, 8rem);
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.6fr);
  column-gap: clamp(3rem, 8vw, 9rem);
}

.quick-start-heading h2 {
  font-size: clamp(3.8rem, 6vw, 6.3rem);
}

.quick-start-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-start-steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  border-top: 1px solid rgb(24 23 22 / 20%);
  padding-block: 1.8rem;
}

.quick-start-steps li:first-child {
  border-top-color: var(--blue);
}

.quick-start-steps > li > span {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
}

.quick-start-steps h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.quick-start-steps p {
  max-width: 31rem;
  margin-bottom: 0;
}

.quick-start-steps code {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.24rem 0.45rem;
  background: rgb(24 23 22 / 7%);
  color: var(--blue-dark);
  white-space: nowrap;
}

.quick-start-steps a {
  display: block;
  width: fit-content;
  margin-top: 0.85rem;
  color: var(--blue-dark);
  font-family: "Kalam", cursive;
}

.quick-start-safety {
  margin: clamp(3rem, 6vw, 6rem) 0 0;
  grid-column: 2;
  color: var(--blue);
  font-family: "Kalam", cursive;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
  transform: rotate(-1deg);
}

.quick-start-safety code {
  color: var(--orange);
}

.modes {
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.modes-sheet {
  padding-block: clamp(4.5rem, 7vw, 7rem);
}

.modes-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.modes-heading .folio {
  margin-bottom: 0.45rem;
}

.modes-heading h2 {
  font-size: clamp(3.5rem, 6vw, 6.3rem);
}

.mode-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mode-option {
  min-width: 0;
  border-top: 2px solid var(--ink);
  padding: clamp(1.7rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.7rem) 0;
}

.mode-option:first-child {
  padding-left: 0;
}

.mode-option + .mode-option {
  border-left: 1px solid rgb(24 23 22 / 14%);
}

.mode-option--interactive {
  border-top-color: var(--orange);
  background: linear-gradient(to bottom, rgb(235 77 32 / 5%), transparent 72%);
}

.mode-flag {
  display: inline-block;
  margin-bottom: 1.4rem;
  border-radius: 0.18rem;
  padding: 0.18rem 0.48rem;
  color: var(--blue-dark);
  background: rgb(22 64 176 / 10%);
  font-size: 0.8rem;
  font-weight: 600;
}

.mode-option--interactive .mode-flag {
  color: #982d0f;
  background: rgb(235 77 32 / 11%);
}

.mode-option h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}

.mode-option p {
  max-width: 23rem;
  min-height: 3.2em;
  margin-bottom: 1.5rem;
  line-height: 1.45;
}

.mode-example {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-top: 1px dashed rgb(24 23 22 / 20%);
  padding-top: 0.9rem;
  color: rgb(24 23 22 / 65%);
  font-size: clamp(0.66rem, 0.9vw, 0.78rem);
  white-space: nowrap;
}


.usage {
  padding-bottom: clamp(7rem, 12vw, 12rem);
}

.usage-sheet {
  position: relative;
  display: grid;
  padding-block: clamp(7rem, 11vw, 11rem);
  grid-template-columns: 1.1fr 1fr auto 1fr;
  align-items: start;
  gap: 2rem clamp(2rem, 4vw, 4rem);
}

.usage-heading h2 {
  font-size: clamp(3.8rem, 6vw, 6.3rem);
}

.usage-option {
  padding-top: 1.25rem;
}

.usage-option h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.3rem);
}

.usage-option p:not(.option-label) {
  max-width: 28rem;
}

.usage-privacy-link {
  border: 0;
  padding: 0;
  color: var(--blue-dark);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.usage-privacy-link:hover,
.usage-privacy-link:focus-visible {
  color: var(--blue);
}

.usage-note {
  margin-top: 0rem;
  color: var(--blue);
  font-family: "Kalam", cursive;
  transform: rotate(-2deg);
}

.usage-option-command {
  display: block;
  overflow-x: auto;
  margin-top: 1.8rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--blue);
  color: var(--blue-dark);
  font-size: 0.7rem;
  white-space: nowrap;
}

.or-mark {
  align-self: center;
  color: var(--orange);
  font-family: "Kalam", cursive;
  font-size: 1.6rem;
  transform: rotate(-8deg);
}

.or-mark--between {
  align-self: center;
}

.usage-option--byok {
  align-self: center;
}

.usage-footnote {
  grid-column: 2 / -1;
  grid-row: 2;
  max-width: 45rem;
  margin: 1.5rem 0 0;
  color: rgb(24 23 22 / 62%);
  font-size: 0.78rem;
  line-height: 1.45;
}

.usage-footnote sup {
  color: var(--orange);
  font-size: 1em;
}

.usage-footnote a {
  color: var(--blue-dark);
  font-weight: 700;
}

.last-note {
  padding-bottom: clamp(10rem, 16vw, 16rem);
}

.last-note-inner {
  display: flex;
  max-width: 58rem;
  align-items: baseline;
  justify-content: space-between;
  gap: 3rem;
}

.last-note p {
  margin: 0;
  color: var(--blue);
  font-family: "Kalam", cursive;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  transform: rotate(-1deg);
}

.last-note a {
  color: var(--blue-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-block: 2.3rem;
  font-family: "Kalam", cursive;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links svg {
  display: block;
}

.footer-link {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--blue);
  text-decoration-color: var(--orange);
}

.privacy-dialog {
  width: min(54rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100svh - 2rem);
  border: var(--rule) solid var(--ink);
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--blue);
}

.privacy-dialog::backdrop {
  background: rgb(12 18 35 / 62%);
  backdrop-filter: blur(2px);
}

.privacy-sheet {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem);
  background:
    linear-gradient(96deg, transparent 0 48%, rgb(24 23 22 / 3%) 50%, transparent 52%),
    repeating-radial-gradient(circle at 0 0, rgb(20 18 14 / 2.4%) 0 0.6px, transparent 0.8px 4px),
    var(--paper);
}

.privacy-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  border: 0;
  border-bottom: 2px solid var(--blue);
  padding: 0.15rem 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-family: "Kalam", cursive;
  font-size: 1rem;
  transform: rotate(1deg);
}

.privacy-close:hover,
.privacy-close:focus-visible {
  border-color: var(--orange);
}

.privacy-kicker {
  margin-bottom: 1.1rem;
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.privacy-dialog h2 {
  margin-bottom: 1.2rem;
  color: var(--blue);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.privacy-intro {
  max-width: 35rem;
  margin-bottom: 1.6rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 650;
  line-height: 1.45;
}

.privacy-details {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.privacy-details > div {
  border-top: 2px solid var(--blue);
  padding: 1rem 1.1rem 0 0;
}

.privacy-details > div + div {
  border-left: 1px solid rgb(24 23 22 / 16%);
  padding-left: 1.1rem;
}

.privacy-details dt {
  margin-bottom: 0.55rem;
  color: var(--blue-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-details dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.privacy-details code {
  color: var(--blue-dark);
  font-size: 0.9em;
}

.privacy-advice {
  margin: 1.4rem 0 0;
  border-left: 3px solid var(--orange);
  padding: 0.55rem 0 0.55rem 0.85rem;
  color: var(--blue-dark);
  font-family: "Kalam", cursive;
  font-size: 1rem;
  line-height: 1.4;
}

.privacy-advice span {
  color: var(--orange);
}

.privacy-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  color: rgb(24 23 22 / 58%);
  font-size: 0.72rem;
}

.privacy-meta p {
  margin: 0;
}

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

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

.stats {
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.stats-sheet {
  position: relative;
  display: grid;
  isolation: isolate;
  padding-block: clamp(3rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.stats-sheet > * {
  position: relative;
  z-index: 1;
}

.stats-heading {
  grid-column: 1 / -1;
}

.stats-heading h2 {
  font-size: clamp(3.8rem, 6vw, 6.3rem);
}

.stats-total,
.stats-commands {
  padding-top: 0.5rem;
}

.stats-total {
  display: flex;
  min-height: 0;
  align-self: stretch;
  flex-direction: column;
  isolation: isolate;
}

.stats-total > :not(.stats-trend) {
  position: relative;
  z-index: 1;
}

.stats-total-heading {
  display: flex;
  min-width: 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: clamp(0.8rem, 2vw, 1.5rem);
}

.stats-subhead {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.stats-number {
  margin: 0;
  color: var(--blue);
  font-family: "Kalam", cursive;
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px 0 rgb(12 46 131 / 16%);
  transform: rotate(-1.2deg);
  width: fit-content;
  white-space: nowrap;
}

.stats-number[data-size-step="1"] {
  font-size: clamp(4.05rem, 9.9vw, 9rem);
}

.stats-number[data-size-step="2"] {
  font-size: clamp(3.6rem, 8.8vw, 8rem);
}

.stats-number[data-size-step="3"] {
  font-size: clamp(3.15rem, 7.7vw, 7rem);
}

.stats-number[data-size-step="4"] {
  font-size: clamp(2.7rem, 6.6vw, 6rem);
}

.stats-number[data-size-step="5"] {
  font-size: clamp(2.25rem, 5.5vw, 5rem);
}

.stats-caption {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stats-note {
  margin: 1.25rem 0 0 0.4rem;
  color: var(--blue);
  font-family: "Kalam", cursive;
  font-size: 1.05rem;
  transform: rotate(-1deg);
}

.stats-trend {
  position: relative;
  z-index: 0;
  min-height: clamp(8rem, 12vw, 11rem);
  flex: 1 1 auto;
  margin-top: 0.75rem;
  pointer-events: none;
}

.day-bars {
  display: flex;
  height: 100%;
  align-items: flex-end;
  border-bottom: 2px dashed rgb(24 23 22 / 25%);
}

.day-bar {
  position: relative;
  min-height: 2px;
  height: var(--value, 0%);
  flex: 0 0 calc(100% / 30);
  border-radius: 2px 2px 0 0;
  padding-inline: clamp(2px, 0.3vw, 5px);
  background-color: rgb(22 64 176 / 9%);
  background-clip: content-box;
  cursor: help;
  pointer-events: auto;
  transition: background-color 140ms ease;
}

.day-bar--today {
  background-color: rgb(235 77 32 / 12%);
}

.day-bar:hover,
.day-bar:focus-visible {
  background-color: var(--blue);
}

.day-bar--today:hover,
.day-bar--today:focus-visible {
  background-color: var(--orange);
}

.day-bar::after {
  position: absolute;
  z-index: 2;
  bottom: calc(100% + 0.55rem);
  left: 50%;
  border-radius: 0.18rem;
  padding: 0.35rem 0.55rem;
  color: var(--paper);
  background: var(--ink);
  content: attr(data-tooltip);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.25rem);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.day-bar:hover::after,
.day-bar:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.day-bar:first-child::after {
  left: 0;
  transform: translate(0, 0.25rem);
}

.day-bar:first-child:hover::after,
.day-bar:first-child:focus-visible::after {
  transform: translate(0, 0);
}

.day-bar:nth-child(30)::after {
  right: 0;
  left: auto;
  transform: translate(0, 0.25rem);
}

.day-bar:nth-child(30):hover::after,
.day-bar:nth-child(30):focus-visible::after {
  transform: translate(0, 0);
}

.command-bars {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.65rem;
}

.command-bar {
  display: grid;
  grid-template-columns: minmax(5.5rem, 9rem) 1fr minmax(3.5rem, auto);
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

.command-bar-label {
  overflow: hidden;
  color: var(--blue-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-bar-track {
  height: 1.05rem;
  border-bottom: 2px dashed rgb(24 23 22 / 25%);
}

.command-bar-fill {
  display: block;
  width: var(--value, 0%);
  height: 100%;
  border-radius: 2px 5px 3px 2px;
  background: var(--blue);
  box-shadow: 1px 1px 0 rgb(12 46 131 / 22%);
  transform: rotate(-0.3deg);
}

.command-bar-fill--top {
  background: var(--orange);
  box-shadow: 1px 1px 0 rgb(235 77 32 / 25%);
}

.command-bar-count {
  color: var(--ink);
  font-family: "Kalam", cursive;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  text-align: right;
}

@media (max-width: 980px) {
  :root {
    --wrap: min(100% - 3rem, 86rem);
  }

  .field-grid {
    display: block;
    max-width: 48rem;
  }

  .motivation {
    display: block;
    max-width: 48rem;
  }

  .motivation-body {
    margin-top: 4rem;
  }

  .quick-start-sheet {
    grid-template-columns: minmax(0, 1fr);
  }

  .quick-start-steps,
  .quick-start-safety {
    margin-top: 4rem;
    grid-column: 1;
  }

  .usage-sheet {
    grid-template-columns: 1fr 1fr;
  }

  .stats-sheet {
    grid-template-columns: 1fr;
  }

  .usage-heading {
    grid-column: 1 / -1;
    margin-bottom: 1.5rem;
  }

  .or-mark--between {
    display: none;
  }

  .usage-footnote {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(100% - 1.5rem, 86rem);
  }

  body {
    font-size: 16px;
  }

  .site-header nav {
    gap: 0.55rem;
  }

  .privacy-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100svh - 1rem);
    box-shadow: 6px 6px 0 var(--blue);
  }

  .demo-dialog {
    width: calc(100% - 1rem);
    height: calc(100svh - 1rem);
  }

  .demo-dialog-sheet {
    padding: 0.65rem;
    box-shadow: 5px 5px 0 var(--blue);
  }

  .demo-dialog-header {
    padding-bottom: 0.65rem;
  }

  .demo-dialog-kicker {
    display: none;
  }

  .demo-dialog-header h2 {
    font-size: 1.05rem;
  }

  .demo-dialog .translation {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .privacy-sheet {
    padding: 3.5rem 1.2rem 1.5rem;
  }

  .privacy-dialog h2 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .privacy-details {
    display: block;
  }

  .privacy-details > div {
    padding: 0.85rem 0 1rem;
  }

  .privacy-details > div + div {
    border-left: 0;
    padding-left: 0;
  }

  .privacy-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .hero {
    min-height: auto;
    padding-top: 10rem;
  }

  h1 {
    font-size: clamp(4.5rem, 22vw, 7rem);
    line-height: 0.83;
    flex-wrap: wrap;
    gap: 0.02em 0.14em;
  }

  .translation {
    margin-top: 4rem;
  }

  .translation {
    width: 100%;
    min-height: 18rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

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

  .terminal-title {
    justify-self: end;
  }

  .terminal-runtime {
    display: none;
  }

  .terminal-session-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .translation.is-interactive .terminal-title {
    display: none;
  }

  .terminal-line {
    align-items: flex-start;
    gap: 0.55rem;
    overflow-x: visible;
    font-size: 0.8rem;
    white-space: normal;
  }

  .terminal-line > code {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .result-part {
    display: inline;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  /* Connector paths become difficult to follow once command text wraps. */
  .translation-map {
    display: none;
  }

  .demo-form {
    gap: 0.45rem;
  }

  .demo-session-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .demo-shortcuts {
    display: none;
  }

  .terminal-shell-prompt {
    font-size: 0.68rem;
  }

  .terminal-shell-prompt .terminal-user {
    display: none;
  }

  .terminal-shell-prompt .terminal-path {
    font-size: 0;
  }

  .terminal-shell-prompt .terminal-path::after {
    content: "~";
    font-size: 0.68rem;
  }

  .demo-form {
    padding-inline: 0.7rem;
  }

  .demo-scrollback {
    padding-inline: 0.75rem;
  }

  .hero-actions,
  .site-footer,
  .last-note-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .install-block {
    display: none;
  }

  .mobile-reminder {
    display: block;
    width: 100%;
  }

  .install-command {
    width: 100%;
    gap: 0.55rem;
    font-size: 0.73rem;
  }

  .copy-state {
    margin-left: auto;
  }

  .platform-downloads {
    margin-left: 0;
  }

  .another-example {
    align-self: flex-start;
  }

  .down-cue {
    display: none;
  }

  .field-guide {
    padding-block: 10rem 13rem;
  }

  .section-intro h2 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .motivation {
    margin-top: 6rem;
  }

  .motivation-note {
    position: static;
    margin-top: 3rem;
  }

  .quick-start-steps li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .modes-heading {
    display: block;
  }

  .modes-heading h2 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .mode-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .mode-option,
  .mode-option:first-child {
    padding: 2rem 0;
  }

  .mode-option + .mode-option {
    border-left: 0;
  }

  .mode-option p {
    min-height: 0;
  }

  .usage-sheet {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .usage-heading {
    margin-bottom: 0;
  }

  .usage-option {
    margin-top: 1rem;
  }

  .usage-option--byok {
    align-self: start;
  }

  .usage-footnote {
    margin-top: 0.5rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .terminal-cursor {
    animation: none;
  }

  .demo-quest-boot,
  .demo-quest-title,
  .demo-quest-prompt,
  .demo-quest-install,
  .demo-quest-complete > a,
  .demo-quest-mac-hint {
    opacity: 1;
    animation: none;
  }

  .translation-map {
    display: none;
  }
}
