:root {
  --ink: #171717;
  --muted: #6b6b6b;
  --paper: #fff;
  --lemon: #fff3b5;
  --line: #dedede;
  --shell: 1200px;
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  /* Entrance translations must not move the browser's scroll anchor. */
  overflow-anchor: none;
}
body {
  margin: 0;
  min-width: 320px;
}
body,
button,
input {
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h2 {
  font-size: clamp(36px, 3.5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 700;
}
p {
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font-size: 16px;
  color: inherit;
}
button {
  border: 0;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #4d67de;
  outline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.section-shell {
  width: min(var(--shell), calc(100% - 96px));
  margin-inline: auto;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  min-height: 54px;
  padding: 15px 29px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 14px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.015em;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  background: #343434;
  box-shadow: 0 5px 16px #17171712;
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(1px);
}
html.motion-pending .header,
html.motion-pending main,
html.motion-pending #bop-playground,
html.motion-pending .play-tools {
  visibility: hidden;
}
[data-reveal="pending"] {
  opacity: 0;
}
[data-reveal="entering"] {
  animation: soft-arrive var(--reveal-duration, 680ms) cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms) both;
}
@keyframes soft-arrive {
  from {
    opacity: 0;
    translate: 0 var(--reveal-distance, 16px);
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
dialog[open] {
  animation: soft-arrive 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
details[open] > p {
  animation: soft-arrive 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.caption,
figcaption,
.compatibility {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.header {
  height: clamp(56px, 9svh, 82px);
  padding: 0 32px;
  background: var(--lemon);
}
.menu-toggle[hidden] {
  display: none;
}
.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  top: 14px;
  display: block;
  height: 2px;
  width: 24px;
  margin: 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 160ms ease;
}
.menu-toggle span:nth-child(2) {
  top: 21px;
}
.menu-toggle span:last-child {
  top: 28px;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.header nav {
  max-width: 1120px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}
.header a:last-child {
  margin-left: auto;
}
.header a {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
  padding: 12px 8px;
}
.header a:hover,
.footer a:hover,
.footer button:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero {
  --logo-size: clamp(136px, min(42vw, 37svh), 326px);
  --hero-transition-lift: 70px;
  position: relative;
  background: var(--lemon);
  text-align: center;
  padding: 0 32px max(74px, env(safe-area-inset-bottom));
}
.hero::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px - var(--hero-transition-lift));
  inset-inline: 0;
  height: clamp(200px, 28vw, 380px);
  background: linear-gradient(
    180deg,
    var(--lemon) 0%,
    #fff3b7 10%,
    #fff4bd 20%,
    #fff6c5 30%,
    #fff7cf 40%,
    #fff9da 50%,
    #fffbe5 60%,
    #fffcef 70%,
    #fffef7 80%,
    #fffffd 90%,
    var(--paper) 100%
  );
  pointer-events: none;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(10px, 2svh, 22px) clamp(68px, 12vw, 180px);
  padding: clamp(10px, 3svh, 36px) 0 clamp(16px, 3svh, 30px);
  max-width: 1150px;
  margin: auto;
}
.hero-wordmark {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.035em;
  grid-column: 1 / -1;
  margin-inline: auto;
  margin-bottom: 0.1em;
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    sans-serif;
  font-size: var(--logo-size);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  user-select: none;
  -webkit-user-select: none;
}
.logo-letter {
  display: block;
  transform-origin: 50% 70%;
}
.intro-ready .logo-letter {
  animation: letter-arrive var(--logo-arrive-duration, 620ms) both;
}
.logo-letter-b {
  --letter-turn: -14deg;
  --letter-shift: -0.15em;
}
.intro-ready .logo-letter-b {
  animation-delay: var(--logo-b-delay, 380ms);
}
.logo-letter-p {
  --letter-turn: 12deg;
  --letter-shift: 0.15em;
}
.intro-ready .logo-letter-p {
  animation-delay: var(--logo-p-delay, 440ms);
}
#logo-ball-slot {
  position: relative;
  display: inline-block;
  flex: 0 0 0.62em;
  width: 0.62em;
  height: 0.62em;
  margin-top: 0.275em;
}
.tug-note {
  --reveal-distance: 0px;
  justify-self: end;
  align-self: start;
  text-align: left;
  font-weight: 650;
  font-size: clamp(13px, 1.5vw, 18px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  transform: rotate(-5deg);
}
.tug-arrow {
  --reveal-distance: 0px;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tug-arrow path {
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
}
.tug-arrow[data-ready] .tug-arrow-line {
  animation: tug-line-draw 2.6s cubic-bezier(0.4, 0, 0.2, 1) var(--tug-first-delay, 180ms) infinite both;
}
@keyframes tug-line-draw {
  0% { stroke-dashoffset: 100; }
  45%, 52% { stroke-dashoffset: 0; }
  /* Continue forward: the tail disappears first, the tip last. */
  100% { stroke-dashoffset: -100; }
}
.has-tried-ball .tug-arrow path,
.ball-is-hidden .tug-arrow path {
  animation-play-state: paused;
}
.tug-arrow:not([data-ready]),
.has-tried-ball .tug-note,
.has-tried-ball .tug-arrow,
.ball-is-hidden .tug-note,
.ball-is-hidden .tug-arrow {
  visibility: hidden;
}
.juggle-hud {
  justify-self: start;
  width: 94px;
  text-align: left;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.score-label,
.score-best {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.02em;
}
#juggle-count {
  display: block;
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 1.04;
  margin-block: 2px 7px;
}
.hero-copy h2 {
  font-size: clamp(30px, 3.1vw, 44px);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-copy > p:first-of-type {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 450;
  letter-spacing: -0.02em;
}
.hero-copy .button {
  margin-top: 24px;
  min-width: 258px;
}
.hero-copy .purchase-note {
  font-size: 15px;
  margin-top: 17px;
}
.hero-copy .compatibility {
  color: #5c563c;
  font-size: 12px;
  margin-top: 3px;
}
.features {
  /* Keep feature content above the full-width hero-to-paper wash. */
  position: relative;
  z-index: 1;
  padding-block: 72px 0;
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: 76px;
  margin-bottom: 112px;
}
.feature-settings {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}
.feature-copy p:not(.caption) {
  font-size: 20px;
  line-height: 1.55;
  margin-top: 24px;
  letter-spacing: -0.02em;
}
.feature-copy .caption {
  margin-top: 25px;
}
.feature-media {
  min-width: 0;
}
.feature-media figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
}
.desktop-preview {
  --desktop-anchor-x: 80%;
  --desktop-menu-height: 5cqw;
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1.32;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  background: #a5c9ee url("/assets/desktop-wallpaper.webp") center/cover;
}
.desktop-menubar {
  position: relative;
  z-index: 2;
  height: var(--desktop-menu-height);
  padding: 0 2.35cqw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.7cqw;
  background: #ffffff35;
  font-size: 1.7cqw;
  color: #152738;
  white-space: nowrap;
}
.desktop-menu-left,
.desktop-menu-right {
  display: flex;
  align-items: center;
  gap: 2cqw;
}
.desktop-menu-left svg {
  width: 2cqw;
  height: 2.35cqw;
  fill: currentColor;
  stroke: none;
}
.desktop-menu-bop {
  position: absolute;
  left: var(--desktop-anchor-x);
  top: 50%;
  width: 1.8cqw;
  height: 1.8cqw;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.notes-window {
  position: absolute;
  top: 24%;
  left: 7%;
  width: 51%;
  height: 60%;
  border-radius: 2cqw;
  background: #fffdf7f5;
  box-shadow: 0 14px 28px #1b39592a;
  overflow: hidden;
}
.notes-toolbar {
  height: 5.9cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.85cqw;
  color: #777;
  font-size: 1.5cqw;
  background: #f7f7f5;
}
.traffic-lights {
  display: flex;
  gap: 5px;
}
.traffic-lights i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6058;
}
.traffic-lights i:nth-child(2) {
  background: #ffbd2e;
}
.traffic-lights i:nth-child(3) {
  background: #28c840;
}
.notes-content {
  padding: 3.5cqw 2.85cqw;
}
.notes-content h3 {
  font-size: 2.35cqw;
  letter-spacing: -0.015em;
}
.notes-content p {
  margin-top: 3cqw;
  font-size: 1.85cqw;
  color: #383838;
}
.desktop-companion {
  position: absolute;
  top: calc(var(--desktop-menu-height) / 2);
  left: var(--desktop-anchor-x);
  width: 8.625cqw;
  transform-origin: 50% 0;
  transform: translateX(-50%) rotate(-4deg);
  animation: desk-sway 5s ease-in-out infinite;
  pointer-events: none;
}
.desktop-companion > span {
  display: block;
  width: max(1px, 0.34cqw);
  height: 32cqw;
  margin: auto;
  background: #535451 url("/assets/graphite-rope.webp") center/cover;
}
.desktop-companion img {
  width: 100%;
  margin-top: -1.6cqw;
  filter: drop-shadow(0 8px 5px #26372915);
}
.notes-toolbar .traffic-lights {
  gap: 0.84cqw;
}
.notes-toolbar .traffic-lights i {
  width: 1.34cqw;
  height: 1.34cqw;
}
.settings-stage {
  background: #f3f4f5;
  border-radius: 22px;
  padding: 30px 38px;
}
.settings-window {
  max-width: 435px;
  margin-inline: auto;
  background: #333;
  border: 1px solid #242424;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 15px 28px #00000013;
}
.settings-toolbar {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 34px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 550;
  color: #dedede;
}
.settings-toolbar .traffic-lights i {
  width: 9px;
  height: 9px;
}
.settings-window > img {
  width: 100%;
  height: auto;
}
.keycap-preview {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e6eaec;
}
.keycap-preview img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  transition: transform 0.22s;
}
.keycap-preview:hover img {
  transform: scale(1.018);
}
.keycap-preview:active img {
  transform: scale(0.985);
}
kbd {
  display: inline-flex;
  justify-content: center;
  min-width: 25px;
  padding: 0 4px 1px;
  font-size: 0.88em;
  line-height: 1.35;
  font-weight: 550;
  font-family: inherit;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  box-shadow: 0 2px 0 #e7e7e7;
  background: #fafafa;
}
.collection {
  padding: 10px 0 112px;
  overflow: hidden;
}
.collection-intro {
  text-align: center;
}
.collection-intro p {
  margin-top: 20px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.marquee {
  margin-top: 48px;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.marquee[data-dragging="true"] {
  cursor: grabbing;
}
.marquee:focus-visible {
  outline-offset: -6px;
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  padding-block: 8px 18px;
}
.skin-group {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.2vw, 52px);
  padding-right: clamp(20px, 3.2vw, 52px);
}
.skin-item {
  width: clamp(280px, 28vw, 410px);
  flex: none;
}
.skin-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.rail-hint {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.rail-hint svg {
  width: 34px;
  height: 18px;
  stroke-width: 1.3;
}
.rail-keyboard-help {
  display: none;
  text-align: center;
  font-size: 12px;
  margin-top: 14px;
  color: var(--muted);
}
.collection:has(.marquee:focus-visible) .rail-keyboard-help {
  display: block;
}
.pricing {
  padding-bottom: 100px;
}
.price-panel {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  border: 1px solid #f2df89;
  border-radius: 25px;
  padding: 54px 48px;
  background: linear-gradient(120deg, #fff8ce, #fff0ab);
}
.price-content {
  position: relative;
  z-index: 1;
}
.price-content h2 {
  font-size: 53px;
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.price-content h2 > span {
  display: block;
}
.price-content .price-amount {
  font-size: 104px;
  font-weight: 750;
  margin-bottom: 4px;
  letter-spacing: -0.065em;
}
.price-description {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin-top: 17px;
}
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 30px;
  padding: 0;
  margin: 31px 0;
  width: min(100%, 760px);
  list-style: none;
}
.benefits li {
  font-size: 16px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}
.benefits li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m5 9 2.5 2.5L13 6' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain;
}
.price-content .button {
  min-width: 318px;
}
.price-content .compatibility {
  margin: 13px 0 0 53px;
  color: #645a39;
  font-size: 12px;
}
.price-mascot {
  position: absolute;
  width: 350px;
  height: 350px;
  object-fit: contain;
  right: -70px;
  bottom: -28px;
  transform: rotate(-10deg);
  filter: drop-shadow(0 15px 12px #5a50181c);
}
.faq {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 90px;
  padding-bottom: 112px;
}
.faq h2 {
  font-size: 44px;
}
details {
  border-bottom: 1px solid #d7d7d7;
}
details:first-child {
  border-top: 1px solid #d7d7d7;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  padding: 23px 0;
}
summary::-webkit-details-marker {
  display: none;
}
summary svg {
  width: 19px;
  height: 19px;
  flex: none;
  transition: transform 0.2s;
}
details[open] summary svg {
  transform: rotate(90deg);
}
details p {
  padding: 0 30px 24px 0;
  color: #292929;
  font-size: 16px;
  line-height: 1.65;
}
.newsletter {
  text-align: center;
  padding-bottom: 78px;
}
.newsletter h2 {
  font-size: 36px;
}
.newsletter > p:not(.caption) {
  font-size: 18px;
  margin-top: 17px;
  letter-spacing: -0.02em;
}
.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 25px auto 0;
  gap: 8px;
}
.newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid #bfbfbf;
  border-radius: 12px;
  font-size: 17px;
  padding: 13px 17px;
  background: white;
}
.newsletter .button {
  font-size: 16px;
  padding-inline: 22px;
  min-height: 51px;
}
.newsletter .caption {
  margin-top: 12px;
  min-height: 20px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  border-top: 1px solid #d7d7d7;
  padding-top: 28px;
  padding-bottom: 95px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.footer-brand img {
  width: 42px;
  height: 42px;
}
.footer nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer nav a,
.footer nav button {
  font-size: 13px;
  background: none;
  padding: 8px 0;
}
.footer small {
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.mobile-only {
  display: none;
}

.playground {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  visibility: hidden;
}
.playground[data-ready="true"] {
  visibility: visible;
}
.bop-rope-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bop-rope {
  fill: none;
  stroke: #4b5053;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bop-rope-fiber {
  stroke: #b1b7b8;
  stroke-width: 0.65;
  stroke-dasharray: 1.6 2.8;
  opacity: 0.8;
}
.bop-ball {
  position: absolute;
  top: 0;
  left: 0;
  width: 144px;
  height: 144px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  cursor: grab;
  touch-action: none;
  will-change: transform;
  pointer-events: auto;
}
.bop-ball[data-held="true"] {
  cursor: grabbing;
}
.bop-ball:focus:not(:focus-visible) {
  outline: none;
}
.bop-squash {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  pointer-events: none;
}
.bop-ball img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 5px 3px #37411b12);
}
.bop-shadow {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 75px;
  height: 5px;
  border-radius: 50%;
  background: #333b253a;
  filter: blur(4px);
  pointer-events: none;
}
.play-tools {
  position: fixed;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 5px 19px;
  border: 1px solid #1717170d;
  border-radius: 100px;
  background: #ffffffee;
  box-shadow: 0 3px 20px #30351c09;
  backdrop-filter: blur(12px);
  white-space: nowrap;
}
.play-tools button {
  background: none;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
.play-tools button:disabled {
  color: #91918a;
}
.play-tools > span {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #aaa;
}
.juggle-burst {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: hsl(var(--hue) 75% 43%);
  text-shadow: 0 2px 0 #fff;
  pointer-events: none;
  animation: score-pop 0.9s cubic-bezier(0.18, 0.8, 0.35, 1) both;
}
.juggle-burst[data-milestone="true"] {
  font-size: 52px;
  animation-duration: 1.5s;
}
dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100svh - 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 43px 38px;
  box-shadow: 0 30px 90px #181d2230;
  color: var(--ink);
  background: #fff;
}
dialog::backdrop {
  background: #17171755;
  backdrop-filter: blur(7px);
}
dialog h2 {
  font-size: 35px;
  margin-bottom: 22px;
}
dialog p {
  font-size: 16px;
  color: #333;
  margin-top: 16px;
  line-height: 1.6;
}
dialog .button {
  margin-top: 25px;
  font-size: 16px;
}
dialog p > a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
dialog .compatibility {
  font-size: 12px;
  color: var(--muted);
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 7px;
  background: #f3f3f3;
}
.dialog-close svg {
  width: 18px;
  height: 18px;
}
.dialog-mascot {
  width: 90px;
  height: 90px;
  margin-bottom: 22px;
}
.has-dialog .playground,
.has-dialog .play-tools,
.ball-is-hidden .playground {
  visibility: hidden;
}
.has-dialog {
  overflow: hidden;
}
.noscript-note {
  padding: 20px;
  text-align: center;
  background: var(--lemon);
}
@keyframes desk-sway {
  0%,
  100% {
    transform: translateX(-50%) rotate(-4deg);
  }
  50% {
    transform: translateX(-50%) rotate(4deg);
  }
}
@keyframes letter-arrive {
  0% {
    opacity: 0;
    transform: translate(var(--letter-shift), 0.14em) rotate(var(--letter-turn)) scale(0.72);
    animation-timing-function: cubic-bezier(0.18, 0.8, 0.3, 1);
  }
  56% {
    opacity: 1;
    transform: translate(0, -0.025em) rotate(calc(var(--letter-turn) * -0.2)) scale(1.035);
    animation-timing-function: ease-in-out;
  }
  78% {
    transform: translate(0, 0.008em) rotate(calc(var(--letter-turn) * 0.07)) scale(0.992);
    animation-timing-function: ease-out;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes score-pop {
  0% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(0.7);
  }
  15% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--x) + 8px), calc(var(--y) - 86px)) scale(1);
  }
}
@media (min-width: 761px) and (max-height: 800px) {
  .hero {
    --logo-size: clamp(136px, min(42vw, 35svh), 326px);
    padding-bottom: 66px;
  }
  .hero-stage {
    row-gap: 4px;
    padding-top: 10px;
    padding-bottom: 16px;
  }
  #juggle-count {
    font-size: 36px;
  }
  .hero-copy h2 {
    font-size: 36px;
  }
  .hero-copy > p:first-of-type {
    margin-top: 12px;
    font-size: 18px;
  }
  .hero-copy .button {
    margin-top: 18px;
  }
  .hero-copy .purchase-note {
    margin-top: 12px;
  }
}
@media (max-width: 1100px) {
  .section-shell {
    width: calc(100% - 64px);
  }
  .feature {
    gap: 45px;
    margin-bottom: 90px;
  }
  .feature-copy p:not(.caption) {
    font-size: 18px;
  }
  .feature-copy h2 {
    font-size: 38px;
  }
  .settings-stage {
    padding: 22px;
  }
  .benefits {
    width: min(100%, 660px);
    gap: 15px 20px;
  }
  .benefits li {
    font-size: 14px;
  }
  .price-panel {
    padding: 42px 35px;
    min-height: 585px;
  }
  .price-mascot {
    width: 270px;
    height: 270px;
    right: -35px;
    bottom: -32px;
  }
  .faq {
    gap: 50px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 28px;
  }
  .section-shell {
    width: calc(100% - 40px);
  }
  .header {
    padding-inline: 20px;
  }
  .header nav {
    gap: 14px;
  }
  .header a {
    font-size: 13px;
    padding-inline: 0;
  }
  .header[data-menu-ready] {
    position: relative;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .header[data-menu-ready] nav {
    position: absolute;
    top: 100%;
    right: 20px;
    width: min(260px, calc(100% - 40px));
    height: auto;
    margin: 4px 0 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid rgb(23 23 23 / 10%);
    border-radius: 20px;
    background: #fff9db;
    box-shadow: 0 12px 32px rgb(23 23 23 / 9%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1), visibility 0s 220ms;
  }
  .header[data-menu-open="true"] nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  .header[data-menu-ready] nav a {
    display: block;
    margin: 0;
    padding: 14px 16px;
    min-height: 48px;
    border-radius: 12px;
    font-size: 17px;
  }
  .header[data-menu-ready] nav a:hover {
    background: rgb(23 23 23 / 5%);
    text-decoration: none;
  }
  .hero {
    --hero-transition-lift: 0px;
    padding: 0 20px 76px;
  }
  .tug-note {
    font-size: 14px;
  }
  .juggle-hud {
    width: 66px;
  }
  .score-label,
  .score-best {
    font-size: 10px;
  }
  #juggle-count {
    font-size: 39px;
    margin-bottom: 4px;
  }
  .hero-copy h2 {
    font-size: 31px;
    max-width: 600px;
    margin: auto;
    line-height: 1.1;
  }
  .hero-copy > p:first-of-type {
    font-size: 16px;
    margin: 17px auto 0;
    max-width: 520px;
  }
  .hero-copy .button {
    margin-top: 22px;
    min-height: 51px;
    min-width: 230px;
    font-size: 17px;
  }
  .hero-copy .purchase-note {
    font-size: 13px;
    margin-top: 16px;
  }
  .hero-copy .compatibility {
    font-size: 11px;
    margin-top: 4px;
  }
  .features {
    padding-top: 72px;
  }
  .feature,
  .feature-settings {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    margin-bottom: 75px;
  }
  .feature-settings .feature-copy {
    order: 2;
  }
  .feature-copy {
    padding-inline: 4px;
  }
  .feature-copy h2 {
    font-size: 36px;
  }
  .feature-copy p:not(.caption) {
    font-size: 18px;
    margin-top: 19px;
  }
  .feature-copy .caption {
    margin-top: 18px;
    font-size: 12px;
  }
  .feature-media figcaption {
    font-size: 11px;
    margin-top: 11px;
  }
  .desktop-preview {
    border-radius: 17px;
  }
  .traffic-lights {
    gap: 4px;
  }
  .traffic-lights i {
    width: 6px;
    height: 6px;
  }
  .settings-stage {
    padding: 20px;
    border-radius: 17px;
  }
  .settings-window {
    max-width: 390px;
  }
  .settings-toolbar {
    height: 30px;
    font-size: 10px;
  }
  .keycap-preview {
    border-radius: 17px;
  }
  .keycap-preview img {
    aspect-ratio: 1.4;
  }
  .collection {
    padding-top: 0;
    padding-bottom: 74px;
  }
  .collection-intro h2 {
    font-size: 35px;
  }
  .collection-intro p {
    font-size: 17px;
    margin: 17px auto 0;
    max-width: 300px;
  }
  .marquee {
    margin-top: 32px;
  }
  .skin-item {
    width: clamp(245px, 65vw, 330px);
  }
  .skin-group {
    gap: 25px;
    padding-right: 25px;
  }
  .rail-hint {
    font-size: 12px;
    margin-top: 24px;
  }
  .pricing {
    padding-bottom: 74px;
  }
  .price-panel {
    padding: 33px 26px 190px;
    min-height: auto;
    border-radius: 21px;
  }
  .price-content .price-amount {
    font-size: 80px;
  }
  .price-content h2 {
    font-size: 40px;
  }
  .price-description {
    font-size: 17px;
    max-width: 280px;
    margin-top: 15px;
  }
  .benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-block: 27px;
    width: 100%;
  }
  .benefits li {
    font-size: 14px;
  }
  .price-content .button {
    min-width: 0;
    width: 100%;
    font-size: 15px;
    padding-inline: 12px;
  }
  .price-content .compatibility {
    text-align: center;
    margin-left: 0;
    font-size: 11px;
  }
  .price-mascot {
    width: 235px;
    height: 235px;
    right: -23px;
    bottom: -67px;
  }
  .faq {
    display: block;
    padding-bottom: 72px;
  }
  .faq h2 {
    font-size: 36px;
    margin-bottom: 29px;
  }
  .faq h2 br {
    display: none;
  }
  summary {
    font-size: 17px;
    padding: 20px 0;
  }
  details p {
    font-size: 15px;
    padding-right: 6px;
  }
  .newsletter {
    padding-bottom: 54px;
  }
  .newsletter h2 {
    font-size: 31px;
  }
  .mobile-only {
    display: block;
  }
  .newsletter > p:not(.caption) {
    font-size: 16px;
    max-width: 300px;
    margin-inline: auto;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 9px;
    max-width: 380px;
  }
  .newsletter input {
    min-height: 51px;
    font-size: 16px;
  }
  .newsletter .caption {
    font-size: 11px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 25px;
    gap: 20px;
  }
  .footer-brand {
    font-size: 13px;
    gap: 10px;
  }
  .footer-brand img {
    width: 38px;
    height: 38px;
  }
  .footer nav {
    justify-content: space-between;
    width: 100%;
    gap: 16px;
  }
  .footer nav a,
  .footer nav button {
    font-size: 12px;
  }
  .footer small {
    text-align: left;
    font-size: 11px;
  }
  .play-tools {
    gap: 11px;
    padding-inline: 14px;
    bottom: 12px;
  }
  .play-tools button {
    font-size: 10px;
    min-height: 30px;
  }
  dialog {
    padding: 39px 25px 30px;
  }
  dialog h2 {
    font-size: 31px;
  }
}
@media (max-width: 360px) {
  .tug-note {
    font-size: 12px;
  }
  .juggle-hud {
    width: 54px;
  }
  .price-panel {
    padding-inline: 22px;
  }
  .price-content h2 {
    font-size: 36px;
  }
}
@media (max-width: 600px) {
  .header a:nth-child(2) {
    display: none;
  }
}
@media (max-width: 760px) and (max-height: 700px) {
  .header {
    height: 50px;
  }
  .hero {
    --logo-size: clamp(120px, min(38vw, 32svh), 240px);
  }
  .hero-stage {
    padding: 8px 0 10px;
    row-gap: 4px;
  }
  .hero-copy h2 {
    font-size: 28px;
  }
  .hero-copy > p:first-of-type {
    margin-top: 12px;
    font-size: 15px;
  }
  .hero-copy .button {
    margin-top: 16px;
    min-height: 48px;
  }
  .hero-copy .purchase-note {
    margin-top: 12px;
    font-size: 12px;
  }
  .hero-copy .compatibility {
    margin-top: 3px;
    font-size: 10px;
  }
  .tug-note {
    font-size: 12px;
  }
  #juggle-count {
    font-size: 34px;
  }
  .score-label,
  .score-best {
    font-size: 9px;
  }
}
@media (min-width: 520px) and (max-height: 520px),
  (min-width: 761px) and (max-height: 720px) {
  .header {
    height: 50px;
    padding-inline: 24px;
  }
  .header a:nth-child(2) {
    display: none;
  }
  .hero {
    --logo-size: clamp(110px, min(24vw, 40svh), 210px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 0 24px 65px;
  }
  .hero-stage {
    width: 100%;
    padding: 4px 0 10px;
    gap: 6px 40px;
  }
  .hero-copy h2 {
    font-size: clamp(24px, 3vw, 32px);
    max-width: 460px;
    margin-inline: auto;
  }
  .hero-copy > p:first-of-type {
    font-size: 14px;
    margin: 8px auto 0;
    max-width: 340px;
  }
  .hero-copy .button {
    min-width: 0;
    min-height: 42px;
    margin-top: 12px;
    padding: 11px 20px;
    font-size: 15px;
  }
  .hero-copy .purchase-note {
    margin-top: 8px;
    font-size: 12px;
  }
  .hero-copy .compatibility {
    margin-top: 2px;
    font-size: 10px;
  }
  .tug-note {
    font-size: 12px;
  }
  .juggle-hud {
    width: 64px;
  }
  #juggle-count {
    font-size: 34px;
  }
  .score-label,
  .score-best {
    font-size: 9px;
  }
  .play-tools {
    bottom: max(8px, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  html.motion-pending .header,
  html.motion-pending main,
  html.motion-pending #bop-playground,
  html.motion-pending .play-tools {
    visibility: visible;
  }
  .intro-ready .logo-letter {
    animation: none;
  }
  .tug-arrow[data-ready] path {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .juggle-burst {
    animation: none !important;
    transform: translate(var(--x), var(--y));
  }
  [data-reveal] {
    opacity: 1;
    translate: none;
    animation: none !important;
  }
}
@media print {
  [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
    animation: none !important;
  }
}
