@font-face {
  font-family: "Fraunces";
  src: url(/assets/fonts/fraunces-latin-var.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url(/assets/fonts/caveat-latin-600.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --paper: #faf6ef;
  --paper-2: #f3ecdf;
  --ink: #211d19;
  --ink-soft: #5f574d;
  --rule: rgba(33, 29, 25, 0.14);
  --serif:
    "Fraunces",
    Georgia,
    "Times New Roman",
    serif;
  --sans:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  --hand:
    "Caveat",
    "Segoe Script",
    "Comic Sans MS",
    cursive;
  --sketch: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --a: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #211e1a;
    --paper-2: #2a2620;
    --ink: #ece5d8;
    --ink-soft: #a89d8d;
    --rule: rgba(236, 229, 216, 0.16);
  }
}
[data-accent=wasp] {
  --a: #b58105;
}
[data-accent=flood] {
  --a: #2563eb;
}
[data-accent=lasthuman] {
  --a: #7c3aed;
}
[data-accent=global] {
  --a: #c2410c;
}
[data-accent=santa] {
  --a: #c81e1e;
}
[data-accent=clearlist] {
  --a: #15803d;
}
[data-accent=smartspin] {
  --a: #be1865;
}
[data-accent=scratchthat] {
  --a: #0f766e;
}
@media (prefers-color-scheme: dark) {
  [data-accent=wasp] {
    --a: #f0b429;
  }
  [data-accent=flood] {
    --a: #7aa8ff;
  }
  [data-accent=lasthuman] {
    --a: #b494ff;
  }
  [data-accent=global] {
    --a: #ff8c4d;
  }
  [data-accent=santa] {
    --a: #ff6b61;
  }
  [data-accent=clearlist] {
    --a: #4cc776;
  }
  [data-accent=smartspin] {
    --a: #ff7ab8;
  }
  [data-accent=scratchthat] {
    --a: #3ecfbf;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--a);
  outline-offset: 3px;
}
.hidden {
  display: none !important;
}
.flex {
  display: flex !important;
}
.container {
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: 24px;
}
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
}
h1,
h2,
h3,
.wordmark {
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.04;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hand-note {
  font-family: var(--hand);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--a);
  transform: rotate(-2deg);
  display: inline-block;
}
.u-doodle {
  position: relative;
  white-space: nowrap;
}
.u-doodle::after {
  content: "";
  position: absolute;
  left: -1%;
  bottom: -0.16em;
  width: 102%;
  height: 0.26em;
  background: var(--a);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 30 4, 62 12, 96 7 S 152 11, 183 5 197 8 197 8' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 30 4, 62 12, 96 7 S 152 11, 183 5 197 8 197 8' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.doodle {
  color: var(--a);
  pointer-events: none;
}
#main-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-block: 22px;
  transition:
    padding 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
#main-nav.is-condensed {
  padding-block: 10px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 1.35rem;
  text-decoration: none;
}
.wordmark em {
  font-style: italic;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-links a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-block: 2px;
}
.nav-links a:hover {
  border-bottom-color: var(--ink);
}
#mobile-menu-btn {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 8px;
  cursor: pointer;
}
#mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-block: 28px;
  font-weight: 600;
}
#mobile-menu a {
  text-decoration: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 13px 26px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--a);
}
.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.9rem, 8.5vw, 6.2rem);
  max-width: 12ch;
  margin-block: 18px 30px;
}
.hero-lede {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  position: relative;
}
.hero-arrow {
  width: 74px;
  height: 58px;
  margin-left: 4px;
}
.tally {
  font-family: var(--hand);
  font-size: 1.5rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.tally strong {
  color: var(--ink);
  font-weight: 600;
}
.section {
  padding-block: 88px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 90px;
}
.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-block: 10px 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.grid-games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}
.grid-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.card {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  scroll-margin-top: 90px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.grid-games .card:nth-child(odd),
.grid-tools .card:nth-child(2) {
  transform: rotate(-0.45deg);
}
.grid-games .card:nth-child(even),
.grid-tools .card:nth-child(odd) {
  transform: rotate(0.4deg);
}
.card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 6px 8px 0 color-mix(in srgb, var(--a) 30%, transparent);
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 14px 14px 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--sketch);
  overflow: hidden;
  background: color-mix(in srgb, var(--a) 14%, var(--paper-2));
}
.card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--a);
}
.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--hand);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--a);
  background: var(--paper);
  border: 2px solid currentColor;
  border-radius: var(--sketch);
  padding: 6px 14px;
  transform: rotate(3deg);
}
.card-body {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}
.card-title-row .doodle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.card h3 {
  font-size: 1.55rem;
}
.card h3 a {
  text-decoration: none;
}
.card h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--a);
}
.card-sub {
  font-family: var(--hand);
  font-size: 1.3rem;
  color: var(--a);
  margin-bottom: 12px;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 22px;
  flex-grow: 1;
}
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.card-actions .btn {
  flex-grow: 1;
  padding-block: 11px;
  background: var(--paper);
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--ink-soft);
}
.price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex-grow: 1;
  display: grid;
  gap: 10px;
}
.card ul li {
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding-left: 22px;
  position: relative;
}
.card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--a);
  font-weight: 700;
}
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}
.about-grid > div > p {
  color: var(--ink-soft);
  max-width: 54ch;
  margin-block: 16px 28px;
}
#social-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
#social-links a {
  text-decoration: none;
  border-bottom: 2px solid var(--rule);
}
#social-links a:hover {
  border-bottom-color: var(--ink);
}
.quote-block {
  position: relative;
  padding: 34px 30px 26px 34px;
  border-left: 3px solid var(--a, var(--ink));
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.45;
}
.quote-block::before {
  content: "\201c";
  position: absolute;
  top: -6px;
  left: 8px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--a, var(--ink));
  opacity: 0.35;
}
.quote-block footer {
  margin-top: 18px;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink-soft);
}
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 56px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.site-footer .wordmark {
  font-size: 1.15rem;
}
#copyright-text {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: 6px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.coffee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.coffee .doodle {
  width: 26px;
  height: 26px;
  color: var(--ink-soft);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 16, 12, 0.6);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-panel {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 8px 10px 0 rgba(20, 16, 12, 0.35);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
.modal-panel h2 {
  font-size: 2rem;
  margin-bottom: 4px;
}
.modal-goal {
  border: 1.5px solid var(--a);
  border-radius: var(--sketch);
  padding: 18px 22px;
  margin-block: 22px;
}
.modal-goal h3 {
  font-family: var(--hand);
  font-size: 1.3rem;
  color: var(--a);
  margin-bottom: 4px;
}
.modal-step {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.modal-step-num {
  font-family: var(--hand);
  font-size: 1.4rem;
  color: var(--a);
  border: 2px solid var(--a);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.modal-step h4 {
  font-size: 0.95rem;
  font-family: var(--sans);
  font-weight: 700;
}
.modal-step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.page-article {
  max-width: 720px;
  margin-inline: auto;
  padding: 72px 24px 96px;
}
.breadcrumbs {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 44px;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.page-article h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  margin-block: 10px 20px;
}
.page-article .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.page-article .btn {
  margin-bottom: 44px;
}
.page-shot {
  border: 1.5px solid var(--ink);
  border-radius: var(--sketch);
  transform: rotate(-0.5deg);
  margin-bottom: 44px;
  width: 100%;
  height: auto;
}
.page-article section {
  margin-bottom: 36px;
}
.page-article h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.page-article section p,
.page-article ol li {
  color: var(--ink-soft);
}
.page-article ol {
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.how-to {
  border-top: 1px solid var(--rule);
  padding-top: 34px;
}
.how-to .hand-note {
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .grid-tools {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  #mobile-menu-btn {
    display: block;
  }
  .grid-games,
  .grid-tools {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    min-height: 72vh;
  }
  .hero-arrow {
    display: none;
  }
  .section {
    padding-block: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
