


:root {
  --paper: #f8f5ec;
  --sheet: #fffdf7;
  --ink: #242722;
  --muted: #62665a;
  --red: #ae3a27;
  --light: #dad7ca;
  --serif: Fraunces, Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: ui-monospace, "Courier New", monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.43;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #236b89;
  outline-offset: 3px;
}
svg {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  flex-shrink: 0;
}
button svg,
a svg {
  pointer-events: none;
}
button:hover:not(:disabled),
a:hover {
  color: var(--red);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1104px, calc(100% - 96px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  padding: 12px;
  z-index: 4;
}
header {
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid #bcbcad;
}
.bar {
  display: flex;
  align-items: center;
  min-height: 67px;
  gap: 56px;
}
.brand,
.foot-brand {
  font: 700 29px/1 var(--serif);
  letter-spacing: -1.7px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 34px;
  border-radius: 7px 2px 7px 2px;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-6deg);
}
.brand-mark svg {
  width: 24px;
  height: 24px;
  transform: rotate(12deg);
}
nav {
  align-self: stretch;
  display: flex;
  gap: 27px;
}
nav a,
.help {
  font-size: 14px;
  text-decoration: none;
  font-weight: 650;
}
nav a {
  display: flex;
  align-items: center;
  position: relative;
}
nav a[aria-current] {
  color: var(--red);
}
nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--red);
}
.help {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 20px;
  padding: 34px 8px 30px 0;
  min-height: 225px;
}
.hero h1 {
  font: 640 clamp(61px, 6.2vw, 91px)/1.02 var(--serif);
  letter-spacing: -0.071em;
  margin: 8px 0 9px;
}
.hero h1 em {
  color: var(--red);
  font-weight: 535;
}
.intro {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  color: #494e43;
}
.kicker,
.label,
.mono {
  font: 600 11px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  margin: 0;
}
.kicker span {
  width: 23px;
  height: 2px;
  background: currentColor;
}
.bird {
  display: block;
  width: clamp(145px, 17vw, 219px);
  height: auto;
  mix-blend-mode: multiply;
  transform: rotate(2deg);
  margin-right: 28px;
}
.desk {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  align-items: start;
  gap: 23px;
}
.card {
  min-width: 0;
  background: var(--sheet);
  border: 1px solid #a4a698;
  border-radius: 6px;
  overflow: hidden;
}
.board {
  border-color: #62685b;
  box-shadow: 0 3px 0 #d6d4c7;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 25px;
  border-bottom: 1px solid var(--light);
}
h2 {
  font: 580 26px/1.16 var(--serif);
  letter-spacing: -0.055em;
  margin: 0;
}
.card-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-head h2 svg {
  color: var(--muted);
}
.quiet,
.board-tools button,
.text-btn,
.secondary {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.quiet {
  padding: 9px 0 9px 8px;
}
.quiet svg {
  width: 16px;
}
.board-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font: 500 13px var(--mono);
  margin-bottom: 19px;
}
.board-meta i {
  width: 3px;
  height: 3px;
  background: #7c7d72;
  border-radius: 50%;
}
.board-meta b {
  font-weight: 650;
  color: var(--ink);
}
#active-board,
.solver-body,
#finished {
  padding: 23px 27px 18px;
}
.label {
  display: block;
  color: var(--muted);
  letter-spacing: 0.095em;
}
.board-words {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 31px);
  margin-bottom: 24px;
}
.board-words .label {
  margin-bottom: 8px;
}
.goal-label svg {
  width: 13px;
  height: 13px;
  margin-right: 3px;
  vertical-align: -2px;
}
.goal-arrow {
  font: 29px var(--serif);
  color: #808172;
  align-self: flex-end;
  margin-bottom: 14px;
}
.tiles {
  display: flex;
  gap: 5px;
}
.playing button,
.goal > span {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 620;
  line-height: 1;
}
.playing button {
  width: clamp(43px, 4.7vw, 64px);
  height: clamp(52px, 5.5vw, 74px);
  border: 1.3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 0 3px 0 #b8b6a8;
  background: #f9f6e9;
  font-size: clamp(32px, 3.35vw, 48px);
  padding: 0;
}
.playing button.changed {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.13em;
}
.goal > span {
  width: clamp(27px, 2.65vw, 39px);
  height: clamp(35px, 3.2vw, 46px);
  border: 1px solid #caa698;
  color: var(--red);
  background: #fbece2;
  border-radius: 3px;
  font-size: clamp(22px, 2vw, 29px);
}
.board-words > div:last-child {
  align-self: flex-end;
}
.goal {
  gap: 3px;
}
.entry {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 8px;
}
.entry input {
  background: #fffef9;
  border: 1px solid #a5a796;
  border-radius: 4px;
  color: var(--ink);
  min-width: 0;
  width: 100%;
  height: 47px;
  padding: 0 13px;
  letter-spacing: 0.15em;
  font: 650 20px var(--mono);
  text-transform: uppercase;
}
.entry input::placeholder {
  font: 420 16px var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: #797d71;
}
.primary,
.secondary {
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 44px;
  padding: 10px 19px;
  font: 650 15px var(--sans);
  text-decoration: none;
}
.primary {
  background: var(--red);
  color: white;
  border: 1px solid var(--red);
}
.primary:hover:not(:disabled) {
  background: #8d2b1e;
  color: white;
}
.secondary {
  border: 1px solid #999c90;
}
.feedback {
  margin: 8px 0 0;
  color: var(--red);
  font-size: 14px;
}
.feedback:empty {
  display: none;
}
.board-tools {
  display: flex;
  gap: 23px;
  margin-top: 9px;
}
.board-tools button {
  min-height: 37px;
  padding: 3px 0;
}
.board-tools svg {
  width: 16px;
}
.ladder {
  background: #f1efe4;
}
.ladder .card-head {
  border-bottom: 1px solid #cbcbbc;
}
.mono {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.ladder-body {
  padding: 19px 23px 21px;
}
.ladder ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.route-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 12px;
  position: relative;
  min-height: 43px;
}
.point {
  z-index: 1;
  width: 10px;
  height: 10px;
  justify-self: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.route-row:not(:last-child):after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 50%;
  bottom: -50%;
  border-left: 1px dashed #949787;
}
.route-word {
  font: 650 23px var(--mono);
  letter-spacing: 0.1em;
}
.route-word u,
.example-chain u {
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.route-tag {
  font: 500 11px var(--mono);
  color: var(--muted);
}
.prompt-row .point {
  width: 8px;
  height: 8px;
  background: var(--sheet);
  border-style: dashed;
}
.prompt-row .route-word {
  font: italic 17px var(--serif);
  letter-spacing: 0;
  color: #737669;
}
.end-row .point {
  border-radius: 0;
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
}
.end-row .route-word,
.detour .route-tag {
  color: var(--red);
}
.expander {
  font-size: 13px;
  text-decoration: underline;
  padding: 8px 0;
}
.ladder details {
  margin-top: 15px;
  font-size: 14px;
}
.ladder summary {
  cursor: pointer;
}
.ladder details p {
  font: 14px/1.6 var(--mono);
  overflow-wrap: anywhere;
}
.rules {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 42px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 3px double #b8baab;
  border-bottom: 1px solid #c4c5b9;
}
.rules h2 {
  font-size: 24px;
}
.rules p,
.example-side p,
.dialog-body p {
  font-size: 15px;
  line-height: 1.6;
  color: #505648;
}
.rules p {
  max-width: 530px;
  margin: 8px 0 0;
}
.demo {
  border-left: 1px solid #c7c7ba;
  padding-left: 30px;
}
.example-chain {
  font: 600 19px/1.4 var(--mono);
  letter-spacing: 0.035em;
  margin: 7px 0;
}
.example-chain i {
  font: normal 18px var(--serif);
  color: #737768;
}
.unknown {
  color: #767a6c;
}
.text-btn {
  padding: 3px 0;
  font-size: 13px;
  color: var(--red);
}
.text-btn svg {
  width: 15px;
}
.footer-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 12px;
}
.foot-brand {
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.9px;
}
.footer-line button {
  margin-left: auto;
  padding: 8px 0;
  text-decoration: underline;
}
.footer-line a {
  text-underline-offset: 2px;
}
#finished {
  min-height: 270px;
}
.stamp {
  border: 2px solid var(--red);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  transform: rotate(-10deg);
}
#finished h3,
.solver-body h3 {
  font: 560 32px/1.1 var(--serif);
  letter-spacing: -0.04em;
  margin: 14px 0 8px;
}
#finished p {
  margin: 0.5em 0;
  color: #53594b;
}
#personal {
  font: 12px var(--mono);
}
#finish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}
.solver-body {
  padding-bottom: 25px;
}
.solver-body .feedback {
  margin-top: 14px;
}
.example-side,
.dialog-body {
  padding: 21px 24px;
}
.example-side p {
  margin: 12px 0 0;
}
.hint-list {
  display: grid;
}
.hint-list button {
  display: flex;
  justify-content: space-between;
  text-align: left;
  align-items: center;
  border-top: 1px solid var(--light);
  padding: 12px 0;
  font-size: 15px;
}
.hint-list button[aria-expanded="true"] {
  color: var(--red);
}
#answer {
  font-family: var(--mono);
  line-height: 1.6;
  color: var(--red);
}
dialog {
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid #898b7b;
  border-radius: 7px;
  max-width: min(480px, 90vw);
  padding: 0;
}
dialog::backdrop {
  background: #22271d66;
}
dialog .card-head button {
  font-size: 26px;
}
.dialog-body p:first-child {
  margin-top: 0;
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 52px);
  }
  .desk {
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
    gap: 15px;
  }
  .board-words {
    gap: 11px;
  }
  .card-head {
    padding-inline: 17px;
  }
  #active-board,
  .solver-body,
  #finished {
    padding-inline: 17px;
  }
  .playing button {
    width: 40px;
    height: 53px;
  }
  .goal > span {
    width: 25px;
    height: 35px;
  }
  .goal-arrow {
    font-size: 19px;
    margin-bottom: 8px;
  }
  .ladder-body {
    padding-inline: 15px;
  }
  .hero {
    min-height: 190px;
  }
  .bird {
    margin-right: 8px;
  }
}
@media (max-width: 720px) {
  .desk {
    grid-template-columns: 1fr;
  }
  .wrap {
    width: min(550px, calc(100% - 34px));
  }
  .bar {
    min-height: 56px;
    gap: 26px;
  }
  .brand {
    font-size: 24px;
    gap: 7px;
  }
  .brand-mark {
    width: 25px;
    height: 28px;
  }
  .brand-mark svg {
    width: 21px;
  }
  nav {
    gap: 18px;
  }
  .help span {
    display: none;
  }
  .help {
    padding: 9px 0 9px 6px;
  }
  .hero {
    min-height: 0;
    padding: 25px 0 23px;
    gap: 4px;
  }
  .hero h1 {
    font-size: clamp(39px, 8.7vw, 57px);
    letter-spacing: -0.065em;
    line-height: 1.1;
    margin: 6px 0;
  }
  .kicker {
    font-size: 9px;
    letter-spacing: 0.07em;
  }
  .kicker span {
    width: 14px;
  }
  .intro {
    font-size: 14px;
    max-width: 34ch;
  }
  .bird {
    width: clamp(64px, 16vw, 100px);
    margin: 0;
  }
  .card-head {
    min-height: 49px;
  }
  h2 {
    font-size: 23px;
  }
  .quiet {
    font-size: 13px;
  }
  .board-words {
    gap: clamp(7px, 3vw, 20px);
    margin-bottom: 20px;
  }
  .playing button {
    width: clamp(32px, 9.5vw, 50px);
    height: clamp(43px, 12vw, 60px);
  }
  .goal > span {
    width: clamp(19px, 5.4vw, 31px);
    height: clamp(27px, 7vw, 41px);
    font-size: 20px;
  }
  .playing,
  .goal {
    gap: 3px;
  }
  .board-meta {
    margin-bottom: 14px;
  }
  #active-board {
    padding-top: 16px;
    padding-bottom: 11px;
  }
  .route-row {
    min-height: 34px;
  }
  .route-word {
    font-size: 20px;
  }
  .ladder-body {
    padding-block: 10px 14px;
  }
  .rules {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 22px;
    padding: 18px 0;
  }
  .demo {
    border: 0;
    padding: 0;
  }
  .footer-line {
    gap: 9px 14px;
  }
  .footer-line button {
    margin: 0;
  }
  .entry {
    gap: 7px;
  }
  .primary,
  .secondary {
    padding-inline: 13px;
  }
  .label {
    font-size: 10px;
  }
  .example-side {
    padding: 15px;
  }
  .rules p {
    font-size: 14px;
  }
}
@media (max-width: 365px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .bar {
    gap: 18px;
  }
  .bird {
    width: 56px;
  }
  .board-words {
    gap: 6px;
  }
  .goal-arrow {
    font-size: 16px;
  }
  .intro {
    font-size: 13px;
  }
  .card-head,
  #active-board,
  .solver-body {
    padding-inline: 13px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .route-row:last-child,
  .stamp {
    animation: appear 0.18s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.35;
      translate: 0 3px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}

body[data-page=board]:not([data-game-ready]) .desk{visibility:hidden}.stage{min-height:388px;position:relative}.tool-inner{display:contents}.practice-actions{display:flex;justify-content:flex-end;gap:16px;margin-top:9px}.practice-actions button{padding:8px 0;font-size:14px;text-decoration:underline}.practice-notes{max-width:72ch;padding:24px 0}.practice-notes details{padding:12px 0;border-bottom:1px solid var(--light)}.practice-notes summary{cursor:pointer;font-weight:600}.practice-notes p{line-height:1.65}body[data-page=board] .desk{margin:0 2px 5px}.policy{padding-block:32px;max-width:65ch;line-height:1.65}.policy h1,.policy h2{font-family:var(--serif)}@media(max-width:720px){.stage{min-height:540px}}