/* Coming soon (Figma 253:20115). White viewport, hero-sized happy Miso, one line of type.
   Miso himself is drawn by site/js/miso-motion.js (the marketing site's ClothSim). */
:root {
  --ink: #4d4d4d;
  --accent: #4E86FE;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --slot: 494.844px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  overscroll-behavior: none;
  /* Safari paints the translucent status bar and toolbar from this canvas.
     only light: a dark scheme must not swap in a grey or black strip. */
  color-scheme: only light;
}
body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--slot), 100%);
  gap: 0;
}
.miso-slot {
  width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
}
.soon {
  /* Pull the label into the artboard padding under the shadow.
     -7.28% of the slot is -36px at the 495 comp, and the same fraction on a phone. */
  margin: -7.28% 0 0;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}
.play {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  overflow: visible;
  pointer-events: none;
  touch-action: none;
}
.play .m-body {
  fill: var(--accent);
}
.play .m-mouth { stroke: #000; }
.play .m-body.grab {
  pointer-events: visiblePainted;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.play.flying .m-body.grab { cursor: grabbing; }
@media (max-width: 360px) {
  .soon { font-size: 32px; }
}
/* Phones and tablets. A fixed layer is clipped to the glass, so it cannot be
   what Safari composites under the toolbar — the document background is.
   100lvh is that large viewport (same idea as the marketing sheets). The
   stack itself is pinned to the visual viewport in coming-soon.js; centering
   it in 100dvh let the visible glass cut Miso off and leave the label below. */
.bleed { display: none; }
html.touch-glass {
  background: #fff;
  height: 100%;
  min-height: 100lvh;
  overflow: hidden;
}
html.touch-glass body {
  background: #fff;
  min-height: 100lvh;
  height: 100lvh;
  margin: 0;
  padding: 0;
  display: block;
  overflow: visible;
}
html.touch-glass .bleed {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  top: -240px;
  height: calc(100lvh + 480px);
  background: #fff;
  z-index: 0;
  pointer-events: none;
}
html.touch-glass .stack {
  position: fixed;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
html.touch-glass .miso-slot { width: min(78vw, 494.844px); }
