:root {
  color-scheme: light dark;
  --accent: 168 97 255;
  --ink: #1d1233;
  --ink-soft: rgb(29 18 51 / 0.68);
  --page: #f4eeff;
  --glass: rgb(255 255 255 / 0.52);
  --glass-strong: rgb(255 255 255 / 0.72);
  --edge: rgb(255 255 255 / 0.85);
  --line: rgb(29 18 51 / 0.09);
  --shade: 0 1px 1px rgb(40 16 90 / 0.05), 0 12px 36px -10px rgb(60 20 120 / 0.22);
  --sky-fade: 0.78;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5efff;
    --ink-soft: rgb(245 239 255 / 0.7);
    --page: #120b24;
    --glass: rgb(255 255 255 / 0.08);
    --glass-strong: rgb(255 255 255 / 0.13);
    --edge: rgb(255 255 255 / 0.2);
    --line: rgb(255 255 255 / 0.1);
    --shade: 0 1px 1px rgb(0 0 0 / 0.3), 0 16px 40px -12px rgb(0 0 0 / 0.6);
    --sky-fade: 0.5;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
strong,
.button,
.brand,
.pill,
.tag {
  font-family: var(--round);
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0.35em 0 0.3em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 0.35em;
  text-wrap: balance;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.25em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

code {
  font: 600 0.92em ui-monospace, "SF Mono", Menlo, monospace;
  background: rgb(var(--accent) / 0.14);
  padding: 0.1em 0.4em;
  border-radius: 7px;
}

:focus-visible {
  outline: 3px solid rgb(var(--accent) / 0.85);
  outline-offset: 3px;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.sky i {
  position: absolute;
  width: 96vmax;
  height: 96vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--blob) / 0.95), rgb(var(--blob) / 0.55) 45%, rgb(var(--blob) / 0) 100%);
  opacity: var(--sky-fade);
  animation: drift 34s ease-in-out infinite alternate;
  will-change: transform;
}

.sky i:nth-child(1) {
  --blob: var(--accent);
  top: -44vmax;
  left: -34vmax;
}

.sky i:nth-child(2) {
  --blob: 255 115 184;
  top: -24vmax;
  right: -46vmax;
  animation-duration: 41s;
  animation-delay: -9s;
}

.sky i:nth-child(3) {
  --blob: 255 158 77;
  bottom: -56vmax;
  left: -8vmax;
  opacity: calc(var(--sky-fade) * 0.8);
  animation-duration: 47s;
  animation-delay: -20s;
}

.sky i:nth-child(4) {
  --blob: 77 219 209;
  bottom: -48vmax;
  right: -30vmax;
  opacity: calc(var(--sky-fade) * 0.85);
  animation-duration: 38s;
  animation-delay: -4s;
}

@keyframes drift {
  from {
    transform: translate3d(-4vmax, -3vmax, 0) scale(1);
  }
  to {
    transform: translate3d(7vmax, 6vmax, 0) scale(1.18);
  }
}

.glass {
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 30px;
  box-shadow: var(--shade), inset 0 1px 0 rgb(255 255 255 / 0.5);
}

@media (prefers-color-scheme: dark) {
  .glass {
    box-shadow: var(--shade), inset 0 1px 0 rgb(255 255 255 / 0.14);
  }
}

.bar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1120px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--edge);
  box-shadow: var(--shade);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img {
  display: block;
  transition: transform 0.35s cubic-bezier(0.3, 1.8, 0.5, 1);
}

.brand:hover img {
  transform: rotate(-12deg) scale(1.15);
}

.bar-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.bar-links a {
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.bar-links a:hover {
  background: rgb(var(--accent) / 0.14);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.28), rgb(255 255 255 / 0) 55%), rgb(var(--accent));
  color: #fff;
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration: none;
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.22);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), inset 0 -2px 0 rgb(0 0 0 / 0.1),
    0 10px 24px -8px rgb(var(--accent) / 0.75);
  transition: transform 0.3s cubic-bezier(0.3, 1.8, 0.5, 1), box-shadow 0.25s, background 0.6s;
}

.button:hover {
  transform: scale(1.06);
}

.button:active {
  transform: scale(0.95);
}

.button.small {
  padding: 9px 18px;
  font-size: 0.95rem;
}

.button.ghost {
  background: var(--glass-strong);
  color: var(--ink);
  text-shadow: none;
  border: 1px solid var(--edge);
  box-shadow: var(--shade);
}

.button.disabled {
  cursor: default;
  filter: saturate(0.55);
  opacity: 0.75;
}

.button.disabled:hover {
  transform: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--edge);
  font-size: 0.9rem;
  font-weight: 700;
}

.pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(var(--accent));
  box-shadow: 0 0 0 4px rgb(var(--accent) / 0.25);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgb(var(--accent) / 0);
  }
}

.tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tag.ready {
  background: #34c759;
  color: #fff;
}

.tag.early {
  background: #ffb020;
  color: #3a2500;
}

.tag.later {
  background: rgb(127 127 140 / 0.3);
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.block {
  padding: clamp(56px, 9vw, 110px) 0 0;
}

.sub {
  max-width: 46rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split.reverse > :first-child {
  order: 2;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  min-height: min(760px, calc(100vh - 80px));
  padding-top: 32px;
}

.lead {
  max-width: 34rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}

.hint {
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-weight: 550;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.hero-stage .stage,
.hero-stage .stage-still {
  position: relative;
  width: 100%;
  height: 100%;
}

.halo {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 5px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 0 0 5px rgb(var(--accent) / 0.75), 0 0 34px 12px rgb(var(--accent) / 0.55),
    inset 0 0 34px 10px rgb(var(--accent) / 0.5), inset 0 0 0 5px rgb(var(--accent) / 0.75);
  animation: halo 7s ease-in-out infinite;
  transition: box-shadow 0.6s;
}

@keyframes halo {
  50% {
    transform: scale(1.04) rotate(4deg);
    border-radius: 47% 53% 51% 49% / 52% 48% 52% 48%;
  }
}

.stage-note {
  position: absolute;
  bottom: -2%;
  margin: 0;
  font: 650 0.95rem var(--round);
  color: var(--ink-soft);
}

.stage {
  display: block;
  touch-action: manipulation;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.step {
  padding: 16px 22px 22px;
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}

.step h3 b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(var(--accent));
  color: #fff;
  font-size: 1rem;
  transition: background 0.6s;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.scene {
  position: relative;
  height: 150px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: radial-gradient(120% 120% at 30% 20%, #2c1b55, #130a26);
  overflow: hidden;
}

.scene-imp {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -70px;
}

.scene-pointer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  margin: -6px 0 0 22px;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.5));
}

.scene-shake .scene-pointer {
  animation: shake 4.2s linear infinite;
}

.scene-shake .scene-imp {
  animation: pop 4.2s linear infinite;
}

@keyframes shake {
  0%,
  8%,
  36%,
  100% {
    transform: translateX(0);
  }
  12%,
  20%,
  28% {
    transform: translateX(-22px);
  }
  16%,
  24%,
  32% {
    transform: translateX(22px);
  }
}

@keyframes pop {
  0%,
  33% {
    transform: scale(0);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.3, 1.9, 0.5, 1);
  }
  42%,
  90% {
    transform: scale(1);
    opacity: 1;
  }
  96%,
  100% {
    transform: scale(0.5, 0.65);
    opacity: 0;
  }
}

.scene-shoo .scene-pointer {
  animation: flick 4.2s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}

.scene-shoo .scene-imp {
  animation: vanish 4.2s linear infinite;
}

@keyframes flick {
  0%,
  40% {
    transform: translate(0, 0);
  }
  52%,
  88% {
    transform: translate(120px, -64px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes vanish {
  0%,
  46% {
    transform: scale(1);
    opacity: 1;
  }
  56%,
  86% {
    transform: scale(0.5, 0.65);
    opacity: 0;
  }
  94%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.scene-trail {
  position: absolute;
  inset: 8px 0 0;
  width: 100%;
  height: calc(100% - 16px);
  overflow: visible;
}

.scene-trail path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  animation: trail 4.2s ease-in-out infinite;
}

.scene-trail path:first-child {
  stroke: rgb(var(--accent));
  stroke-width: 11;
  filter: drop-shadow(0 0 8px rgb(var(--accent))) drop-shadow(0 0 3px rgb(var(--accent)));
  opacity: 0.9;
}

.scene-trail path:last-child {
  stroke: #fff;
  stroke-width: 3.5;
}

@keyframes trail {
  0%,
  6% {
    stroke-dashoffset: 330;
    opacity: 1;
  }
  46%,
  84% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  96%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.bubble {
  position: absolute;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.35);
  color: #fff;
  font: 700 0.82rem var(--round);
  text-shadow: 0 0 10px rgb(var(--accent)), 0 0 4px rgb(var(--accent));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: bubble 4.2s linear infinite;
  opacity: 0;
}

.bubble.b1 {
  left: 12%;
  bottom: 12%;
}

.bubble.b2 {
  right: 9%;
  top: 14%;
  animation-delay: 0.18s;
}

@keyframes bubble {
  0%,
  48% {
    transform: scale(0);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.3, 1.9, 0.5, 1);
  }
  56%,
  86% {
    transform: scale(1);
    opacity: 1;
  }
  94%,
  100% {
    transform: scale(0.6);
    opacity: 0;
  }
}

.picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.card {
  flex: 1 1 190px;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 20px;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.3, 1.7, 0.5, 1), box-shadow 0.25s, background 0.25s;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
}

.card[aria-pressed="true"] {
  background: var(--glass-strong);
  box-shadow: 0 0 0 4px rgb(var(--accent)), 0 18px 44px -14px rgb(var(--accent) / 0.8);
}

.card .stage,
.card .stage-still {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1 / 0.92;
}

.card strong {
  font-size: 1.35rem;
  font-weight: 800;
}

.tagline {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.35;
  min-height: 3.9em;
}

.acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.acts i {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(127 127 140 / 0.16);
  font: 650 0.78rem var(--round);
}

.pad {
  position: relative;
  aspect-ratio: 1.12;
  border-radius: 34px;
  background: radial-gradient(120% 120% at 25% 15%, #2f1c5c, #120924 70%);
  border: 1px solid rgb(255 255 255 / 0.22);
  box-shadow: var(--shade), inset 0 1px 0 rgb(255 255 255 / 0.25), inset 0 0 60px rgb(var(--accent) / 0.22);
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
}

.pad canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pad-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  padding: 0 18px;
  text-align: center;
  font: 800 1.25rem var(--round);
  color: rgb(255 255 255 / 0.9);
  text-shadow: 0 0 14px rgb(var(--accent)), 0 0 5px rgb(var(--accent));
  pointer-events: none;
  transition: opacity 0.4s;
}

.reward {
  position: absolute;
  left: 50%;
  top: 44%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 12px 12px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, rgb(255 255 255 / 0.86));
  color: #1d1233;
  white-space: nowrap;
  box-shadow: 0 0 0 3px rgb(var(--accent) / 0.9), 0 0 54px 10px rgb(var(--accent) / 0.6),
    0 20px 40px -14px rgb(0 0 0 / 0.7);
  pointer-events: none;
  animation: reward 2.3s cubic-bezier(0.3, 1.4, 0.5, 1) both;
}

.reward[hidden] {
  display: none;
}

.reward .tile {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  font-size: 1.8rem;
}

.reward small {
  display: block;
  font: 750 0.74rem var(--round);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgb(29 18 51 / 0.58);
}

.reward b {
  display: block;
  font: 800 1.32rem var(--round);
  line-height: 1.15;
}

@keyframes reward {
  0% {
    opacity: 0;
    scale: 0.3;
    rotate: -8deg;
  }
  11% {
    opacity: 1;
    scale: 1.08;
    rotate: 2deg;
  }
  18%,
  86% {
    opacity: 1;
    scale: 1;
    rotate: 0deg;
    translate: -50% -50%;
  }
  100% {
    opacity: 0;
    scale: 0.92;
    translate: -50% -78%;
  }
}

.lesson {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.lesson button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 9px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--ink);
  font: 700 0.95rem var(--round);
  cursor: pointer;
  transition: box-shadow 0.25s, translate 0.25s;
}

.lesson button:hover {
  translate: 0 -2px;
}

.lesson button[aria-pressed="true"] {
  box-shadow: 0 0 0 3px rgb(var(--accent)), 0 10px 22px -10px rgb(var(--accent) / 0.9);
}

.lesson svg {
  width: 24px;
  height: 24px;
}

.lesson path {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.11;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lesson .done path {
  stroke: rgb(var(--accent));
}

.lesson .done::after {
  content: "✓";
  font-weight: 900;
  color: rgb(var(--accent));
}

.pad-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.kinds li {
  border-radius: 16px;
  transition: background 0.3s, box-shadow 0.3s;
}

.kinds li.lit {
  background: rgb(var(--accent) / 0.16);
  box-shadow: 0 0 0 6px rgb(var(--accent) / 0.16);
}

.kinds li.lit .tile {
  animation: hop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) 2;
}

@keyframes hop {
  40% {
    translate: 0 -9px;
    rotate: -8deg;
    scale: 1.12;
  }
}

.kinds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.kinds li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
}

.kinds b {
  font: 750 1.08rem var(--round);
  align-self: end;
}

.kinds small {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 0.88rem;
  align-self: start;
}

.tile {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 5px 12px -5px rgb(0 0 0 / 0.35);
}

.t1 {
  background: linear-gradient(160deg, #ff6aa9, #7a5cff);
}
.t2 {
  background: linear-gradient(160deg, #8fa2ff, #5a63f0);
}
.t3 {
  background: linear-gradient(160deg, #7fd4ff, #2f8fff);
}
.t4 {
  background: linear-gradient(160deg, #8fe6ff, #2a7bff);
}
.t5 {
  background: linear-gradient(160deg, #ffc56b, #ff8a3d);
}
.t6 {
  background: linear-gradient(160deg, #b9c7ff, #6c8cff);
}
.t7 {
  background: linear-gradient(160deg, #a8b0c8, #5e6684);
}
.t8 {
  background: linear-gradient(160deg, #d6b8ff, #7a56d8);
}
.t-green {
  background: linear-gradient(160deg, #6fe08c, #1fae4b);
  font-weight: 800;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.mini {
  padding: 20px 22px;
}

.mini .tag {
  float: right;
  margin-left: 8px;
}

.mini p {
  margin: 0;
  color: var(--ink-soft);
}

.perms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.perm {
  padding: 20px 22px;
}

.perm.wide {
  margin-top: 28px;
}

.perm.wide ul {
  columns: 2;
  column-gap: 28px;
}

.perm.wide li {
  break-inside: avoid;
}

.perm header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.perm header h3 {
  margin: 0;
  flex: 1;
  font-size: 1.3rem;
}

.perm p {
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.perm ul {
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.perm li {
  position: relative;
  padding: 5px 0 5px 30px;
  font-weight: 600;
}

.perm li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #34c759;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.perm .planned li {
  color: var(--ink-soft);
}

.perm .planned li::before {
  content: "";
  background: none;
  border: 2px solid currentColor;
  opacity: 0.6;
}

.points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  max-width: 34rem;
}

.points li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.points b {
  color: var(--ink);
}

#make .tag {
  margin-bottom: 14px;
}

.shelf {
  position: relative;
  height: 340px;
}

.file {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 172px;
  padding: 24px 16px 18px;
  animation: bob 6s ease-in-out infinite;
}

.file code {
  background: none;
  font-size: 1rem;
}

.blob {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  font: 800 2.6rem var(--round);
  color: rgb(255 255 255 / 0.92);
  box-shadow: inset 0 3px 3px rgb(255 255 255 / 0.6), inset 0 -10px 18px rgb(0 0 0 / 0.12), 0 12px 18px -10px rgb(0 0 0 / 0.4);
}

.f1 {
  left: 4%;
  top: 6%;
  rotate: -7deg;
}
.f1 .blob {
  background: linear-gradient(160deg, #9be7ff, #4d8dff);
}
.f2 {
  right: 4%;
  top: 0;
  rotate: 6deg;
  animation-delay: -2s;
}
.f2 .blob {
  background: linear-gradient(160deg, #b8f58a, #2fbf71);
}
.f3 {
  left: 30%;
  bottom: 0;
  rotate: -2deg;
  animation-delay: -4s;
}
.f3 .blob {
  background: linear-gradient(160deg, #ffc27a, #ff6aa9);
}

@keyframes bob {
  50% {
    translate: 0 -12px;
  }
}

.get {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(32px, 6vw, 64px) 24px;
  border-radius: 40px;
}

.get .sub {
  margin-bottom: 24px;
}

.get img {
  animation: bob 5s ease-in-out infinite;
}

.foot {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 72px 20px 44px;
  color: var(--ink-soft);
  text-align: center;
}

.foot p {
  margin: 0;
}

.fine {
  font-size: 0.85rem;
}

.on-imp,
.on-imp * {
  cursor: pointer;
}

.overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 60;
  pointer-events: none;
}

.lens {
  position: fixed;
  left: 0;
  top: 0;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  z-index: 59;
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: blur(7px) saturate(170%);
  backdrop-filter: blur(7px) saturate(170%);
  will-change: transform;
}

.lost {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

.lost img {
  width: 150px;
  height: 150px;
  animation: bob 5s ease-in-out infinite;
}

@media (max-width: 920px) {
  .bar-links {
    display: none;
  }

  .bar .button {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .hero-text {
    display: grid;
    justify-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stage {
    max-width: 340px;
    order: -1;
  }

  .steps,
  .grid {
    grid-template-columns: 1fr;
  }

  .split,
  .perms {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child {
    order: 0;
  }

  .tagline {
    min-height: 0;
  }

  .shelf {
    height: 300px;
  }
}

@media (max-width: 480px) {
  main {
    width: calc(100% - 32px);
  }

  .picker {
    gap: 10px;
  }

  .card {
    flex-basis: 140px;
    padding: 6px 10px 16px;
    border-radius: 24px;
  }

  .card strong {
    font-size: 1.15rem;
  }

  .tagline {
    font-size: 0.86rem;
  }

  .kinds {
    grid-template-columns: 1fr;
  }

  .perm.wide ul {
    columns: 1;
  }

  .file {
    width: 140px;
  }

  .blob {
    width: 72px;
    height: 72px;
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .scene-trail path {
    stroke-dashoffset: 0;
  }

  .bubble {
    opacity: 1;
  }
}

.bright-accent .button:not(.ghost),
.bright-accent .step h3 b {
  color: #0d2a18;
  text-shadow: none;
}
