/* Home page: the beach hero and the sections under it. */

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; padding-top: 72px;
  min-height: min(100svh, 1000px); display: grid; grid-template-rows: 1fr auto;
  background:
    radial-gradient(60% 45% at 72% 74%, rgba(255, 122, 92, .30), transparent 70%),
    radial-gradient(45% 40% at 18% 30%, rgba(63, 184, 163, .16), transparent 70%),
    linear-gradient(180deg, #050d0f 0%, #0a1b1c 38%, #14302c 62%, #3b2a2a 78%, #6b3b30 86%, #0a1416 86.2%);
}
.sky-stars { position: absolute; inset: 0 0 30% 0; z-index: -3; pointer-events: none; }
.sky-stars i { position: absolute; width: 3px; height: 3px; background: var(--paper); opacity: var(--o, .6); }
@media (prefers-reduced-motion: no-preference) { .sky-stars i { animation: twinkle var(--t, 4s) ease-in-out infinite var(--dl, 0s); } }
@keyframes twinkle { 50% { opacity: .1; } }
@media (max-width: 1099px) { .moon { right: 7% !important; top: 84px !important; width: 36px !important; height: 36px !important; } }
@media (max-width: 520px) { .try-on .label { display: none; } .try-on { justify-content: flex-start; } }
.moon { position: absolute; z-index: -3; right: 38%; top: 13%; width: 60px; height: 60px; image-rendering: pixelated; filter: drop-shadow(0 0 40px rgba(255, 244, 228, .35)); }

/* the sea and the shore, drawn as pixel bands */
.shore { position: absolute; inset: auto 0 0 0; height: 24%; z-index: -2; pointer-events: none; }
.sea { position: absolute; inset: 0 0 46% 0; background: linear-gradient(#1b4743, #12302e); }
.sea::before, .sea::after {
  content: ''; position: absolute; left: -64px; right: -64px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(168, 236, 217, .55) 0 18px, transparent 18px 64px);
}
.sea::before { top: 22%; }
.sea::after { top: 58%; opacity: .5; background: repeating-linear-gradient(90deg, rgba(168, 236, 217, .4) 0 10px, transparent 10px 48px); }
@media (prefers-reduced-motion: no-preference) {
  .sea::before { animation: swell 7s linear infinite; }
  .sea::after { animation: swell 11s linear infinite reverse; }
}
@keyframes swell { to { transform: translateX(64px); } }
.foam { position: absolute; left: 0; right: 0; bottom: 46%; height: 14px; background:
  radial-gradient(circle at 10px 14px, var(--paper) 7px, transparent 7.5px) 0 0 / 34px 14px repeat-x; opacity: .85; }
@media (prefers-reduced-motion: no-preference) { .foam { animation: lap 5s ease-in-out infinite; } }
@keyframes lap { 50% { transform: translateY(6px); opacity: .6; } }
.sand {
  position: absolute; inset: 54% 0 0 0;
  background:
    radial-gradient(circle, rgba(140, 110, 70, .35) 1.5px, transparent 2px) 0 0 / 22px 18px,
    radial-gradient(circle, rgba(255, 255, 255, .25) 1px, transparent 1.5px) 11px 9px / 26px 20px,
    linear-gradient(#e8d4a8, #d6bd88);
}

.hero-inner {
  position: relative; display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(2.5rem, 1rem + 6vh, 6rem) 0;
  grid-template-columns: 1fr;
}
@media (min-width: 1100px) { .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero-copy { display: grid; gap: 1.5rem; align-content: start; position: relative; z-index: 2; }
.hero-copy .chip { justify-self: start; }
.hero h1 { font-size: clamp(2.3rem, 1.1rem + 3vw, 3.9rem); max-width: none; text-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.hero h1 > span { display: block; }
.hero .lede { color: rgba(255, 244, 228, .82); max-width: 46ch; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--text-3); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust span::before { content: ''; width: 6px; height: 6px; background: var(--glass); }

/* the stage: the panel floating over the shore, the crab on the sand */
.stage { position: relative; min-height: 720px; --cw: clamp(190px, 16vw, 250px); }
.panel-col { position: absolute; right: 0; top: 0; width: min(100%, 460px); z-index: 2; display: grid; gap: .8rem; }
@media (min-width: 1100px) { .panel-col { transform: scale(.9); transform-origin: 100% 0; } }
@media (max-width: 1099px) { .stage { min-height: 900px; --cw: clamp(150px, 34vw, 220px); max-width: 640px; width: 100%; margin-inline: auto; } }

@keyframes panel-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* the crab and his helpers on the sand */
.beach-crab {
  position: absolute; left: -2%; bottom: 0; z-index: 3; width: var(--cw);
  cursor: pointer; background: none; border: 0; padding: 0; color: inherit; -webkit-tap-highlight-color: transparent;
}

.beach-crab:focus-visible { outline-offset: 10px; border-radius: 16px; }
.beach-crab .body-wrap { position: relative; transform-origin: 50% 100%; }
.beach-crab .shadow { position: absolute; left: 12%; right: 12%; bottom: -4%; height: 9%; border-radius: 50%; background: rgba(60, 40, 20, .35); filter: blur(2px); z-index: -1; }
.beach-crab svg { width: 100%; }
.beach-crab .crab-svg .part-eyes { transition: transform .12s steps(2); }
.beach-crab.hop .body-wrap { animation: hop .55s var(--ease-out); }
.beach-crab.cheer .body-wrap { animation: cheer .9s var(--ease-out); }
@keyframes hop { 40% { transform: translateY(-22%) scaleY(1.04); } 70% { transform: translateY(0) scaleY(.94) scaleX(1.04); } }
@keyframes cheer { 20% { transform: translateY(-14%) rotate(-4deg); } 45% { transform: translateY(0); } 65% { transform: translateY(-8%) rotate(3deg); } }
.beach-crab { touch-action: none; }
.beach-crab.away .body-wrap > svg, .beach-crab.away .shadow { visibility: hidden; }
.flyer { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; transform-origin: 50% 100%; will-change: transform; }
.flyer svg { width: 100%; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .35)); }
.flyer.left svg { transform: scaleX(-1); }
.flyer.squash svg { animation: squash .35s var(--ease-out); }
.flyer.gone { opacity: 0; transition: opacity .25s !important; }
@keyframes squash { 30% { transform: scale(1.18, .78); } 60% { transform: scale(.94, 1.06); } }
.flyer.left.squash svg { animation: none; }
.fly-bubble { position: absolute; left: 70%; bottom: 92%; padding: .45rem .7rem; border-radius: 10px; background: var(--paper); color: var(--ink); font: 700 .95rem/1 var(--f-pixel); white-space: nowrap; box-shadow: 3px 3px 0 rgba(0, 0, 0, .3); opacity: 0; transform: scale(.7); transform-origin: 0 100%; transition: opacity .2s, transform .3s var(--ease-spring); }
.fly-bubble.on { opacity: 1; transform: none; }
.beach-crab .fx-holder { position: absolute; inset: -40% -30% 0; pointer-events: none; --fall-h: 260px; }

.bubble {
  position: absolute; z-index: 4; left: calc(-2% + var(--cw) * .78); bottom: calc(var(--cw) * .66);
  padding: .6rem .9rem; border-radius: 12px; background: var(--paper); color: var(--ink);
  font: 700 1.05rem/1.1 var(--f-pixel); white-space: nowrap; box-shadow: 4px 4px 0 rgba(0, 0, 0, .3);
  opacity: 0; transform: translateY(8px) scale(.8); transform-origin: 0 100%; transition: opacity .25s, transform .35s var(--ease-spring);
  pointer-events: none;
}
.bubble::after { content: ''; position: absolute; left: 14px; bottom: -10px; border: 10px solid transparent; border-top-color: var(--paper); border-bottom: 0; border-left: 0; }
.bubble.on { opacity: 1; transform: none; }


.helper { position: absolute; z-index: 3; bottom: 2%; left: calc(-2% + var(--cw) * .55); width: clamp(54px, 6vw, 80px); pointer-events: none; opacity: 0; }
.helper .tag { position: absolute; left: 50%; bottom: 105%; transform: translateX(-50%); font: 600 .6rem/1 var(--f-mono); color: var(--paper); background: rgba(8, 18, 20, .75); padding: .25rem .4rem; border-radius: 5px; white-space: nowrap; }
.helper.out { animation: helper-out var(--dur, 2.6s) var(--ease-out) forwards; }
.helper.back { animation: helper-back 1.6s ease-in forwards; }
@keyframes helper-out {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  12% { opacity: 1; transform: translate(10px, 0) scale(1); }
  100% { opacity: 1; transform: translate(var(--tx), var(--ty)) scale(1); }
}
@keyframes helper-back { 0% { opacity: 1; transform: translate(var(--tx), var(--ty)); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(0, 0) scale(.4); } }

/* A crit: "CRIT!" slams onto him like a game's crit over whoever was hit,
   and "+XP" floats up (shellby src/renderer/critter/critter.css, #surprise). */
.surprise { position: absolute; left: -20%; right: -20%; bottom: 30%; display: grid; justify-items: center; pointer-events: none; z-index: 4; }
.surprise span { grid-area: 1 / 1; white-space: nowrap; font: 700 clamp(30px, 3.4vw, 44px)/1 var(--f-pixel); letter-spacing: .03em; }
.surprise .crit { color: #ffd23f; text-shadow: 3px 0 #9b1d20, -3px 0 #9b1d20, 0 3px #9b1d20, 0 -3px #9b1d20, 0 6px #3d0a0b, 0 0 18px rgba(255, 140, 60, .65); animation: crit-slam 2.2s cubic-bezier(.2, .9, .3, 1) forwards; }
.surprise .xp { bottom: 0; align-self: start; margin-top: -1.6em; font-size: clamp(18px, 1.8vw, 24px); color: #ffd23f; text-shadow: 0 2px 0 #3d2a00, 0 0 8px rgba(255, 210, 63, .5); animation: xp-rise 1.8s cubic-bezier(.2, .8, .3, 1) .35s both; }
@keyframes crit-slam { 0% { transform: scale(2.6) rotate(-8deg); opacity: 0; } 10% { transform: scale(.88) rotate(3deg); opacity: 1; } 16% { transform: scale(1.1) rotate(-2deg); } 22%, 72% { transform: scale(1) rotate(-4deg); opacity: 1; } 100% { transform: translateY(-14px) rotate(-4deg); opacity: 0; } }
@keyframes xp-rise { 0% { transform: translateY(8px) scale(.6); opacity: 0; } 15% { transform: translateY(0) scale(1.1); opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(-40px); opacity: 0; } }
.beach-crab.crit .body-wrap > svg { filter: drop-shadow(0 0 10px rgba(255, 210, 63, .8)); }
@media (prefers-reduced-motion: reduce) { .surprise span { animation: none; } }

.try-on { justify-content: flex-start; } }
.moon { position: absolute; z-index: -3; right: 38%; top: 13%; width: 60px; height: 60px; image-rendering: pixelated; filter: drop-shadow(0 0 40px rgba(255, 244, 228, .35)); }

/* the sea and the shore, drawn as pixel bands */
.shore { position: absolute; inset: auto 0 0 0; height: 24%; z-index: -2; pointer-events: none; }
.sea { position: absolute; inset: 0 0 46% 0; background: linear-gradient(#1b4743, #12302e); }
.sea::before, .sea::after {
  content: ''; position: absolute; left: -64px; right: -64px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(168, 236, 217, .55) 0 18px, transparent 18px 64px);
}
.sea::before { top: 22%; }
.sea::after { top: 58%; opacity: .5; background: repeating-linear-gradient(90deg, rgba(168, 236, 217, .4) 0 10px, transparent 10px 48px); }
@media (prefers-reduced-motion: no-preference) {
  .sea::before { animation: swell 7s linear infinite; }
  .sea::after { animation: swell 11s linear infinite reverse; }
}
@keyframes swell { to { transform: translateX(64px); } }
.foam { position: absolute; left: 0; right: 0; bottom: 46%; height: 14px; background:
  radial-gradient(circle at 10px 14px, var(--paper) 7px, transparent 7.5px) 0 0 / 34px 14px repeat-x; opacity: .85; }
@media (prefers-reduced-motion: no-preference) { .foam { animation: lap 5s ease-in-out infinite; } }
@keyframes lap { 50% { transform: translateY(6px); opacity: .6; } }
.sand {
  position: absolute; inset: 54% 0 0 0;
  background:
    radial-gradient(circle, rgba(140, 110, 70, .35) 1.5px, transparent 2px) 0 0 / 22px 18px,
    radial-gradient(circle, rgba(255, 255, 255, .25) 1px, transparent 1.5px) 11px 9px / 26px 20px,
    linear-gradient(#e8d4a8, #d6bd88);
}

.hero-inner {
  position: relative; display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(2.5rem, 1rem + 6vh, 6rem) 0;
  grid-template-columns: 1fr;
}
@media (min-width: 1100px) { .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero-copy { display: grid; gap: 1.5rem; align-content: start; position: relative; z-index: 2; }
.hero-copy .chip { justify-self: start; }
.hero h1 { font-size: clamp(2.3rem, 1.1rem + 3vw, 3.9rem); max-width: none; text-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.hero h1 > span { display: block; }
.hero .lede { color: rgba(255, 244, 228, .82); max-width: 46ch; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--text-3); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust span::before { content: ''; width: 6px; height: 6px; background: var(--glass); }

/* the stage: the panel floating over the shore, the crab on the sand */
.stage { position: relative; min-height: 720px; --cw: clamp(190px, 16vw, 250px); }
.panel-col { position: absolute; right: 0; top: 0; width: min(100%, 460px); z-index: 2; display: grid; gap: .8rem; }
@media (min-width: 1100px) { .panel-col { transform: scale(.9); transform-origin: 100% 0; } }
@media (max-width: 1099px) { .stage { min-height: 900px; --cw: clamp(150px, 34vw, 220px); max-width: 640px; width: 100%; margin-inline: auto; } }

@keyframes panel-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* the crab and his helpers on the sand */
.beach-crab {
  position: absolute; left: -2%; bottom: 0; z-index: 3; width: var(--cw);
  cursor: pointer; background: none; border: 0; padding: 0; color: inherit; -webkit-tap-highlight-color: transparent;
}

.beach-crab:focus-visible { outline-offset: 10px; border-radius: 16px; }
.beach-crab .body-wrap { position: relative; transform-origin: 50% 100%; }
.beach-crab .shadow { position: absolute; left: 12%; right: 12%; bottom: -4%; height: 9%; border-radius: 50%; background: rgba(60, 40, 20, .35); filter: blur(2px); z-index: -1; }
.beach-crab svg { width: 100%; }
.beach-crab .crab-svg .part-eyes { transition: transform .12s steps(2); }
.beach-crab.hop .body-wrap { animation: hop .55s var(--ease-out); }
.beach-crab.cheer .body-wrap { animation: cheer .9s var(--ease-out); }
@keyframes hop { 40% { transform: translateY(-22%) scaleY(1.04); } 70% { transform: translateY(0) scaleY(.94) scaleX(1.04); } }
@keyframes cheer { 20% { transform: translateY(-14%) rotate(-4deg); } 45% { transform: translateY(0); } 65% { transform: translateY(-8%) rotate(3deg); } }
.beach-crab { touch-action: none; }
.beach-crab.away .body-wrap > svg, .beach-crab.away .shadow { visibility: hidden; }
.flyer { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; transform-origin: 50% 100%; will-change: transform; }
.flyer svg { width: 100%; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .35)); }
.flyer.left svg { transform: scaleX(-1); }
.flyer.squash svg { animation: squash .35s var(--ease-out); }
.flyer.gone { opacity: 0; transition: opacity .25s !important; }
@keyframes squash { 30% { transform: scale(1.18, .78); } 60% { transform: scale(.94, 1.06); } }
.flyer.left.squash svg { animation: none; }
.fly-bubble { position: absolute; left: 70%; bottom: 92%; padding: .45rem .7rem; border-radius: 10px; background: var(--paper); color: var(--ink); font: 700 .95rem/1 var(--f-pixel); white-space: nowrap; box-shadow: 3px 3px 0 rgba(0, 0, 0, .3); opacity: 0; transform: scale(.7); transform-origin: 0 100%; transition: opacity .2s, transform .3s var(--ease-spring); }
.fly-bubble.on { opacity: 1; transform: none; }
.beach-crab .fx-holder { position: absolute; inset: -40% -30% 0; pointer-events: none; --fall-h: 260px; }

.bubble {
  position: absolute; z-index: 4; left: calc(-2% + var(--cw) * .78); bottom: calc(var(--cw) * .66);
  padding: .6rem .9rem; border-radius: 12px; background: var(--paper); color: var(--ink);
  font: 700 1.05rem/1.1 var(--f-pixel); white-space: nowrap; box-shadow: 4px 4px 0 rgba(0, 0, 0, .3);
  opacity: 0; transform: translateY(8px) scale(.8); transform-origin: 0 100%; transition: opacity .25s, transform .35s var(--ease-spring);
  pointer-events: none;
}
.bubble::after { content: ''; position: absolute; left: 14px; bottom: -10px; border: 10px solid transparent; border-top-color: var(--paper); border-bottom: 0; border-left: 0; }
.bubble.on { opacity: 1; transform: none; }


.helper { position: absolute; z-index: 3; bottom: 2%; left: calc(-2% + var(--cw) * .55); width: clamp(54px, 6vw, 80px); pointer-events: none; opacity: 0; }
.helper .tag { position: absolute; left: 50%; bottom: 105%; transform: translateX(-50%); font: 600 .6rem/1 var(--f-mono); color: var(--paper); background: rgba(8, 18, 20, .75); padding: .25rem .4rem; border-radius: 5px; white-space: nowrap; }
.helper.out { animation: helper-out var(--dur, 2.6s) var(--ease-out) forwards; }
.helper.back { animation: helper-back 1.6s ease-in forwards; }
@keyframes helper-out {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  12% { opacity: 1; transform: translate(10px, 0) scale(1); }
  100% { opacity: 1; transform: translate(var(--tx), var(--ty)) scale(1); }
}
@keyframes helper-back { 0% { opacity: 1; transform: translate(var(--tx), var(--ty)); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(0, 0) scale(.4); } }

.toast {
  position: absolute; z-index: 5; right: 3%; top: 30%; display: flex; gap: .8rem; align-items: center;
  padding: .75rem 1rem .75rem .8rem; border-radius: 14px; background: linear-gradient(135deg, #2b1d10, #3c2510);
  border: 1px solid rgba(255, 209, 102, .55); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(255, 209, 102, .5);
  opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .35s, transform .55s var(--ease-spring);
}
.toast.on { opacity: 1; transform: none; }
.toast .trophy { font-size: 1.6rem; }
.toast .t-text { display: grid; gap: .15rem; }
.toast b { display: block; font: 700 1rem/1.1 var(--f-pixel); color: var(--sun); }
.toast .t-sub { font-size: .78rem; color: var(--text-2); }


.try-on { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: .4rem; }
.try-on .label { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-right: .2rem; }
.try-on button {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(8, 18, 20, .65);
  display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease-spring), border-color .2s, background-color .2s;
}
.try-on button:hover { transform: translateY(-3px); border-color: var(--glass); }
.try-on button[aria-pressed='true'] { border-color: var(--coral); background: rgba(255, 122, 92, .16); }
.try-on button svg { width: 26px; height: 26px; }
.try-on .pause { width: auto; padding: 0 .8rem; margin-left: .3rem; font: 600 .72rem/1 var(--f-mono); color: var(--text-2); gap: .4rem; display: inline-flex; }

.hero-foot { position: relative; z-index: 2; padding-block: 1.5rem 2rem; }
.hero-foot .proof { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; color: rgba(20, 18, 37, .8); font: 700 .86rem/1.2 var(--f-mono); }
.hero-foot .proof span { display: inline-flex; gap: .5rem; align-items: center; }
.hero-foot .proof span::before { content: ''; width: 7px; height: 7px; background: var(--ember); }

/* ------------------------------------------------------------ sections */
.how-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 980px) { .how-grid { grid-template-columns: .9fr 1.25fr; } }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.6rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; }
.steps li::before { content: counter(step); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--coral); color: var(--ink); font: 700 1.5rem/1 var(--f-pixel); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.steps h3 { font-size: var(--step-1); padding-top: .2rem; }
.steps p { color: var(--text-2); margin-top: .3rem; }
.video-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(63, 184, 163, .4); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.pillars { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.pillar { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(19, 40, 39, .4); }
.pillar .n { font: 700 .74rem/1 var(--f-mono); color: var(--coral); letter-spacing: .12em; }
.pillar h3 { margin-top: .9rem; font-size: var(--step-1); }
.pillar p { margin-top: .6rem; color: var(--text-2); }

/* the feature explorer */
.explorer { display: grid; gap: 1.25rem; border-radius: 26px; padding: clamp(.75rem, .5rem + 1vw, 1.25rem); border: 1px solid var(--line-2);
  background: radial-gradient(70% 60% at 100% 0%, rgba(255, 122, 92, .12), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(63, 184, 163, .14), transparent 60%), rgba(13, 28, 29, .75);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9); }
@media (min-width: 980px) { .explorer { grid-template-columns: 290px 1fr; } }
.ex-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .2rem; }
.ex-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 980px) { .ex-tabs { flex-direction: column; overflow: visible; } }
.ex-tabs button {
  display: flex; align-items: center; gap: .8rem; flex: none; text-align: left; padding: .7rem .85rem; border-radius: 14px;
  border: 1px solid transparent; background: transparent; color: var(--text-2); cursor: pointer; font: inherit;
  transition: background-color .25s, border-color .25s, color .2s, transform .3s var(--ease-out);
}
.ex-tabs button:hover { background: rgba(168, 236, 217, .06); color: var(--paper); }
.ex-tabs button[aria-selected='true'] { background: linear-gradient(90deg, rgba(255, 122, 92, .2), rgba(255, 122, 92, .06)); border-color: rgba(255, 122, 92, .45); color: var(--paper); }
@media (min-width: 980px) { .ex-tabs button[aria-selected='true'] { transform: translateX(6px); } }
.ex-tabs .ico img { width: 33px; height: 33px; }
.ex-tabs .ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(168, 236, 217, .08); font-size: 1.2rem; }
.ex-tabs button[aria-selected='true'] .ico { background: var(--sand); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.ex-tabs b { display: block; font-size: .98rem; line-height: 1.2; }
.ex-tabs small { display: block; font: 500 .7rem/1.3 var(--f-mono); color: var(--text-3); margin-top: .15rem; }
@media (max-width: 979px) { .ex-tabs small { display: none; } .ex-tabs button { padding: .55rem .8rem .55rem .55rem; } .ex-tabs .ico { width: 34px; height: 34px; } }
.ex-panel { display: grid; gap: 2rem; align-items: center; padding: clamp(1rem, .5rem + 2vw, 2.25rem); border-radius: 18px; background: rgba(8, 18, 20, .5); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 760px) { .ex-panel { grid-template-columns: 1.45fr 1fr; } }
.ex-panel[hidden] { display: none; }
.explorer:not(.ready) .ex-panel[hidden] { display: grid; }
.explorer:not(.ready) .ex-panels { display: grid; gap: 1rem; }
.ex-k { font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--glass); }
.ex-copy h3 { font-size: var(--step-3); margin: .7rem 0 1.4rem; }
.ex-list { list-style: none; display: grid; gap: .9rem 1.6rem; margin-bottom: 1.6rem; }
@media (min-width: 1240px) { .ex-list { grid-template-columns: 1fr 1fr; } }
.ex-list li { position: relative; padding-left: 1.1rem; color: var(--text-2); font-size: .93rem; line-height: 1.5; }
.ex-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; background: var(--coral); }
.ex-list b { display: block; color: var(--paper); font-size: .98rem; margin-bottom: .1rem; }
.ex-list code { font-size: .8em; color: var(--foam); }
.ex-visual { position: relative; height: clamp(340px, 29vw, 450px); }
.ex-visual img:not(.px) { position: absolute; height: 100%; width: auto; max-width: none; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .9); }
.ex-front { right: 0; top: 0; z-index: 1; }
.ex-back { right: 30%; top: 9%; height: 86% !important; opacity: .45; filter: saturate(.6) blur(.5px); transform: rotate(-4deg); }
@media (max-width: 759px) { .ex-visual { height: 420px; } .ex-front { right: auto; left: 50%; transform: translateX(-50%); } .ex-back { display: none; } }
.ex-critters { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; height: auto; align-content: center; }
.ex-critters img { width: 100%; border-radius: 14px; background: rgba(168, 236, 217, .05); border: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .ex-panel.enter .ex-copy > * { animation: ex-up .6s var(--ease-out) both; }
  .ex-panel.enter .ex-copy > :nth-child(2) { animation-delay: .04s; }
  .ex-panel.enter .ex-copy > :nth-child(3) { animation-delay: .08s; }
  .ex-panel.enter .ex-front { animation: ex-front .8s var(--ease-out) both; }
  .ex-panel.enter .ex-back { animation: ex-back .9s var(--ease-out) both .05s; }
  .ex-panel.enter .ex-critters img { animation: ex-up .5s var(--ease-spring) both; }
  .ex-panel.enter .ex-critters img:nth-child(2) { animation-delay: .05s; } .ex-panel.enter .ex-critters img:nth-child(3) { animation-delay: .1s; }
  .ex-panel.enter .ex-critters img:nth-child(4) { animation-delay: .15s; } .ex-panel.enter .ex-critters img:nth-child(5) { animation-delay: .2s; } .ex-panel.enter .ex-critters img:nth-child(6) { animation-delay: .25s; }
}
@keyframes ex-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes ex-front { from { opacity: 0; translate: 0 30px; } }
@keyframes ex-back { from { opacity: 0; translate: 40px 10px; } }

/* the long tail: drifting rows of every other feature */
.more-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: clamp(3rem, 2rem + 3vw, 5rem) 0 1.5rem; }
.more-head h3 { font-size: var(--step-2); }
.wall { display: grid; gap: .7rem; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall-row { list-style: none; display: flex; gap: .6rem; width: max-content; }
.wall-row li { flex: none; padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(19, 40, 39, .55); color: var(--text-2); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.wall-row li.c { border-color: rgba(255, 122, 92, .35); color: var(--coral-hi); background: rgba(255, 122, 92, .07); }
.wall-row li.s { border-color: rgba(127, 214, 194, .35); color: var(--foam); background: rgba(63, 184, 163, .07); }
@media (prefers-reduced-motion: no-preference) {
  .js .wall-row { animation: wall 90s linear infinite; }
  .js .wall-row.rev { animation-direction: reverse; animation-duration: 110s; }
  .wall:hover .wall-row { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .wall-row { flex-wrap: wrap; width: auto; padding-inline: var(--gutter); } }
@keyframes wall { to { transform: translateX(-50%); } }

/* tricks reel */
.tricks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.trick { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--deep); }
.trick img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; image-rendering: pixelated; }
.trick figcaption { margin: 0; padding: 1rem 1.1rem 1.15rem; color: var(--text-2); font-size: .95rem; }
.trick figcaption b { color: var(--paper); display: block; margin-bottom: .2rem; }

/* the crab parade: every skin, live */
.parade { position: relative; overflow: hidden; padding-block: 1rem 2rem; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.parade-track { display: flex; gap: 2.4rem; width: max-content; align-items: end; }
@media (prefers-reduced-motion: no-preference) { .parade-track { animation: parade 60s linear infinite; } .parade:hover .parade-track { animation-play-state: paused; } }
@keyframes parade { to { transform: translateX(-50%); } }
.parade figure { width: 120px; text-align: center; }
.parade figure > span { display: block; height: 90px; }
.parade svg, .parade img { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) { .parade img { animation: bob 2.4s ease-in-out infinite; } .parade figure:nth-child(even) img { animation-delay: -1.2s; } }
@keyframes bob { 50% { transform: translateY(-4px); } }
.parade figcaption { margin-top: .6rem; font: 600 .72rem/1.2 var(--f-mono); color: var(--text-3); }

/* permission modes */
.modes { display: grid; gap: .6rem; }
.mode { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(19, 40, 39, .4); }
.mode b { font-family: var(--f-pixel); font-size: 1.15rem; }
.mode p { color: var(--text-2); font-size: .95rem; }
.mode.default { border-color: rgba(127, 214, 194, .5); background: rgba(63, 184, 163, .1); }
.mode.danger b { color: var(--coral-hi); }
@media (max-width: 600px) { .mode { grid-template-columns: 1fr; gap: .3rem; } }

.privacy-band { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-2); padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  background: radial-gradient(80% 100% at 0% 100%, rgba(63, 184, 163, .22), transparent 60%), var(--deep); }
.privacy-band ul { list-style: none; display: grid; gap: .8rem; margin-top: 1.6rem; }
.privacy-band li { position: relative; padding-left: 1.5rem; color: var(--text-2); overflow-wrap: anywhere; }
.privacy-band li::before { content: '✓'; position: absolute; left: 0; color: var(--glass); font-weight: 800; }

.packs-teaser img { border-radius: 16px; border: 1px solid var(--line-2); }
