.wobble-page {
  --wobble-red: #D93924;
  --wobble-orange: #E85D1A;
  --wobble-action: #C7460D;
  --wobble-cream: #F3E4CC;
  --wobble-oat: #E6C89F;
  --wobble-cocoa: #261A15;
  --wobble-honey: #FFD166;
  overflow-x: clip;
  background: var(--wobble-cream);
}

.wobble-page .site-header {
  border-bottom-color: rgba(38, 26, 21, .18);
}

.wobble-page .hero {
  position: relative;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 209, 102, .32) 0 5%, transparent 5.2%),
    linear-gradient(125deg, #F3E4CC 0 52%, #E6C89F 52% 100%);
}

.wobble-page .hero-grid {
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  padding-block: 34px;
}

.wobble-page .hero-copy {
  padding: 58px 4vw 58px 0;
}

.wobble-page .hero h1 {
  max-width: 720px;
  font-size: clamp(54px, 7.1vw, 96px);
}

.wobble-page .hero h1 em {
  color: var(--wobble-red);
}

.wobble-page .primary-cta {
  background: var(--wobble-action);
  color: #FFF8E7;
  transition: transform .2s ease, box-shadow .2s ease;
}

.wobble-page .primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(38, 26, 21, .26);
}

.wobble-page .primary-cta:focus-visible,
.wobble-page summary:focus-visible,
.wobble-page .nav a:focus-visible {
  outline: 3px solid var(--wobble-cocoa);
  outline-offset: 4px;
}

.wobble-page .hero-stage {
  min-height: 610px;
  border-radius: 44% 44% 28px 28px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 209, 102, .48) 0 31%, transparent 31.4%),
    linear-gradient(145deg, var(--wobble-red), var(--wobble-orange));
  box-shadow: 0 26px 60px rgba(70, 29, 14, .22);
}

.wobble-page .hero-stage::before {
  width: 72%;
  border: 2px dashed rgba(38, 26, 21, .25);
  background: transparent;
}

.product-orbit {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: min(82%, 510px);
  background: transparent;
  transform-origin: 50% 88%;
  animation: wobble-rock 3.4s ease-in-out infinite;
}

.product-orbit::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 12%;
  bottom: 2%;
  width: 76%;
  height: 13%;
  border-radius: 50%;
  background: rgba(38, 26, 21, .24);
  filter: blur(12px);
}

.wobble-page .hero-stage .product-orbit img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(38, 26, 21, .24));
}

.motion-arc {
  position: absolute;
  z-index: 1;
  width: 66%;
  aspect-ratio: 1;
  border: 5px solid transparent;
  border-top-color: var(--wobble-honey);
  border-left-color: var(--wobble-honey);
  border-radius: 50%;
  opacity: .9;
}

.motion-arc-a { transform: rotate(-34deg); }
.motion-arc-b { width: 82%; transform: rotate(142deg); opacity: .42; }

.push-cue {
  position: absolute;
  z-index: 4;
  left: 22px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 2px solid var(--wobble-cocoa);
  border-radius: 14px;
  background: var(--wobble-honey);
  color: var(--wobble-cocoa);
  font-weight: 900;
  transform: rotate(-5deg);
}

.push-cue b { font-size: 25px; animation: push-nudge 1.6s ease-in-out infinite; }

.treat-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50% 45% 52% 42%;
  background: var(--wobble-honey);
  border: 2px solid var(--wobble-cocoa);
}

.treat-dot-a { left: 1%; bottom: 22%; animation: treat-hop 3.4s ease-in-out infinite; }
.treat-dot-b { left: -8%; bottom: 15%; animation: treat-hop 3.4s .16s ease-in-out infinite; }

.wobble-page .stage-label {
  top: 24px;
  right: 24px;
  background: var(--wobble-cocoa);
  color: var(--wobble-cream);
  border-color: var(--wobble-cocoa);
}

.motion-section {
  position: relative;
  padding: 102px 0 112px;
  background: var(--wobble-oat);
  overflow: hidden;
}

.motion-section::before,
.motion-section::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 120px;
  border: 4px solid rgba(232, 93, 26, .24);
  border-bottom: 0;
  border-radius: 240px 240px 0 0;
}

.motion-section::before { top: 22px; right: -90px; transform: rotate(-12deg); }
.motion-section::after { bottom: -46px; left: -55px; transform: rotate(165deg); }

.motion-intro {
  display: grid;
  grid-template-columns: 120px minmax(0, 680px);
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}

.motion-intro h2 {
  margin: 4px 0 10px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

.motion-intro p { max-width: 620px; }
.section-kicker { margin: 0; color: var(--wobble-action); font-weight: 900; }

.motion-story {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: motion;
}

.motion-story::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 70px;
  right: 14%;
  left: 14%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--wobble-orange) 0 18px, transparent 18px 29px);
}

.motion-step {
  min-height: 270px;
  padding: 24px;
  border: 2px solid rgba(38, 26, 21, .16);
  border-radius: 28px 28px 62px 28px;
  background: var(--wobble-cream);
  box-shadow: 0 16px 36px rgba(65, 31, 15, .10);
}

.motion-step:nth-child(2) { transform: translateY(22px); background: #E85D1A; color: var(--wobble-cocoa); }
.motion-step:nth-child(3) { border-radius: 28px 28px 28px 62px; }
.motion-step h3 { margin: 20px 0 4px; font-size: 30px; }
.motion-step p { margin: 0; color: #68402D; }
.motion-step:nth-child(2) p { color: var(--wobble-cocoa); }

.motion-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--wobble-honey);
  border: 2px solid var(--wobble-cocoa);
}

.motion-icon b { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--wobble-cocoa); color: var(--wobble-cream); font-size: 12px; }
.push-line { width: 46px; border-top: 5px solid var(--wobble-cocoa); }
.push-line::after { content: ""; display: block; width: 15px; height: 15px; border-top: 5px solid var(--wobble-cocoa); border-left: 5px solid var(--wobble-cocoa); transform: translate(-1px, -10px) rotate(-45deg); }
.mini-wobble i { display: block; width: 48px; height: 42px; border-radius: 50% 50% 42% 42%; background: var(--wobble-red); border: 3px solid var(--wobble-cocoa); transform-origin: 50% 100%; animation: wobble-rock 2.4s ease-in-out infinite; }
.treat-pop { width: 26px; height: 26px; border-radius: 50% 42% 48% 45%; background: var(--wobble-red); border: 3px solid var(--wobble-cocoa); box-shadow: -24px 17px 0 -6px var(--wobble-orange), 23px -12px 0 -8px var(--wobble-orange); }

.wobble-page .benefits { background: var(--wobble-cream); }
.wobble-page .card { position: relative; overflow: hidden; border-width: 2px; background: #E6C89F; }
.wobble-page .card::after { content: ""; position: absolute; width: 110px; height: 55px; left: -34px; bottom: -22px; border: 3px solid var(--wobble-orange); border-radius: 100px 100px 0 0; transform: rotate(12deg); }
.wobble-page .card:nth-child(2) { background: var(--wobble-orange); transform: rotate(-1.2deg); }
.wobble-page .card:nth-child(3) { transform: rotate(1.2deg); }

.wobble-page .how { background: var(--wobble-cocoa); color: var(--wobble-cream); }
.wobble-page .how-media { position: relative; border: 2px solid rgba(243, 228, 204, .35); background: var(--wobble-orange); overflow: hidden; }
.wobble-page .how-media img { position: relative; z-index: 2; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(38, 26, 21, .28)); }
.how-arc { position: absolute; z-index: 1; width: 76%; aspect-ratio: 1; border: 5px dashed var(--wobble-honey); border-radius: 50%; transform: rotate(-22deg); }
.wobble-page .how .step { border-color: rgba(243, 228, 204, .28); }
.wobble-page .how .step b { background: var(--wobble-honey); color: var(--wobble-cocoa); }
.wobble-page .how .step p { color: #E6C89F; }

.wobble-page .fit { background: var(--wobble-red); }
.wobble-page .fit-card { position: relative; border: 2px solid var(--wobble-cocoa); background: var(--wobble-honey); color: var(--wobble-cocoa); box-shadow: 14px 14px 0 var(--wobble-cocoa); }
.wobble-page .fit-card p { color: var(--wobble-cocoa); }

.wobble-page .offer { background: var(--wobble-oat); }
.wobble-page .offer-card { position: relative; overflow: hidden; border: 0; background: var(--wobble-cocoa); color: var(--wobble-cream); }
.wobble-page .offer-card::after { content: ""; position: absolute; left: -70px; top: -90px; width: 250px; aspect-ratio: 1; border: 28px solid var(--wobble-orange); border-radius: 50%; opacity: .65; }
.wobble-page .offer-card > * { position: relative; z-index: 1; }
.wobble-page .offer-card p { color: var(--wobble-oat); }
.wobble-page .price { color: var(--wobble-honey); }

.wobble-page .faq { background: var(--wobble-cream); }
.wobble-page .faq details { border: 2px solid rgba(38, 26, 21, .15); background: var(--wobble-oat); }
.wobble-page .faq details[open] { border-color: var(--wobble-orange); }

@keyframes wobble-rock {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  45% { transform: rotate(5deg) translateY(-3px); }
  68% { transform: rotate(-2deg) translateY(0); }
}

@keyframes push-nudge {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(-7px); }
}

@keyframes treat-hop {
  0%, 56%, 100% { transform: translate(0, 0) rotate(0); opacity: .2; }
  68% { transform: translate(-18px, -30px) rotate(40deg); opacity: 1; }
  82% { transform: translate(-42px, 6px) rotate(85deg); opacity: 1; }
}

@media (max-width: 900px) {
  .wobble-page .hero-grid { grid-template-columns: 1fr; padding-bottom: 48px; }
  .wobble-page .hero-copy { padding: 46px 0 12px; }
  .wobble-page .hero-stage { min-height: 520px; }
  .motion-intro { grid-template-columns: 88px 1fr; }
}

@media (max-width: 760px) {
  .wobble-page .hero { background: linear-gradient(180deg, var(--wobble-cream) 0 47%, var(--wobble-oat) 47% 100%); }
  .wobble-page .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .wobble-page .hero-stage { min-height: 370px; border-radius: 120px 120px 24px 24px; }
  .product-orbit { width: min(82%, 390px); }
  .wobble-page .stage-label { top: 14px; right: 14px; font-size: 12px; }
  .push-cue { left: 12px; bottom: 14px; }
  .motion-section { padding: 70px 0 84px; }
  .motion-intro { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .motion-story { grid-template-columns: 1fr; gap: 16px; }
  .motion-story::before { top: 8%; bottom: 8%; right: 69px; left: auto; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--wobble-orange) 0 18px, transparent 18px 29px); }
  .motion-step, .motion-step:nth-child(2), .motion-step:nth-child(3) { min-height: 0; display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 18px; transform: none; border-radius: 24px; }
  .motion-step h3 { margin-top: 0; }
  .motion-icon { width: 76px; height: 76px; }
  .wobble-page .card:nth-child(2), .wobble-page .card:nth-child(3) { transform: none; }
  .wobble-page .fit-card { box-shadow: 8px 8px 0 var(--wobble-cocoa); }
}

@media (max-width: 390px) {
  .wobble-page .hero h1 { font-size: 46px; }
  .wobble-page .hero-stage { min-height: 330px; }
  .motion-step { grid-template-columns: 70px 1fr; padding: 18px; }
  .motion-icon { width: 64px; height: 64px; }
  .motion-story::before { right: 51px; }
}

@media (prefers-reduced-motion: reduce) {
  .wobble-page *,
  .wobble-page *::before,
  .wobble-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
