:root {
  --canvas: #141a12;
  --surface: #212a1d;
  --ink: #e8e8e8;
  --ink-muted: #9aa595;
  --accent: #fb8d00;
  --accent-2: #29a88b;
  --dash: rgba(232, 232, 232, 0.16);
  --step: 0.5rem;
  --font-heading: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Syne", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}

html {
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

.wrap {
  width: 100%;
  max-width: 32rem;
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.title {
  font-size: clamp(2.5rem, 1.8rem + 3.2vw, 4rem);
}

.list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  clip-path: polygon(
    0 0,
    calc(100% - 3 * var(--step)) 0,
    calc(100% - 3 * var(--step)) var(--step),
    calc(100% - 2 * var(--step)) var(--step),
    calc(100% - 2 * var(--step)) calc(2 * var(--step)),
    calc(100% - var(--step)) calc(2 * var(--step)),
    calc(100% - var(--step)) calc(3 * var(--step)),
    100% calc(3 * var(--step)),
    100% 100%,
    0 100%
  );
  transition:
    background-color 150ms,
    color 150ms;
}
.card:hover {
  background: var(--accent);
  color: var(--canvas);
}
.card span:last-child {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: none;
  color: var(--ink-muted);
}
.card:hover span:last-child {
  color: var(--canvas);
}

.group {
  padding-top: 1.5rem;
  border-top: 1px dashed var(--dash);
  display: grid;
  gap: 0.75rem;
}

.center {
  text-align: center;
  justify-items: center;
}

.joke {
  font-size: clamp(3rem, 1.5rem + 10vw, 8rem);
}

.back {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* 67 */
.six-seven {
  display: flex;
  gap: 0.1em;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(7rem, 3rem + 30vw, 18rem);
  line-height: 1;
  color: var(--accent);
}
.six-seven span {
  display: inline-block;
  animation: wiggle-up 0.5s ease-in-out infinite alternate;
}
.six-seven span:last-child {
  color: var(--accent-2);
  animation-name: wiggle-down;
}
.wiggle-text {
  animation: tilt 0.5s ease-in-out infinite alternate;
}

@keyframes wiggle-up {
  from {
    transform: translateY(-0.12em) rotate(-4deg);
  }
  to {
    transform: translateY(0.12em) rotate(4deg);
  }
}
@keyframes wiggle-down {
  from {
    transform: translateY(0.12em) rotate(4deg);
  }
  to {
    transform: translateY(-0.12em) rotate(-4deg);
  }
}
@keyframes tilt {
  from {
    transform: rotate(-2deg);
  }
  to {
    transform: rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
