/*
 * NITCH website. Same look as the app: a goofy late-night music channel crossed with a 90s
 * music magazine. Near-black base, lime is the brand and the main action, pink / cyan / violet
 * are pop colors for stickers and offset shadows (never body text). Headlines in Luckiest Guy,
 * scribbles in Gochi Hand, body copy in the system face so it reads easily.
 *
 * Written phone first: the base styles are the phone (a magazine cover that fills the screen,
 * pages you swipe, a contents-page menu, a button that stays under your thumb); wider screens
 * build on them from 721px. No inline styles anywhere, so the Content Security Policy can
 * forbid them. Fonts are served from this site (no third-party requests).
 */

@font-face {
  font-family: 'Luckiest Guy';
  src: url('../fonts/LuckiestGuy.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Gochi Hand';
  src: url('../fonts/GochiHand.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg: #0b0b0f;
  --surface: #16151d;
  --raised: #211f2b;
  --border: rgba(245, 245, 247, 0.09);
  --border-strong: rgba(245, 245, 247, 0.18);
  --text: #f5f5f7;
  --body: rgba(245, 245, 247, 0.82);
  --muted: rgba(245, 245, 247, 0.62);
  --lime: #e8ff5a;
  --lime-deep: #9db520;
  --lime-ink: #14140a;
  --pink: #ff4fa3;
  --cyan: #3ee6ff;
  --violet: #8b6cff;
  --paper: #f4eedc;
  --ink: #0b0b0f;
  --eye: #31252f;

  --display: 'Luckiest Guy', 'Arial Black', Impact, sans-serif;
  --marker: 'Gochi Hand', 'Comic Sans MS', cursive;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --gutter: max(18px, env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1160px;
  --bar: 60px;
  --ease-out: cubic-bezier(0.2, 0.9, 0.25, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 721px) {
  :root {
    --gutter: clamp(24px, 4vw, 32px);
    --bar: 68px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 721px) {
  body {
    font-size: 17px;
  }
}
/* The page behind the open phone menu doesn't scroll. */
html.menu-open,
html.menu-open body {
  overflow: hidden;
}

/* An old TV's scanlines over everything, barely there. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--lime);
  text-underline-offset: 3px;
}
@media (hover: hover) {
  a:hover {
    color: var(--text);
  }
}
a.inherit {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

/* Only the chosen language shows. Each piece of copy carries both. */
html[lang='fr'] [lang='en']:not(html),
html[lang='en'] [lang='fr']:not(html) {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Type ──────────────────────────────────────────────────────────────────────────── */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}

/* The 90s "3D" headline: letters on a hard pink copy of themselves. */
.pop {
  text-shadow: 3px 4px 0 var(--pink);
}
.pop-cyan {
  text-shadow: 3px 4px 0 var(--cyan);
}

.kicker {
  display: inline-block;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--lime);
  padding: 6px 12px 3px;
  border-radius: 8px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--pink);
}

.marker {
  font-family: var(--marker);
  line-height: 1.2;
  color: var(--lime);
}

.lede {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--body);
  max-width: 38em;
}

.folio {
  font: 700 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.folio-ink {
  color: rgba(11, 11, 15, 0.6);
}

/* ─── Buttons ───────────────────────────────────────────────────────────────────────── */

/* Toy buttons like the app's: a face on a darker edge that sinks when pressed. */
.btn {
  --edge: var(--lime-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 3px 26px 0;
  border: 0;
  border-radius: 16px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  color: var(--lime-ink);
  background: var(--lime);
  box-shadow: 0 5px 0 var(--edge);
  transform: translateY(0);
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), opacity 160ms;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
@media (hover: hover) {
  .btn:hover {
    color: var(--lime-ink);
    transform: translateY(-2px);
    box-shadow: 0 7px 0 var(--edge);
  }
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--edge);
  transition-duration: 60ms;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-secondary {
  --edge: #000;
  color: var(--lime);
  background: var(--raised);
  box-shadow: 0 5px 0 var(--edge), inset 0 0 0 1.5px var(--border-strong);
}
@media (hover: hover) {
  .btn-secondary:hover {
    color: var(--lime);
    box-shadow: 0 7px 0 var(--edge), inset 0 0 0 1.5px var(--border-strong);
  }
}
.btn-secondary:active {
  box-shadow: 0 1px 0 var(--edge), inset 0 0 0 1.5px var(--border-strong);
}
.btn-ink {
  --edge: #000;
  color: var(--lime);
  background: var(--ink);
}
@media (hover: hover) {
  .btn-ink:hover {
    color: var(--lime);
  }
}
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ─── Masthead (top bar) ────────────────────────────────────────────────────────────── */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top);
  background: rgba(11, 11, 15, 0.86);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.masthead-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--bar);
}
.masthead .logo {
  margin-right: auto;
}
.masthead .logo img {
  height: 30px;
  width: auto;
}
.topnav {
  display: none;
}
/* Legal pages have no phone menu: their header keeps the "Say hi" button (the logo goes home). */
.topnav.keep {
  display: flex;
  align-items: center;
}
.topnav.keep a:not(.cta) {
  display: none;
}
@media (min-width: 901px) {
  .topnav.keep a:not(.cta) {
    display: inline-block;
  }
}
.topnav a {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px 7px;
  border-radius: 10px;
  transition: background-color 160ms, color 160ms;
}
@media (hover: hover) {
  .topnav a:hover {
    background: var(--raised);
    color: var(--lime);
  }
}
.topnav a.cta {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 2px 3px 0 var(--pink);
  margin-left: 6px;
}

.lang {
  display: inline-flex;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang button {
  font: 700 13px/1 var(--sans);
  letter-spacing: 0.04em;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  min-width: 40px;
  min-height: 36px;
  cursor: pointer;
  transition: background-color 160ms, color 160ms;
  touch-action: manipulation;
}
.lang button[aria-pressed='true'] {
  background: var(--text);
  color: var(--ink);
}

/* The phone menu button: a lime sticker whose lines fold into an X. */
.menu-btn {
  position: relative;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--pink);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms var(--ease-out), box-shadow 160ms;
}
.menu-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--pink);
}
.menu-lines {
  position: relative;
  width: 22px;
  height: 16px;
}
.menu-lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 280ms var(--spring), opacity 160ms, top 280ms var(--spring);
}
.menu-lines i:nth-child(1) {
  top: 0;
}
.menu-lines i:nth-child(2) {
  top: 6.5px;
}
.menu-lines i:nth-child(3) {
  top: 13px;
}
.menu-open .menu-lines i:nth-child(1) {
  top: 6.5px;
  transform: rotate(45deg);
}
.menu-open .menu-lines i:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.menu-open .menu-lines i:nth-child(3) {
  top: 6.5px;
  transform: rotate(-45deg);
}

/* The menu itself: the magazine's contents page, dropping over the screen. */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  overflow-y: auto;
  padding: calc(var(--bar) + env(safe-area-inset-top) + 18px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background-color: var(--violet);
  background-image: radial-gradient(rgba(11, 11, 15, 0.22) 2px, transparent 2.3px);
  background-size: 13px 13px;
  clip-path: circle(0 at calc(100% - 42px) calc(30px + env(safe-area-inset-top)));
  visibility: hidden;
  transition: clip-path 480ms var(--ease-out), visibility 0s linear 480ms;
}
.menu.open {
  clip-path: circle(150% at calc(100% - 42px) calc(30px + env(safe-area-inset-top)));
  visibility: visible;
  transition: clip-path 520ms var(--ease-out), visibility 0s;
}
.menu-inner {
  max-width: 520px;
  margin: 0 auto;
}
.menu-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.menu-list li {
  opacity: 0;
  transform: translateY(26px) rotate(-3deg);
  transition: opacity 300ms, transform 520ms var(--spring);
}
.menu.open .menu-list li {
  opacity: 1;
  transform: none;
}
.menu.open .menu-list .i1 { transition-delay: 80ms; }
.menu.open .menu-list .i2 { transition-delay: 125ms; }
.menu.open .menu-list .i3 { transition-delay: 170ms; }
.menu.open .menu-list .i4 { transition-delay: 215ms; }
.menu.open .menu-list .i5 { transition-delay: 260ms; }
.menu.open .menu-list .i6 { transition-delay: 305ms; }
.menu-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 18px 10px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(26px, 8vw, 36px);
  line-height: 1;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 140ms var(--ease-out), box-shadow 140ms;
}
.menu-list li:nth-child(odd) a {
  transform: rotate(-1deg);
}
.menu-list li:nth-child(even) a {
  transform: rotate(0.8deg);
}
.menu-list a:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}
.menu-list a.hot {
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--pink);
}
.menu-list .pg {
  flex: none;
  min-width: 3.4em;
  font-family: var(--marker);
  font-size: 0.6em;
  color: #c4126b;
}
.menu-foot {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.menu-foot a {
  color: var(--ink);
}

/* The magazine's info line under the masthead. */
.issue-line {
  border-bottom: 1px solid var(--border);
  font: 700 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.issue-line .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.issue-line .hide-sm {
  display: none;
}

@media (min-width: 721px) {
  .masthead-inner {
    gap: 20px;
  }
  .masthead .logo img {
    height: 38px;
  }
  .topnav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .menu-btn,
  .menu {
    display: none;
  }
  .issue-line {
    font-size: 12px;
  }
  .issue-line .hide-sm {
    display: inline;
  }
}
@media (min-width: 721px) and (max-width: 900px) {
  .topnav a:not(.cta) {
    display: none;
  }
}

/* ─── Cover (hero) ──────────────────────────────────────────────────────────────────── */

/* On a phone it's a whole magazine cover: kicker, the NITCH masthead printed over the cover
 * art, the headline, then the buttons, filling the screen. */
.cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100svh - var(--bar) - 30px - env(safe-area-inset-top));
  padding: 18px 0 30px;
  display: flex;
  flex-direction: column;
}
/* Halftone dots printing through, like a cheap magazine cover. */
.cover::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 79, 163, 0.32) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 30%, #000 0%, transparent 55%);
  mask-image: radial-gradient(ellipse at 85% 30%, #000 0%, transparent 55%);
}
.cover::after {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -1;
  background-image: radial-gradient(rgba(62, 230, 255, 0.26) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at 5% 95%, #000 0%, transparent 45%);
  mask-image: radial-gradient(ellipse at 5% 95%, #000 0%, transparent 45%);
}

.cover-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
/* Phone: the copy's pieces and the art interleave as one column. */
.cover-copy {
  display: contents;
}
.cover .kicker {
  order: 1;
}
.cover-wordmark {
  order: 2;
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 12px 0 -14%;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  animation: stamp 700ms var(--spring) 120ms both;
}
.cover-art {
  order: 3;
  align-self: center;
}
.cover h1 {
  order: 4;
  font-size: clamp(30px, 8.6vw, 54px);
  margin: 18px 0 12px;
}
.cover .lede {
  order: 5;
  margin: 0 0 24px;
}
.cover-actions {
  order: 6;
  display: grid;
  gap: 14px;
  width: 100%;
}
.cover-actions .btn {
  width: 100%;
}

@keyframes stamp {
  from {
    opacity: 0;
    transform: scale(1.25) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* The cover art: the mascot on a sticker, with cover lines stuck around it. */
.cover-art {
  position: relative;
  aspect-ratio: 1 / 1.02;
  width: 100%;
  max-width: 420px;
}
.cover-card {
  position: absolute;
  inset: 8% 6% 8% 6%;
  border-radius: var(--radius-lg);
  background: var(--violet);
  border: 3px solid var(--ink);
  box-shadow: 9px 10px 0 var(--pink);
  transform: rotate(3deg);
  overflow: hidden;
}
.cover-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 11, 15, 0.26) 2px, transparent 2.3px);
  background-size: 12px 12px;
}
.cover-card::after {
  /* A spotlight. */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.4), transparent 60%);
}

.mascot {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 2;
  width: 74%;
  aspect-ratio: 1.1539;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: translate(-50%, -50%) rotate(-4deg);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mascot img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(6px 8px 0 var(--ink));
  animation: bob 3.2s ease-in-out infinite;
  pointer-events: none;
}
.mascot:focus-visible {
  outline-offset: 0;
  border-radius: 30%;
}
.mascot .eye {
  position: absolute;
  width: 15.6%;
  aspect-ratio: 1;
  margin: -7.8% 0 0 -7.8%;
  border-radius: 50%;
  background: var(--eye);
  transform-origin: center;
  transition: transform 90ms ease-out;
  animation: bob 3.2s ease-in-out infinite;
  pointer-events: none;
}
.mascot .eye::before,
.mascot .eye::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: #fff;
  translate: var(--lx, 0) var(--ly, 0);
  transition: translate 120ms ease-out;
}
.mascot .eye::before {
  width: 30%;
  height: 30%;
  left: 20%;
  top: 15%;
}
.mascot .eye::after {
  width: 13%;
  height: 13%;
  left: 64%;
  top: 68%;
}
.mascot .eye.l {
  left: 28.38%;
  top: 61.26%;
}
.mascot .eye.r {
  left: 49%;
  top: 62.86%;
}
.mascot.blink .eye {
  transform: scaleY(0.08);
}
/* Poked: a jump with a squish on landing. */
.mascot.poked {
  animation: poke 620ms var(--ease-out);
}
@keyframes poke {
  0% {
    transform: translate(-50%, -50%) rotate(-4deg) scale(1, 1);
  }
  18% {
    transform: translate(-50%, -50%) rotate(-4deg) scale(1.12, 0.84);
  }
  45% {
    transform: translate(-50%, -78%) rotate(8deg) scale(0.94, 1.08);
  }
  75% {
    transform: translate(-50%, -50%) rotate(-6deg) scale(1.1, 0.9);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-4deg) scale(1, 1);
  }
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

.poke-hint {
  position: absolute;
  z-index: 3;
  left: 34%;
  top: 23%;
  margin: 0;
  font-size: 22px;
  transform: rotate(-8deg);
  transition: opacity 300ms;
  pointer-events: none;
}
.poked-once .poke-hint {
  opacity: 0;
}

/* A starburst sticker. */
.burst {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 100px;
  aspect-ratio: 1;
  padding: 16px;
  text-align: center;
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.05;
  color: var(--ink);
  background: var(--lime);
  clip-path: polygon(
    50% 0%, 61% 15%, 79% 6%, 79% 25%, 98% 26%, 87% 42%, 100% 55%, 83% 63%, 90% 82%, 71% 80%, 64% 99%,
    50% 87%, 36% 99%, 29% 80%, 10% 82%, 17% 63%, 0% 55%, 13% 42%, 2% 26%, 21% 25%, 21% 6%, 39% 15%
  );
  animation: wobble 6s ease-in-out infinite;
  pointer-events: none;
}
.burst.one {
  right: -2%;
  top: 16%;
  transform: rotate(12deg);
}
.burst.two {
  left: -3%;
  top: 12%;
  width: 92px;
  background: var(--cyan);
  font-size: 12px;
  transform: rotate(-10deg);
  animation-delay: -3s;
}
.poked-once .burst {
  animation: wobble 6s ease-in-out infinite, jiggle 500ms var(--spring);
}
@keyframes wobble {
  0%,
  100% {
    rotate: 0deg;
  }
  50% {
    rotate: 6deg;
  }
}
@keyframes jiggle {
  30% {
    scale: 1.15;
  }
}

/* A cover line stuck on with tape. */
.coverline {
  position: absolute;
  z-index: 3;
  max-width: 170px;
  padding: 9px 12px 7px;
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.1;
  color: var(--ink);
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 4px 5px 0 var(--ink);
  pointer-events: none;
}
.coverline::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  width: 54px;
  height: 18px;
  margin-left: -27px;
  background: rgba(244, 238, 220, 0.55);
  transform: rotate(-4deg);
}
/* Phone: bottom left, clear of the mascot's face. */
.coverline.a {
  left: -1%;
  bottom: 5%;
  transform: rotate(-6deg);
}
.coverline small {
  display: block;
  font: 700 10px/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 11, 15, 0.6);
  margin-top: 4px;
}

/* A cover barcode. */
.barcode {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 1%;
  padding: 7px 9px 5px;
  background: #fff;
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--ink);
  pointer-events: none;
}
.barcode .bars {
  display: block;
  width: 88px;
  height: 32px;
  background: repeating-linear-gradient(
    90deg,
    #111 0 2px,
    #fff 2px 3px,
    #111 3px 4px,
    #fff 4px 7px,
    #111 7px 10px,
    #fff 10px 11px,
    #111 11px 12px,
    #fff 12px 15px
  );
}
.barcode span {
  display: block;
  font: 700 9px/1.4 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.2em;
  color: #111;
  text-align: center;
}

/* "Turn the page": a nudge to scroll, at the foot of the phone cover. */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 26px auto 0;
  font-family: var(--marker);
  font-size: 18px;
  color: var(--muted);
  text-decoration: none;
  animation: nudge 2.2s ease-in-out infinite;
}
.scroll-cue svg {
  width: 22px;
  height: 22px;
}
@keyframes nudge {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 6px;
  }
}

@media (min-width: 721px) {
  .cover {
    min-height: 0;
    padding: clamp(36px, 7vw, 88px) 0 clamp(56px, 8vw, 110px);
    display: block;
  }
  .cover-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
  }
  .cover-copy {
    display: block;
  }
  .cover-wordmark {
    width: min(100%, 620px);
    max-width: none;
    margin: 18px 0 6px -6px;
  }
  .cover h1 {
    font-size: clamp(30px, 4.6vw, 54px);
    margin: 10px 0 18px;
    max-width: 15em;
  }
  .cover .lede {
    margin: 0 0 30px;
  }
  .cover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 16px;
    width: auto;
  }
  .cover-actions .btn {
    width: auto;
  }
  .cover-art {
    max-width: 470px;
    aspect-ratio: 1 / 1.08;
    justify-self: center;
  }
  .cover-card {
    inset: 6% 4% 8% 6%;
    box-shadow: 10px 12px 0 var(--pink);
  }
  .mascot {
    top: 50%;
    width: 72%;
    transform: translate(-50%, -46%) rotate(-4deg);
  }
  @keyframes poke {
    0% {
      transform: translate(-50%, -46%) rotate(-4deg) scale(1, 1);
    }
    18% {
      transform: translate(-50%, -46%) rotate(-4deg) scale(1.12, 0.84);
    }
    45% {
      transform: translate(-50%, -72%) rotate(8deg) scale(0.94, 1.08);
    }
    75% {
      transform: translate(-50%, -46%) rotate(-6deg) scale(1.1, 0.9);
    }
    100% {
      transform: translate(-50%, -46%) rotate(-4deg) scale(1, 1);
    }
  }
  .burst {
    width: 132px;
    padding: 18px;
    font-size: 17px;
  }
  .burst.one {
    right: -2%;
    top: 0;
  }
  .burst.two {
    left: -4%;
    top: auto;
    bottom: 4%;
    width: 118px;
    font-size: 15px;
  }
  .coverline {
    max-width: 230px;
    padding: 10px 14px 8px;
    font-size: 16px;
  }
  .coverline.a {
    left: -2%;
    top: 12%;
    bottom: auto;
  }
  .coverline small {
    font-size: 11px;
  }
  .barcode {
    right: 4%;
    bottom: 0;
  }
  .barcode .bars {
    width: 108px;
    height: 40px;
  }
  .scroll-cue,
  .poke-hint {
    display: none;
  }
}
@media (min-width: 721px) and (max-width: 860px) {
  .cover-grid {
    grid-template-columns: 1fr;
  }
  .cover-art {
    max-width: 380px;
    order: -1;
  }
}

/* ─── Ticker ────────────────────────────────────────────────────────────────────────── */

.ticker {
  position: relative;
  overflow: hidden;
  background: var(--lime);
  color: var(--ink);
  border-block: 3px solid var(--ink);
  transform: rotate(-1.6deg);
  margin: 0 -4vw;
  box-shadow: 0 8px 0 var(--pink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-family: var(--display);
  font-size: clamp(17px, 2.4vw, 26px);
  letter-spacing: 0.05em;
  padding: 13px 0 9px;
  white-space: nowrap;
}
.ticker-track span::after {
  content: '\2736';
  margin: 0 18px;
  color: var(--pink);
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ─── Sections ──────────────────────────────────────────────────────────────────────── */

.section {
  padding: 72px 0;
}
.section-tight {
  padding-top: 8px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: 26px;
}
.section-head h2 {
  font-size: clamp(32px, 9vw, 64px);
  margin-top: 14px;
}
.section-head p {
  margin: 0;
  max-width: 30em;
}
@media (min-width: 721px) {
  .section {
    padding: clamp(80px, 9vw, 120px) 0;
  }
  .section-tight {
    padding-top: 0;
  }
  .section-head {
    margin-bottom: clamp(32px, 4vw, 48px);
  }
  .section-head h2 {
    font-size: clamp(34px, 5.4vw, 64px);
  }
}

/* The three "features": one page each for artists, venues and fans. On a phone they're pages
 * you swipe through, snapping one at a time, the next one peeking in from the side. */
.swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 21px;
  transform: rotate(-2deg);
}
.swipe-hint svg {
  width: 52px;
  height: 22px;
  animation: nudge-x 1.8s ease-in-out infinite;
}
@keyframes nudge-x {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 8px 0;
  }
}
.features {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  margin: 0 calc(-1 * var(--gutter));
  padding: 18px var(--gutter) 30px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.features::-webkit-scrollbar {
  display: none;
}
.feature {
  --pop: var(--pink);
  position: relative;
  flex: 0 0 84%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--border-strong);
  box-shadow: 7px 8px 0 var(--pop);
  transform: rotate(-1.2deg);
  transition: transform 300ms var(--spring), box-shadow 260ms var(--ease-out);
}
.feature:nth-child(2) {
  --pop: var(--cyan);
  transform: rotate(1deg);
}
.feature:nth-child(3) {
  --pop: var(--violet);
  transform: rotate(-0.6deg);
}
.feature:active {
  transform: rotate(0deg) scale(0.985);
}
.feature .tag {
  align-self: flex-start;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 6px 10px 3px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--pop);
}
.feature h3 {
  font-size: clamp(25px, 7vw, 32px);
}
.feature p {
  margin: 0;
}
.feature ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.feature li {
  position: relative;
  padding-left: 26px;
}
.feature li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--pop);
  transform: rotate(45deg);
}
.feature .page {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--marker);
  font-size: 20px;
  color: var(--muted);
}

/* Which page you're on. */
.dots {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.dots button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}
.dots button::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: width 300ms var(--spring), background-color 200ms;
}
.dots button[aria-selected='true']::before {
  width: 28px;
  background: var(--lime);
}

@media (min-width: 721px) {
  .swipe-hint,
  .dots {
    display: none;
  }
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 32px);
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .feature {
    padding: 26px 24px 24px;
    box-shadow: 8px 9px 0 var(--pop);
    transform: rotate(-1.5deg);
  }
  .feature:nth-child(2) {
    transform: rotate(1deg) translateY(18px);
  }
  .feature:active {
    transform: none;
  }
}
@media (min-width: 721px) and (hover: hover) {
  .feature:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 12px 14px 0 var(--pop);
  }
}

/* "How it works" on a test card: SMPTE color bars. */
.testcard {
  position: relative;
  border-radius: var(--radius-lg);
  border: 3px solid var(--ink);
  overflow: hidden;
  box-shadow: 8px 10px 0 var(--lime);
}
.testcard .bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  height: 34px;
}
.testcard .bars i:nth-child(1) { background: #c0c0c0; }
.testcard .bars i:nth-child(2) { background: #c0c000; }
.testcard .bars i:nth-child(3) { background: #00c0c0; }
.testcard .bars i:nth-child(4) { background: #00c000; }
.testcard .bars i:nth-child(5) { background: #c000c0; }
.testcard .bars i:nth-child(6) { background: #c00000; }
.testcard .bars i:nth-child(7) { background: #0000c0; }
.testcard .bars.low {
  height: 14px;
}
.testcard .bars.low i:nth-child(even) { background: #131313; }
.testcard .bars.low i:nth-child(1) { background: #0000c0; }
.testcard .bars.low i:nth-child(3) { background: #c000c0; }
.testcard .bars.low i:nth-child(5) { background: #00c0c0; }
.testcard .bars.low i:nth-child(7) { background: #c0c0c0; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--raised);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 22px 20px;
  border-bottom: 2px dashed var(--border-strong);
}
.step:last-child {
  border-bottom: 0;
}
.step .num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 26px;
  padding-top: 4px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 3px 4px 0 var(--pink);
}
.step:nth-child(2) .num {
  background: var(--cyan);
  box-shadow: 3px 4px 0 var(--violet);
}
.step:nth-child(3) .num {
  background: var(--pink);
  box-shadow: 3px 4px 0 var(--lime);
}
.step h3 {
  font-size: clamp(21px, 5.6vw, 27px);
  align-self: center;
}
.step p {
  margin: 0;
}
@media (min-width: 861px) {
  .testcard {
    box-shadow: 10px 12px 0 var(--lime);
  }
  .testcard .bars {
    height: 46px;
  }
  .testcard .bars.low {
    height: 18px;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .step {
    display: block;
    padding: clamp(22px, 3vw, 34px);
    border-bottom: 0;
    border-right: 2px dashed var(--border-strong);
  }
  .step:last-child {
    border-right: 0;
  }
  .step .num {
    width: 54px;
    height: 54px;
    font-size: 28px;
    margin-bottom: 16px;
  }
  .step h3 {
    margin-bottom: 10px;
  }
}

/* The editor's letter: cream paper, ink type, handwritten notes in the margin. */
.paper {
  position: relative;
  color: var(--ink);
  background: var(--paper);
  isolation: isolate;
}
.paper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(11, 11, 15, 0.08) 1.2px, transparent 1.4px);
  background-size: 10px 10px;
}
/* Torn top and bottom edges. */
.paper::after,
.paper .torn-bottom {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 15px;
  background: var(--paper);
}
.paper::after {
  top: -14px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
}
.paper .torn-bottom {
  bottom: -14px;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
}
.paper h2,
.paper h3,
.paper a {
  color: var(--ink);
}
.letter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.letter h2 {
  font-size: clamp(34px, 10vw, 70px);
  margin-top: 14px;
  text-shadow: 3px 4px 0 var(--pink);
}
.letter .body p {
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
  margin: 0 0 18px;
  color: rgba(11, 11, 15, 0.86);
}
.letter .body p.drop::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.2em;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--pink);
  text-shadow: 3px 3px 0 var(--ink);
}
.letter .sign {
  font-family: var(--marker);
  font-size: 30px;
  color: var(--ink);
  transform: rotate(-3deg);
  display: inline-block;
  margin-top: 6px;
}
.scribble {
  font-family: var(--marker);
  font-size: 24px;
  line-height: 1.15;
  color: #c4126b;
  transform: rotate(-4deg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
}
.scribble svg {
  width: 64px;
  height: 40px;
  flex: none;
}
@media (min-width: 861px) {
  .letter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
  }
  .letter h2 {
    font-size: clamp(36px, 5.6vw, 70px);
  }
}

/* ─── Contact: the reply card ───────────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-aside h2 {
  font-size: clamp(42px, 13vw, 64px);
  margin: 14px 0 16px;
}
.contact-aside p {
  margin: 0 0 16px;
}
.contact-aside .lede {
  font-size: 18px;
}
.contact-aside .direct {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  word-break: break-all;
  transition: border-color 160ms, transform 200ms var(--ease-out);
}
.contact-aside .direct:active {
  transform: scale(0.98);
}
@media (hover: hover) {
  .contact-aside .direct:hover {
    border-color: var(--lime);
    transform: translateY(-2px);
  }
}
.contact-aside .direct svg {
  width: 22px;
  height: 22px;
  color: var(--lime);
  flex: none;
}

/* The tear-off reply card. On a phone it runs almost edge to edge. */
.reply {
  position: relative;
  margin: 0 calc(-1 * var(--gutter) + 8px);
  padding: 30px 18px 22px;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 0 var(--pink);
}
/* A perforated edge along the top. */
.reply::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 12px;
  height: 6px;
  background-image: radial-gradient(circle, rgba(11, 11, 15, 0.28) 2.2px, transparent 2.6px);
  background-size: 14px 6px;
}
.reply h3 {
  color: var(--ink);
  font-size: clamp(24px, 6vw, 30px);
  margin: 8px 0 4px;
}
.reply .hint {
  margin: 0 0 20px;
  color: rgba(11, 11, 15, 0.72);
  font-size: 15px;
}
@media (min-width: 721px) {
  .reply {
    margin: 0;
    padding: clamp(28px, 3.4vw, 40px);
    box-shadow: 10px 12px 0 var(--pink);
    transform: rotate(0.6deg);
  }
}
@media (min-width: 901px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
  }
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.field label,
.field legend {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.field .opt {
  font-weight: 600;
  color: rgba(11, 11, 15, 0.6);
}
.field .help,
.field .count {
  font-size: 13.5px;
  color: rgba(11, 11, 15, 0.7);
  margin: 0;
}
.field .count {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}
.field .count.near {
  color: #b0103a;
  font-weight: 700;
}
/* 16px or more, or iOS zooms the page in when a field gets focus. */
.field input,
.field textarea {
  width: 100%;
  font: 500 16px/1.5 var(--sans);
  color: var(--ink);
  background: #fffdf6;
  border: 2px solid rgba(11, 11, 15, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 52px;
  transition: border-color 160ms, box-shadow 160ms;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  min-height: 160px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.35);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(11, 11, 15, 0.42);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #c4123f;
}
.field .error {
  display: none;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #b0103a;
}
.field.invalid .error {
  display: block;
}
.field.invalid {
  animation: shake 360ms var(--ease-out);
}
@keyframes shake {
  20% {
    translate: -6px 0;
  }
  40% {
    translate: 5px 0;
  }
  60% {
    translate: -3px 0;
  }
  80% {
    translate: 2px 0;
  }
}
.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}
@media (min-width: 561px) {
  .two {
    grid-template-columns: 1fr 1fr;
  }
}

/* "I'm a…": chips that are really radio buttons. */
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chip > span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fffdf6;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 160ms, box-shadow 160ms, transform 200ms var(--spring);
}
.chip > span:active {
  transform: scale(0.94);
}
@media (hover: hover) {
  .chip > span:hover {
    transform: translateY(-1px);
  }
}
.chip input:checked + span {
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--pink);
  transform: rotate(-2deg);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(11, 11, 15, 0.86);
}
.check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.check.invalid {
  color: #b0103a;
  font-weight: 700;
}

/* Bots fill this in; people never see it. */
.trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: grid;
  gap: 14px;
}
.form-foot .btn {
  --edge: #000;
  width: 100%;
  background: var(--ink);
  color: var(--lime);
}
@media (hover: hover) {
  .form-foot .btn:hover {
    color: var(--lime);
  }
}
.form-foot small {
  color: rgba(11, 11, 15, 0.7);
  font-size: 13.5px;
  text-align: center;
}
@media (min-width: 721px) {
  .form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
  }
  .form-foot .btn {
    width: auto;
  }
}
.wait-label .secs {
  font-variant-numeric: tabular-nums;
}

.status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  display: none;
}
.status.show {
  display: block;
}
.status.error {
  background: rgba(196, 18, 63, 0.1);
  color: #8f0c30;
  border: 2px solid rgba(196, 18, 63, 0.4);
}

/* Sent: the card flips to a thank-you. */
.sent {
  display: none;
  text-align: center;
  padding: 18px 0 6px;
}
.reply.done form {
  display: none;
}
.reply.done .sent {
  display: block;
  animation: pop-in 460ms var(--spring) both;
}
.sent .stamp {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(32px, 9vw, 44px);
  color: #e0157c;
  border: 5px solid #e0157c;
  border-radius: 12px;
  padding: 10px 18px 4px;
  margin: 6px 0 22px;
  letter-spacing: 0.06em;
  animation: stamp-down 520ms var(--spring) 120ms both;
}
.sent p {
  margin: 0 auto 18px;
  max-width: 30em;
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes stamp-down {
  from {
    opacity: 0;
    transform: scale(2) rotate(-20deg);
  }
  to {
    opacity: 1;
    transform: rotate(-8deg);
  }
}

/* ─── The dock (phone): "Introduce yourself", always under your thumb ─────────────── */

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 6px 18px 4px 10px;
  border-radius: 20px;
  background: var(--lime);
  color: var(--lime-ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.05em;
  box-shadow: 0 5px 0 var(--lime-deep), 0 14px 34px rgba(0, 0, 0, 0.55);
  transform: translateY(calc(100% + 40px));
  transition: transform 420ms var(--spring), box-shadow 140ms;
  touch-action: manipulation;
}
.dock.show {
  transform: none;
}
.dock:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--lime-deep), 0 10px 24px rgba(0, 0, 0, 0.5);
  transition-duration: 60ms;
}
/* The mascot on a little ink badge (lime on lime would vanish). */
.dock-face {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--violet);
  border: 2.5px solid var(--ink);
  transform: rotate(-8deg);
}
.dock-face img {
  width: 36px;
  height: auto;
  filter: drop-shadow(1.5px 2px 0 var(--ink));
  animation: bob 3.2s ease-in-out infinite;
}
.dock svg {
  width: 22px;
  height: 22px;
  margin-left: auto;
}
/* Room at the end of the page so the dock never covers the footer's last lines. */
.footer {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
@media (min-width: 721px) {
  .dock {
    display: none;
  }
  .footer {
    padding-bottom: 40px;
  }
}

/* ─── Footer ────────────────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding-top: 44px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.footer-grid > :first-child {
  grid-column: 1 / -1;
}
.footer img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}
.footer .tagline {
  margin: 0 0 6px;
}
.footer h2 {
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.footer a {
  color: var(--body);
  text-decoration: none;
  display: inline-block;
  padding: 9px 0;
}
@media (hover: hover) {
  .footer a:hover {
    color: var(--lime);
  }
}
.footer .fine {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
}
@media (min-width: 761px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px;
  }
  .footer-grid > :first-child {
    grid-column: auto;
  }
  .footer img {
    height: 44px;
  }
  .footer a {
    padding: 6px 0;
  }
}

/* ─── Legal pages ───────────────────────────────────────────────────────────────────── */

.doc-head {
  padding: 36px 0 24px;
  border-bottom: 1px solid var(--border);
}
.doc-head h1 {
  font-size: clamp(34px, 10vw, 64px);
  margin: 16px 0 10px;
}
.doc-head p {
  margin: 0;
  color: var(--muted);
}
.doc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 28px 0 72px;
}
.toc {
  font-size: 15px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.toc h2 {
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.toc ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
}
.toc a {
  color: var(--body);
  text-decoration: none;
  display: inline-block;
  padding: 7px 0;
}
@media (hover: hover) {
  .toc a:hover {
    color: var(--lime);
  }
}
.prose {
  max-width: 46em;
  overflow-wrap: break-word;
}
.prose section {
  scroll-margin-top: calc(var(--bar) + 20px);
}
.prose h2 {
  font-size: clamp(23px, 6vw, 30px);
  margin: 40px 0 12px;
}
.prose section:first-of-type h2 {
  margin-top: 0;
}
.prose h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
  margin: 24px 0 8px;
  color: var(--text);
}
.prose p,
.prose li {
  color: var(--body);
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose strong {
  color: var(--text);
}
.prose .summary {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  box-shadow: 6px 7px 0 var(--violet);
  margin-bottom: 32px;
}
.prose .summary h2 {
  margin-top: 0;
  font-size: 22px;
}
.prose .summary ul {
  margin: 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-strong);
  vertical-align: top;
}
.prose th {
  color: var(--text);
}
.table-scroll {
  overflow-x: auto;
}
/* A detail the operator still has to fill in before launch. */
.fill {
  background: rgba(232, 255, 90, 0.14);
  color: var(--lime);
  border-radius: 4px;
  padding: 0 4px;
}
@media (min-width: 901px) {
  .doc-head {
    padding: clamp(40px, 6vw, 72px) 0 28px;
  }
  .doc {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
    padding: 40px 0 88px;
  }
  .toc {
    position: sticky;
    top: calc(var(--bar) + 28px);
    align-self: start;
    padding: 0;
    background: none;
    border: 0;
    font-size: 14.5px;
  }
  .toc a {
    padding: 4px 0;
  }
}

/* ─── 404 ───────────────────────────────────────────────────────────────────────────── */

.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}
.lost .testcard {
  max-width: 460px;
  margin: 0 auto 28px;
}
.lost .testcard .bars {
  height: 150px;
}
.lost h1 {
  font-size: clamp(36px, 10vw, 60px);
  margin-bottom: 12px;
}
.lost .lede {
  margin: 0 auto 28px;
}

/* ─── Scroll reveal ─────────────────────────────────────────────────────────────────── */

.js .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 600ms var(--ease-out), translate 700ms var(--spring);
}
.js .reveal.in {
  opacity: 1;
  translate: 0 0;
}
/* Pages in the phone's swipe row start off to the side, where a scroll reveal would never fire:
 * they're simply there. */
@media (max-width: 720px) {
  .js .feature.reveal {
    opacity: 1;
    translate: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal {
    opacity: 1;
    translate: none;
  }
}

/* ─── The mascot's faces ────────────────────────────────────────────────────────────── */

/* The same faces as in the app, drawn over its eyes. site.js sets data-mood when it's poked:
 * squint, side-eye, scared, dizzy, then a flip that lands it seeing stars (in the app it falls
 * off the screen instead), then happy, love, sleepy and a wink. Left alone for a while, it dozes. */
.mascot .face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  display: none;
}
.mascot .face > * {
  display: none;
  fill: none;
  stroke: var(--eye);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mascot:not([data-mood='idle']) .face {
  display: block;
}
/* Drawn faces: the round eye goes and a line drawing takes its place. */
.mascot:is([data-mood='squint'], [data-mood='dizzy'], [data-mood='happy'], [data-mood='sleepy'], [data-mood='xx'], [data-mood='love'], [data-mood='scared']) .eye,
.mascot[data-mood='wink'] .eye.r {
  background: transparent;
}
.mascot:is([data-mood='squint'], [data-mood='dizzy'], [data-mood='happy'], [data-mood='sleepy'], [data-mood='xx'], [data-mood='love'], [data-mood='scared']) .eye::before,
.mascot:is([data-mood='squint'], [data-mood='dizzy'], [data-mood='happy'], [data-mood='sleepy'], [data-mood='xx'], [data-mood='love'], [data-mood='scared']) .eye::after,
.mascot[data-mood='wink'] .eye.r::before,
.mascot[data-mood='wink'] .eye.r::after {
  display: none;
}
.mascot[data-mood='squint'] .f-squint,
.mascot[data-mood='dizzy'] .f-dizzy,
.mascot[data-mood='happy'] .f-happy,
.mascot[data-mood='sleepy'] .f-sleepy,
.mascot[data-mood='xx'] .f-xx,
.mascot[data-mood='love'] .f-love,
.mascot[data-mood='wink'] .f-wink {
  display: inline;
}
.mascot[data-mood='dizzy'] .f-dizzy {
  stroke-width: 7;
}
/* Side-eye: a heavy lid, and a glance off to the side. */
.mascot[data-mood='sideeye'] .eye {
  margin-left: -5.6%;
}
.mascot[data-mood='sideeye'] .f-lid {
  display: inline;
  fill: var(--lime);
  stroke: none;
}
.mascot[data-mood='sideeye'] .f-lidline {
  display: inline;
  stroke-width: 8;
}
/* Scared: whites showing, pupils shrunk to pinpricks (they still follow you). */
.mascot[data-mood='scared'] .eye {
  scale: 1.12;
}
.mascot[data-mood='scared'] .f-white {
  display: inline;
  fill: #fff;
  stroke-width: 8;
}
.mascot[data-mood='scared'] .eye::after {
  display: block;
  width: 30%;
  height: 30%;
  left: 35%;
  top: 35%;
  background: var(--eye);
}
.mascot[data-mood='love'] .f-love {
  fill: var(--pink);
  stroke: none;
}
.mascot[data-mood='love'] .face {
  animation: heartbeat 620ms ease-in-out infinite;
}
.mascot[data-mood='dizzy'] .face {
  animation: spin 700ms linear infinite;
}
.mascot[data-mood='dizzy'] .eye.r .face {
  animation-direction: reverse;
}
/* Dozing off: a z floats up. */
.mascot[data-mood='sleepy']::after {
  content: 'z';
  position: absolute;
  left: 60%;
  top: 30%;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--paper);
  text-shadow: 2px 2px 0 var(--ink);
  animation: snooze 1.8s ease-out infinite;
  pointer-events: none;
}

/* Every fifth poke: a flip, landing with a squash. */
.mascot {
  --base-y: -50%;
}
.mascot.flipped {
  animation: flip 1050ms var(--ease-out);
}
@media (min-width: 721px) {
  .mascot {
    --base-y: -46%;
  }
}

/* Poke the mascot and music notes fly out of it. */
.spark {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 4;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--lime);
  text-shadow: 2px 2px 0 var(--ink);
  pointer-events: none;
  animation: spark 820ms var(--ease-out) forwards;
}
.spark.c1 {
  color: var(--pink);
}
.spark.c2 {
  color: var(--cyan);
}

@keyframes heartbeat {
  0%,
  100% {
    scale: 1;
  }
  30% {
    scale: 1.22;
  }
  55% {
    scale: 0.96;
  }
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@keyframes snooze {
  from {
    opacity: 0;
    translate: 0 0;
    scale: 0.6;
  }
  30% {
    opacity: 1;
  }
  to {
    opacity: 0;
    translate: 26px -46px;
    scale: 1.3;
  }
}
@keyframes flip {
  0% {
    transform: translate(-50%, var(--base-y)) rotate(-4deg);
  }
  14% {
    transform: translate(-50%, var(--base-y)) rotate(-4deg) scale(1.16, 0.8);
  }
  48% {
    transform: translate(-50%, calc(var(--base-y) - 55%)) rotate(176deg) scale(0.94, 1.06);
  }
  78% {
    transform: translate(-50%, var(--base-y)) rotate(356deg) scale(1.22, 0.74);
  }
  90% {
    transform: translate(-50%, var(--base-y)) rotate(356deg) scale(0.95, 1.06);
  }
  100% {
    transform: translate(-50%, var(--base-y)) rotate(356deg);
  }
}
@keyframes spark {
  from {
    translate: -50% -50%;
    scale: 0.3;
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  to {
    translate: calc(-50% + var(--dx, 0px)) calc(-50% + var(--dy, -80px));
    scale: 1.15;
    rotate: var(--rot, 0deg);
    opacity: 0;
  }
}

/* ─── Desktop motion ────────────────────────────────────────────────────────────────── */

/* A computer gets its own tricks: the cover is put together piece by piece as the page opens,
 * sections arrive like pages being dealt, and the cover art, the feature pages and the main
 * buttons follow the mouse (site.js sets --tx / --ty, --rx / --ry and --mx / --my). Phones keep
 * the phone layout's own motion. All of it is off for people who ask for less motion. */
@media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
  /* The cover, assembled: kicker, headline, buttons, then the art and its stickers slapped on. */
  .cover .kicker {
    animation: drop 600ms var(--spring) backwards;
  }
  .cover h1 {
    animation: rise-pop 760ms var(--ease-out) 380ms backwards;
  }
  .cover .lede {
    animation: rise 700ms var(--ease-out) 520ms backwards;
  }
  .cover-actions .btn {
    animation: pop-btn 560ms var(--spring) 660ms backwards;
  }
  .cover-actions .btn + .btn {
    animation-delay: 770ms;
  }
  .cover-card {
    animation: swing-in 900ms var(--spring) 180ms backwards;
  }
  .mascot img {
    animation: pop-up 800ms var(--spring) 420ms backwards, bob 3.2s ease-in-out 1.2s infinite;
  }
  .mascot .eye {
    animation: eyes-open 380ms var(--spring) 1000ms backwards, bob 3.2s ease-in-out 1.2s infinite;
  }
  .coverline.a {
    animation: slap 480ms var(--ease-out) 1050ms backwards;
  }
  .burst.one {
    animation: slap 480ms var(--ease-out) 1180ms backwards, wobble 6s ease-in-out infinite;
  }
  .burst.two {
    animation: slap 480ms var(--ease-out) 1310ms backwards, wobble 6s ease-in-out -3s infinite;
  }
  .cover-art.poked-once .burst {
    animation: wobble 6s ease-in-out infinite, jiggle 500ms var(--spring);
  }
  .cover-art.poked-once .burst.two {
    animation-delay: -3s, 0s;
  }
  .barcode {
    animation: slap 480ms var(--ease-out) 1440ms backwards;
  }
  /* "poke me!" on a computer too, once everything else has landed. */
  .poke-hint {
    display: block;
    left: auto;
    right: -6%;
    top: 40%;
    font-size: 25px;
    transform: rotate(9deg);
    animation: slap 480ms var(--ease-out) 1900ms backwards;
  }

  /* Headlines lift off the page: the hard pink copy slides out from under the letters. */
  .pop,
  .pop-cyan,
  .letter h2 {
    transition: text-shadow 520ms var(--spring) 260ms;
  }
  .js .reveal:not(.in) .pop,
  .js .reveal:not(.in) h2 {
    text-shadow: 0 0 0 var(--pink);
  }
  .js .reveal:not(.in) .pop-cyan {
    text-shadow: 0 0 0 var(--cyan);
  }

  /* The three feature pages are dealt onto the table, one after the other. */
  .js .feature.reveal {
    translate: 0 90px;
    rotate: 7deg;
    transition: opacity 500ms var(--ease-out), translate 900ms var(--spring), rotate 900ms var(--spring), transform 600ms var(--spring),
      box-shadow 300ms var(--ease-out);
  }
  .js .feature.reveal:nth-child(2) {
    rotate: -5deg;
    transition-delay: 120ms, 120ms, 120ms, 0s, 0s;
  }
  .js .feature.reveal:nth-child(3) {
    rotate: 9deg;
    transition-delay: 240ms, 240ms, 240ms, 0s, 0s;
  }
  .js .feature.reveal.in {
    translate: 0 0;
    rotate: 0deg;
  }

  /* How it works: the test card switches on like an old TV, then the steps pop up in turn. */
  .js .testcard.reveal {
    translate: none;
  }
  .js .testcard.reveal.in {
    animation: crt-on 950ms var(--ease-out) both;
  }
  .testcard::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05), transparent);
    translate: 0 -100%;
    animation: sweep 5.5s linear infinite;
    pointer-events: none;
  }
  .step .num {
    transition: rotate 700ms var(--spring), scale 500ms var(--spring);
  }
  .js .testcard.reveal .num {
    scale: 0;
    rotate: -120deg;
  }
  .js .testcard.reveal.in .num {
    scale: 1;
    rotate: 0deg;
  }
  .js .testcard.reveal.in .step:nth-child(1) .num {
    transition-delay: 650ms;
  }
  .js .testcard.reveal.in .step:nth-child(2) .num {
    transition-delay: 800ms;
  }
  .js .testcard.reveal.in .step:nth-child(3) .num {
    transition-delay: 950ms;
  }
  .js .testcard.reveal.in .step:hover .num,
  .step:hover .num {
    rotate: 360deg;
    scale: 1.12;
    transition-delay: 0s;
  }

  /* The editor's letter: the margin note's arrow draws itself, then the signature is written. */
  .js .reveal .scribble path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
    transition: stroke-dashoffset 650ms var(--ease-out) 700ms, opacity 0s 700ms;
  }
  .js .reveal .scribble path + path {
    transition-delay: 1300ms;
  }
  .js .reveal.in .scribble path {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .js .reveal .sign {
    clip-path: inset(-30% 100% -30% 0);
    transition: clip-path 1100ms cubic-bezier(0.6, 0.1, 0.3, 1) 500ms;
  }
  .js .reveal.in .sign {
    clip-path: inset(-30% -5% -30% -5%);
  }

  /* The reply card is slid across the desk, and the "I'm a…" chips pop up one by one. */
  .js .reply.reveal {
    translate: 0 70px;
    rotate: 5deg;
    transition: opacity 600ms var(--ease-out), translate 850ms var(--spring), rotate 950ms var(--spring);
  }
  .js .reply.reveal.in {
    translate: 0 0;
    rotate: 0deg;
  }
  .js .reply.reveal .chip {
    opacity: 0;
    scale: 0.5;
    transition: opacity 260ms, scale 520ms var(--spring);
  }
  .js .reply.reveal.in .chip {
    opacity: 1;
    scale: 1;
  }
  .js .reply.reveal.in .chip:nth-child(1) { transition-delay: 420ms; }
  .js .reply.reveal.in .chip:nth-child(2) { transition-delay: 490ms; }
  .js .reply.reveal.in .chip:nth-child(3) { transition-delay: 560ms; }
  .js .reply.reveal.in .chip:nth-child(4) { transition-delay: 630ms; }
  .js .reply.reveal.in .chip:nth-child(5) { transition-delay: 700ms; }

  /* How far down the page you are, along the bottom of the top bar (where browsers can). */
  @supports (animation-timeline: scroll()) {
    .masthead::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 3px;
      background: linear-gradient(90deg, var(--lime), var(--pink) 55%, var(--cyan));
      transform-origin: 0 50%;
      animation: progress linear both;
      animation-timeline: scroll(root);
    }
  }

  /* The section you're reading is underlined in the top bar. */
  .topnav a:not(.cta) {
    position: relative;
  }
  .topnav a:not(.cta)::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 3px;
    border-radius: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transition: transform 380ms var(--spring);
  }
  .topnav a.on::after {
    transform: scaleX(1);
  }
}

/* With a mouse: things lean toward it. */
@media (min-width: 721px) and (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  /* The cover art tilts toward the pointer and its layers drift apart, stickers nearest. */
  .cover-art {
    transform: perspective(1200px) rotateX(calc(var(--ty, 0) * -5deg)) rotateY(calc(var(--tx, 0) * 7deg));
    transition: transform 600ms var(--ease-out);
  }
  .cover-card {
    translate: calc(var(--tx, 0) * 8px) calc(var(--ty, 0) * 8px);
    transition: translate 600ms var(--ease-out);
  }
  .cover-card::after {
    background: radial-gradient(circle at calc(50% + var(--tx, 0) * 30%) calc(35% + var(--ty, 0) * 25%), rgba(255, 255, 255, 0.45), transparent 60%);
  }
  .mascot {
    translate: calc(var(--tx, 0) * 18px) calc(var(--ty, 0) * 14px);
    transition: translate 500ms var(--ease-out);
  }
  .mascot img {
    transition: scale 320ms var(--spring);
  }
  .mascot:hover img {
    scale: 1.05;
  }
  .burst,
  .coverline,
  .poke-hint {
    translate: calc(var(--tx, 0) * 30px) calc(var(--ty, 0) * 24px);
    transition: translate 450ms var(--ease-out), opacity 300ms;
  }
  .barcode {
    translate: calc(var(--tx, 0) * 14px) calc(var(--ty, 0) * 10px);
    transition: translate 550ms var(--ease-out);
  }
  .cover-wordmark {
    translate: calc(var(--tx, 0) * -6px) calc(var(--ty, 0) * -4px);
    transition: translate 700ms var(--ease-out);
  }
  .cover::before {
    translate: calc(var(--tx, 0) * -18px) calc(var(--ty, 0) * -12px);
    transition: translate 800ms var(--ease-out);
  }
  .cover::after {
    translate: calc(var(--tx, 0) * 14px) calc(var(--ty, 0) * 10px);
    transition: translate 800ms var(--ease-out);
  }

  /* Magnetic buttons: they reach for the pointer and spring back when it leaves. */
  .cover-actions .btn {
    translate: var(--mx, 0px) var(--my, 0px);
    transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), opacity 160ms, translate 450ms var(--spring);
  }
  .topnav a.cta {
    translate: var(--mx, 0px) var(--my, 0px);
    transition: background-color 160ms, color 160ms, translate 450ms var(--spring);
  }
  .contact-aside .direct {
    translate: var(--mx, 0px) var(--my, 0px);
    transition: border-color 160ms, transform 200ms var(--ease-out), translate 450ms var(--spring);
  }

  /* Feature pages tilt under the pointer like a card in your hand, with a glint where it is. */
  .feature::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity 300ms;
    pointer-events: none;
  }
  .feature:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
    box-shadow: 14px 16px 0 var(--pop);
  }
  .js .feature.reveal.in:hover {
    transition: opacity 500ms, translate 900ms var(--spring), rotate 900ms var(--spring), transform 140ms var(--ease-out), box-shadow 220ms var(--ease-out);
    transition-delay: 0s;
  }
  .feature:hover::after {
    opacity: 1;
  }
  .feature li::before {
    transition: transform 500ms var(--spring);
  }
  .feature:hover li::before {
    transform: rotate(225deg) scale(1.2);
  }
  .feature:hover li:nth-child(2)::before {
    transition-delay: 70ms;
  }
  .feature:hover li:nth-child(3)::before {
    transition-delay: 140ms;
  }
  .feature:hover .tag {
    animation: tag-wiggle 420ms var(--ease-out);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
}
@keyframes rise-pop {
  from {
    opacity: 0;
    translate: 0 26px;
    text-shadow: 0 0 0 var(--pink);
  }
}
@keyframes drop {
  from {
    opacity: 0;
    translate: 0 -26px;
    rotate: -10deg;
  }
}
@keyframes pop-btn {
  from {
    opacity: 0;
    scale: 0.6;
  }
}
@keyframes swing-in {
  from {
    opacity: 0;
    rotate: -16deg;
    scale: 0.8;
  }
}
@keyframes pop-up {
  from {
    opacity: 0;
    scale: 0.3;
    rotate: -18deg;
  }
}
@keyframes eyes-open {
  from {
    scale: 1 0;
  }
}
@keyframes slap {
  from {
    opacity: 0;
    scale: 1.9;
  }
  60% {
    opacity: 1;
    scale: 0.92;
  }
}
@keyframes crt-on {
  0% {
    transform: scale(0.03, 0.008);
    filter: brightness(4);
  }
  35% {
    transform: scale(1, 0.008);
    filter: brightness(3);
  }
  65% {
    transform: scale(1, 1.03);
    filter: brightness(1.5);
  }
  100% {
    transform: none;
    filter: none;
  }
}
@keyframes sweep {
  to {
    translate: 0 400%;
  }
}
@keyframes progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes tag-wiggle {
  30% {
    rotate: -6deg;
    scale: 1.08;
  }
  65% {
    rotate: 4deg;
  }
}
