/* Cloudbun: the marketing site. Warm paper, chunky stickers, no purple (docs/ART_DIRECTION.md).
   Colours are the app's tokens (src/ui/tokens.ts). Motion lives in js/main.js; without JS or with
   reduced motion, every section renders in its finished state. */

@font-face {
  font-family: 'Mochiy Pop One';
  src: url('/fonts/MochiyPopOne-Regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS Rounded 1c';
  src: url('/fonts/MPLUSRounded1c-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS Rounded 1c';
  src: url('/fonts/MPLUSRounded1c-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS Rounded 1c';
  src: url('/fonts/MPLUSRounded1c-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #fff8ec;
  --paper-2: #f6ead3;
  --sand: #ebd7b5;
  --sand-lip: #d9bf94;
  --wood: #b97e4c;
  --wood-lip: #8e5a33;
  --ink: #4a3a2e;
  --ink-2: #5e4a3b;
  --ink-3: #7a6352;
  --berry: #e2557a;
  --berry-fill: #c8456b;
  --berry-lip: #a3385a;
  --blush: #ff9db6;
  --leaf: #7cc26a;
  --matcha-fill: #3a8641;
  --matcha-lip: #2b6630;
  --matcha-tint: #e6f4dc;
  --yuzu: #ffc94d;
  --yuzu-lip: #e3a92e;
  --yuzu-tint: #fff3d4;
  --ramune: #8fd7ea;
  --ramune-deep: #3e9dbb;
  --ramune-tint: #ddf3f9;
  --peach: #ffb48a;
  --peach-tint: #ffe8d9;
  --pink-50: #ffefea;
  --sky-deep: #3c5a8a;
  --night: #22344e;
  --night-text: #fff6e6;
  --shadow: 0 2px 0 rgba(142, 90, 51, 0.16), 0 10px 28px rgba(140, 90, 40, 0.14);
  --shadow-lg: 0 3px 0 rgba(142, 90, 51, 0.14), 0 24px 60px rgba(140, 90, 40, 0.18);
  --r-sheet: 32px;
  --r-card: 24px;
  --r-button: 20px;
  --gutter: 16px;
  --display: 'Mochiy Pop One', 'M PLUS Rounded 1c', ui-rounded, system-ui, sans-serif;
  --body: 'M PLUS Rounded 1c', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.motion {
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* paper grain, very faint */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .15 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--berry-fill);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
a:hover {
  color: var(--berry-lip);
}
:focus-visible {
  outline: 3px solid var(--ramune-deep);
  outline-offset: 3px;
  border-radius: 10px;
}
button {
  font: inherit;
  color: inherit;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 6.6vw, 78px);
  line-height: 1.04;
}
h2 {
  font-size: clamp(34px, 5.6vw, 64px);
}
h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
}
.skip:focus {
  top: 12px;
  color: #fff;
}

/* ------------------------------------------------------------------ stickers, buttons, pills */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: #fff;
  border-radius: 999px;
  font: 800 15px/1.2 var(--body);
  color: var(--ink);
  box-shadow:
    0 0 0 3px #fff,
    0 3px 0 4px rgba(142, 90, 51, 0.12),
    0 10px 22px rgba(140, 90, 40, 0.14);
  transform: rotate(-2deg);
  margin-bottom: 22px;
}
.sticker img {
  width: 28px;
  height: 28px;
}
.sticker.tilt-r {
  transform: rotate(2deg);
}

.btn {
  --c: var(--berry-fill);
  --lip: var(--berry-lip);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--r-button);
  background: var(--c);
  color: #fff;
  font: 800 17px/1.2 var(--body);
  text-decoration: none;
  box-shadow:
    0 5px 0 var(--lip),
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    0 12px 24px rgba(140, 90, 40, 0.18);
  cursor: pointer;
  transition:
    transform 0.18s var(--spring),
    box-shadow 0.18s;
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 7px 0 var(--lip),
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    0 16px 28px rgba(140, 90, 40, 0.2);
}
.btn:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 var(--lip),
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    0 6px 14px rgba(140, 90, 40, 0.16);
}
.btn.green {
  --c: var(--matcha-fill);
  --lip: var(--matcha-lip);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 16px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 20px 10px 14px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 5px 0 #2e241c,
    inset 0 2px 0 rgba(255, 255, 255, 0.16),
    0 14px 26px rgba(74, 58, 46, 0.22);
  text-align: left;
}
.store svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.store small {
  display: block;
  font: 700 12px/1.2 var(--body);
  opacity: 0.82;
  letter-spacing: 0.02em;
}
.store b {
  display: block;
  font: 800 19px/1.15 var(--body);
}
.fine {
  font: 700 15px/1.5 var(--body);
  color: var(--ink-3);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 5px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.9);
  font: 800 15px/1.2 var(--body);
  box-shadow:
    0 2px 0 rgba(142, 90, 51, 0.14),
    0 6px 14px rgba(140, 90, 40, 0.12);
}
.pill img {
  width: 24px;
  height: 24px;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed;
  inset: 12px 12px auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 8px 8px 8px 14px;
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow:
    0 2px 0 rgba(142, 90, 51, 0.1),
    0 10px 30px rgba(140, 90, 40, 0.14);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font: 400 22px/1 var(--display);
}
.logo:hover {
  color: var(--ink);
}
.logo img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 2px 0 rgba(142, 90, 51, 0.2);
}
.nav ul {
  display: none;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 4px;
}
.nav li a {
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  font: 800 16px/1 var(--body);
  color: var(--ink-2);
  text-decoration: none;
}
.nav li a:hover {
  background: var(--paper-2);
  color: var(--ink);
}
.nav .soon {
  text-decoration: none;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--yuzu);
  color: var(--ink);
  font: 800 15px/1 var(--body);
  box-shadow: 0 3px 0 var(--yuzu-lip);
  white-space: nowrap;
}
@media (min-width: 900px) {
  .nav ul {
    display: flex;
  }
  .nav .soon {
    margin-left: 8px;
  }
}

/* ------------------------------------------------------------------ hero */
.hero {
  --sky-a: #bfe0f6;
  --sky-b: #dcebf7;
  --sky-c: #fbe3da;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 108px 0 140px;
  background: linear-gradient(
    180deg,
    var(--sky-a) 0%,
    var(--sky-b) 42%,
    var(--sky-c) 82%,
    var(--paper) 100%
  );
  overflow: clip;
}
.hero .night-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(180deg, #16304a 0%, #1f4a63 50%, #2f6a78 86%, #3d7c82 100%);
  transition: opacity 1s ease;
}
.hero.is-night .night-sky {
  opacity: 1;
}
.stars {
  position: absolute;
  inset: 0 0 30%;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero.is-night .stars {
  opacity: 1;
}
.stars i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff2c4;
  box-shadow: 0 0 8px 2px rgba(255, 242, 196, 0.6);
}
.sun {
  position: absolute;
  z-index: -1;
  right: 8%;
  top: 90px;
  width: clamp(110px, 16vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    #fff3c4 0 52%,
    rgba(255, 243, 196, 0.55) 53%,
    rgba(255, 243, 196, 0) 72%
  );
  transition: background 1s ease;
}
.hero.is-night .sun {
  background: radial-gradient(
    circle at 50% 50%,
    #fff2c4 0 40%,
    rgba(255, 242, 196, 0.25) 42%,
    rgba(255, 242, 196, 0) 70%
  );
}
.clouds {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.clouds img {
  position: absolute;
  width: var(--w, 220px);
  opacity: var(--o, 1);
  transition: filter 1s ease;
}
.hero.is-night .clouds img {
  filter: brightness(0.55) saturate(0.8) hue-rotate(-8deg);
}
.hero-grid {
  display: grid;
  gap: 8px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  transition: color 1s ease;
}
.hero-copy h1 .accent {
  color: var(--berry);
  display: inline-block;
}
.hero.is-night .hero-copy {
  color: var(--night-text);
}
.hero.is-night .hero-copy .lead,
.hero.is-night .hero-copy .fine {
  color: #e9e1d6;
}
.hero.is-night .hero-copy h1 .accent {
  color: #ffb3c6;
}
.hero-stage {
  position: relative;
  width: min(100%, 640px);
  margin: 8px auto 0;
}
.isle {
  position: relative;
  aspect-ratio: 1800 / 2032;
}
.isle > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.isle .night {
  opacity: 0;
  transition: opacity 1s ease;
}
.hero.is-night .isle .night {
  opacity: 1;
}
.hero-mochi {
  /* feet on the free tile nearest home's middle (assets/art.json › hero) */
  --fx: 0.682;
  --fy: 0.7317;
  --mw: 0.2;
  --ar: 0.8858;
  position: absolute;
  z-index: 1;
  left: calc(var(--fx) * 100% - var(--mw) * 50%);
  top: calc(var(--fy) * 100% - var(--mw) * var(--ar) * 86.2%);
  width: calc(var(--mw) * 100%);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hero-mochi img {
  position: absolute;
  inset: 0;
  width: 100%;
  transform-origin: 50% 86%;
}
.hero-mochi .blink {
  visibility: hidden;
}
.hero-mochi.blinking .blink {
  visibility: visible;
}
.hero-mochi.blinking .open {
  visibility: hidden;
}
.isle .front {
  z-index: 2;
  pointer-events: none;
}
.bubble {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 96%;
  width: max-content;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  color: var(--ink);
  font: 800 15px/1.35 var(--body);
  text-align: left;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-10%, 8px) scale(0.8);
  transform-origin: 0 100%;
  transition:
    opacity 0.25s,
    transform 0.35s var(--spring);
  pointer-events: none;
}
.bubble.on {
  opacity: 1;
  transform: translate(-10%, 0) scale(1);
}
.tod {
  position: absolute;
  z-index: 4;
  right: 4%;
  top: 6%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.9);
  color: var(--ink);
  font: 800 14px/1 var(--body);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.tod span.ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yuzu);
  box-shadow: inset -4px -4px 0 rgba(227, 169, 46, 0.6);
  transition:
    background 0.6s,
    box-shadow 0.6s;
}
.hero.is-night .tod span.ico {
  background: #fff2c4;
  box-shadow: inset -9px -3px 0 #3c5a8a;
}
.hero-floor {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  z-index: 3;
  height: 120px;
  pointer-events: none;
}
.hero-floor svg {
  width: 100%;
  height: 100%;
}
@media (min-width: 960px) {
  .hero {
    display: flex;
    align-items: center;
    padding-bottom: 120px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 24px;
  }
  .hero-stage {
    margin: 0;
  }
}
@media (max-width: 959px) {
  .hero-copy {
    text-align: center;
  }
  .hero-copy .lead {
    margin-inline: auto;
  }
  .stores {
    justify-content: center;
  }
}

/* ------------------------------------------------------------------ marquee */
.marquee {
  position: relative;
  z-index: 4;
  margin-top: -30px;
  padding: 16px 0;
  background: var(--yuzu);
  transform: rotate(-1.5deg);
  box-shadow: 0 4px 0 var(--yuzu-lip);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font: 800 20px/1 var(--body);
  white-space: nowrap;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.marquee-track img {
  width: 28px;
  height: 28px;
}

/* ------------------------------------------------------------------ sections */
main {
  overflow-x: clip;
}
section {
  position: relative;
  overflow-x: clip;
}
.grow-stage {
  overflow: clip;
}
.sec {
  padding-block: clamp(84px, 11vw, 150px);
}
.sec-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
}

/* talk: the phone */
.talk-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 960px) {
  .talk-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.4s var(--spring),
    background 0.3s;
}
.steps li .n {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--paper-2);
}
.steps li .n img {
  width: 34px;
  height: 34px;
}
.steps li b {
  display: block;
  font: 800 19px/1.3 var(--body);
}
.steps li span {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
}
.motion .steps li {
  opacity: 0.72;
}
.motion .steps li.on {
  opacity: 1;
  transform: translateX(8px);
}
.steps li.on .n {
  background: var(--yuzu-tint);
}

.phone-wrap {
  display: grid;
  place-items: center;
}
.phone {
  --s: 1;
  position: relative;
  width: 340px;
  height: 700px;
  flex: none;
  border-radius: 48px;
  padding: 12px;
  background: #3b2c22;
  box-shadow:
    0 0 0 2px #5e4a3b,
    var(--shadow-lg),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: scale(var(--s));
  transform-origin: 50% 50%;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffefe2 0%, var(--paper) 30%);
}
.screen .notch {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 16px;
  background: #3b2c22;
}
.hud {
  position: absolute;
  z-index: 4;
  top: 48px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.hud {
  gap: 4px;
  flex-wrap: nowrap;
}
.hud .pill {
  gap: 3px;
  padding: 2px 7px 2px 2px;
  font-size: 12px;
}
.hud .pill img {
  width: 18px;
  height: 18px;
}
.chat-head {
  position: absolute;
  top: 86px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}
.chat-head img {
  width: 40px;
  height: 40px;
}
.chat-head b {
  display: block;
  font: 800 15px/1.2 var(--body);
}
.chat-head small {
  display: block;
  font: 700 12px/1.2 var(--body);
  color: var(--ink-3);
}
.chat {
  position: absolute;
  top: 150px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 20px;
  font: 700 14px/1.45 var(--body);
}
.msg.me {
  align-self: flex-end;
  background: var(--berry-fill);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.msg.mochi {
  align-self: flex-start;
  background: #fff;
  box-shadow: var(--shadow);
  border-bottom-left-radius: 6px;
}
.typing {
  display: inline-flex;
  gap: 5px;
  padding: 14px 16px;
}
.typing i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.5;
}
.noticed {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.noticed small {
  width: 100%;
  font: 800 11px/1 var(--body);
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: #fff;
  font: 800 12.5px/1.2 var(--body);
  box-shadow: 0 2px 0 rgba(142, 90, 51, 0.12);
}
.chip img {
  width: 20px;
  height: 20px;
}
.chip.dew {
  background: var(--ramune-tint);
}
.chip.petal {
  background: #ffe6ee;
}
.chip.timber {
  background: #f6e7d7;
}
.chip.note {
  background: var(--yuzu-tint);
}
.wrapup {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  min-height: 50px;
  font-size: 15px;
}
.recap {
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  height: 74%;
  padding: 18px 14px 14px;
  border-radius: 30px 30px 0 0;
  background: #fff;
  box-shadow: 0 -10px 40px rgba(140, 90, 40, 0.2);
}
.recap h4 {
  margin: 0 0 10px;
  font: 400 18px/1.2 var(--display);
  text-align: center;
}
.recap .grab {
  width: 40px;
  height: 5px;
  margin: -8px auto 12px;
  border-radius: 3px;
  background: var(--sand);
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 16px;
  background: var(--paper);
  margin-bottom: 6px;
  font: 800 13.5px/1.25 var(--body);
}
.row img {
  width: 24px;
  height: 24px;
}
.row .amt {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 13px;
}
.toggle {
  width: 38px;
  height: 22px;
  flex: none;
  border-radius: 11px;
  background: var(--leaf);
  position: relative;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 19px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.recap .remember {
  margin: 10px 2px 6px;
  font: 800 12px/1 var(--body);
  color: var(--ink-3);
}
.recap .btn {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  min-height: 50px;
}
.toast {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 26px;
  width: max-content;
  padding: 12px 18px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font: 800 15px/1.2 var(--body);
  transform: translate(-50%, 0);
  box-shadow: var(--shadow-lg);
}
.fly {
  position: absolute;
  z-index: 9;
  width: 26px;
  height: 26px;
  pointer-events: none;
}
/* static (no JS / reduced motion): the recap is shown below the chat, not over it */
html:not(.motion) .recap,
html:not(.motion) .toast,
html:not(.motion) .typing {
  display: none;
}

/* grow */
.grow {
  background: linear-gradient(
    180deg,
    var(--paper) 0%,
    #e6f2fa 12%,
    #d3eaf7 50%,
    #eef6fb 88%,
    var(--paper) 100%
  );
}
.grow-pin {
  position: relative;
}
.grow-stage {
  position: relative;
  height: min(78vh, 760px);
  min-height: 420px;
  margin-top: 8px;
}
.motion .grow-stage {
  height: 100svh;
  margin-top: 0;
}
.world {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.world > * {
  position: absolute;
  max-width: none;
}
.world .layer {
  background-repeat: no-repeat;
  transform-origin: 50% 90%;
}
.world .frame {
  opacity: 0;
}
.grow-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.grow-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(76px, 12vh, 120px);
  text-align: center;
  padding-inline: var(--gutter);
}
.grow-copy h2 {
  margin-bottom: 0.2em;
}
.grow-copy p {
  margin: 0 auto;
  max-width: 30em;
  color: var(--ink-2);
  font-size: clamp(16px, 1.5vw, 19px);
}
.motion .grow-copy p {
  min-height: 3.2em;
}
.levelcard {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(20px, 6vh, 56px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: var(--shadow);
}
.ring {
  position: relative;
  width: 72px;
  height: 72px;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 400 22px/1 var(--display);
}
.levelcard small {
  display: block;
  font: 800 13px/1.2 var(--body);
  color: var(--ink-3);
}
.levelcard strong {
  display: block;
  font: 800 20px/1.2 var(--body);
}
.daytag {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(20px, 6vh, 56px);
  z-index: 1;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--wood);
  color: #fff;
  font: 400 18px/1 var(--display);
  box-shadow: 0 4px 0 var(--wood-lip);
  transform: rotate(-2deg);
}
.grow-static {
  display: none;
}
html:not(.motion) .grow-static {
  display: block;
}
html:not(.motion) .grow-stage,
html:not(.motion) .grow-ui .levelcard,
html:not(.motion) .grow-ui .daytag {
  display: none;
}
html:not(.motion) .grow-ui {
  position: static;
}
html:not(.motion) .grow-copy {
  position: static;
  padding-top: clamp(84px, 11vw, 150px);
}
.grow-static .yr {
  display: grid;
  gap: 16px;
  padding: 24px var(--gutter) 80px;
  max-width: 1240px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .grow-static .yr {
    grid-template-columns: repeat(2, 1fr);
  }
}
.grow-static figure {
  margin: 0;
  text-align: center;
  font: 800 16px/1.4 var(--body);
  color: var(--ink-3);
}

/* wardrobe */
.ward-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 960px) {
  .ward-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
  }
}
.roomcard {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 440 / 560;
  border-radius: var(--r-sheet);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow:
    0 0 0 8px #fff,
    var(--shadow-lg);
}
.roomcard .room {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.roomcard .room.on {
  opacity: 1;
}
.roomcard .look {
  position: absolute;
  left: 25%;
  top: 61.5%;
  width: 50.9%;
  aspect-ratio: 140 / 116;
  transform-origin: 41% 86%;
}
.roomcard .look img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.roomcard .look img.on {
  opacity: 1;
}
.roomcard .tag {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.92);
  font: 800 15px/1.2 var(--body);
  box-shadow: var(--shadow);
}
.roomcard .tag small {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.chooser {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.chooser .group b {
  display: block;
  font: 800 14px/1 var(--body);
  color: var(--ink-3);
  margin-bottom: 8px;
}
.swatches,
.setlist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.swatches li {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c);
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.08),
    0 0 0 3px #fff,
    0 3px 8px rgba(140, 90, 40, 0.2);
  transition: transform 0.3s var(--spring);
}
.setlist li {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  font: 800 14px/1.2 var(--body);
  box-shadow: 0 2px 0 rgba(142, 90, 51, 0.12);
  transition:
    transform 0.3s var(--spring),
    background 0.3s;
}
.swatches li.on {
  transform: scale(1.22);
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.08),
    0 0 0 3px #fff,
    0 0 0 6px var(--berry);
}
.setlist li.on {
  background: var(--berry-fill);
  color: #fff;
  transform: translateY(-2px) rotate(-2deg);
}

/* wanderings map */
.wander {
  background: linear-gradient(180deg, var(--paper) 0%, #eaf3f6 20%, #eaf3f6 80%, var(--paper) 100%);
}
.wander-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 960px) {
  .wander-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
}
.mapcard {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
  aspect-ratio: 1200 / 1500;
  border-radius: var(--r-sheet);
  overflow: hidden;
  background: #dce6ef;
  box-shadow:
    0 0 0 8px #fff,
    var(--shadow-lg);
}
.mapworld {
  position: absolute;
  left: 0;
  top: 0;
  width: 1200px;
  height: 1500px;
  transform-origin: 0 0;
}
.mapworld img {
  position: absolute;
  max-width: none;
}
.mapworld .puff {
  width: 300px;
  height: 180px;
}
.maplabel {
  position: absolute;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.92);
  font: 800 22px/1.2 var(--body);
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 2px 0 rgba(142, 90, 51, 0.14);
}
.found {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font: 800 17px/1.2 var(--body);
}
.found strong {
  font: 400 30px/1 var(--display);
  color: var(--ramune-deep);
}
.meter {
  margin-top: 18px;
  max-width: 360px;
}
.meter small {
  display: block;
  font: 800 14px/1 var(--body);
  color: var(--ink-3);
  margin-bottom: 8px;
}
.meter .bar {
  height: 18px;
  border-radius: 9px;
  background: var(--paper-2);
  box-shadow: inset 0 2px 0 rgba(142, 90, 51, 0.1);
  overflow: hidden;
}
.meter .bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--ramune), #63c3de);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.4);
  transform-origin: 0 50%;
}

/* postcards */
.cards {
  position: relative;
  display: grid;
  gap: 28px;
  justify-items: center;
  margin-top: 40px;
}
@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pc {
  position: relative;
  width: min(100%, 360px);
  padding: 10px 10px 44px;
  border-radius: 8px;
  background: #fffcf6;
  box-shadow: var(--shadow-lg);
}
.pc:nth-child(1) {
  transform: rotate(-4deg);
}
.pc:nth-child(2) {
  transform: rotate(2deg) translateY(-10px);
}
.pc:nth-child(3) {
  transform: rotate(-1deg);
}
.pc .art {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
}
.pc .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 800 15px/1 var(--body);
}
.rar {
  padding: 5px 10px;
  border-radius: 999px;
  font: 800 12px/1 var(--body);
  background: var(--paper-2);
  color: var(--ink-2);
}
.pc.rare .rar {
  background: var(--ramune-tint);
  color: #23637a;
}
.pc.shimmer {
  background: linear-gradient(135deg, #fff3c9, #ffe08a 30%, #fff6d8 50%, #f4c95d 70%, #fff1c2);
}
.pc.shimmer .rar {
  background: #fff;
  color: #8a5a0b;
}
.pc.shimmer .art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 246, 210, 0.75) 46%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 233, 160, 0.6) 54%,
    transparent 70%
  );
  background-size: 260% 100%;
  mix-blend-mode: soft-light;
  animation: sheen 3.2s ease-in-out infinite;
}
@keyframes sheen {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -40% 0;
  }
}
.stamp {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 54px;
  height: 62px;
  padding: 4px;
  background: #fff;
  transform: rotate(6deg);
  -webkit-mask: radial-gradient(circle 3px at 3px 3px, transparent 98%, #000) -3px -3px / 8px 8px;
  mask: radial-gradient(circle 3px at 3px 3px, transparent 98%, #000) -3px -3px / 8px 8px;
}
.stamp i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}

/* feature bento */
.bento {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento .w2 {
    grid-column: span 2;
  }
  .bento .w3 {
    grid-column: span 3;
  }
  .bento .w4 {
    grid-column: span 4;
  }
  .bento .w6 {
    grid-column: span 6;
  }
}
.card {
  position: relative;
  padding: 24px;
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card h3 {
  margin-bottom: 0.35em;
}
.card p {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.card .ico {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}
.card.tint-leaf {
  background: var(--matcha-tint);
}
.card.tint-ramune {
  background: var(--ramune-tint);
}
.card.tint-yuzu {
  background: var(--yuzu-tint);
}
.card.tint-peach {
  background: var(--peach-tint);
}
.card.tint-pink {
  background: var(--pink-50);
}
.critters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 2px;
  margin-top: 18px;
}
.critters img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
@media (min-width: 760px) {
  .critters img {
    width: 76px;
    height: 76px;
  }
}
.plots {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 18px;
}
.plots figure {
  margin: 0;
  flex: 1;
  text-align: center;
  font: 800 12px/1.2 var(--body);
  color: var(--ink-3);
}
.plots img {
  width: 100%;
  max-width: 76px;
  margin: 0 auto 6px;
}
.timer {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 18px auto 4px;
}
.timer svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.timer b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 400 26px/1 var(--display);
}
.breathe {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  margin-top: 4px;
  padding-bottom: 30px;
}
.breathe .orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, var(--ramune) 70%);
  box-shadow:
    0 0 0 14px rgba(143, 215, 234, 0.25),
    0 0 0 30px rgba(143, 215, 234, 0.12);
}
.breathe span {
  position: absolute;
  bottom: 0;
  font: 800 14px/1 var(--body);
  color: #23637a;
}
.care-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}
.care-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font: 800 14px/1.2 var(--body);
}
.care-list img {
  width: 28px;
  height: 28px;
}
.capsule {
  position: relative;
  height: 140px;
  margin-top: 14px;
}
.capsule .ball {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 74px;
  height: 74px;
  margin-left: -37px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 6px 0 rgba(142, 90, 51, 0.16),
    inset 0 -6px 0 rgba(0, 0, 0, 0.06);
}
.capsule .ball::before {
  content: '';
  position: absolute;
  inset: 0 0 50%;
  background: var(--c, var(--berry));
}
.capsule .ball::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: #fffcf6;
  border-top: 3px solid rgba(74, 58, 46, 0.12);
}
.capsule .ball i {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 10px;
  width: 18px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(-30deg);
}
.mood {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 18px;
  max-width: 240px;
}
.mood i {
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--c, var(--paper-2));
}
.widgets {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.widgets img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
@media (min-width: 760px) {
  .widgets {
    grid-template-columns: 1fr 1fr;
  }
}

/* friends */
.friends-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto;
}
.friends-stage .fi {
  position: relative;
}
.friends-stage .fi img {
  width: 100%;
}
.friends-stage .fi span {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 12px;
  background: #fff;
  font: 800 14px/1.2 var(--body);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.flight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.flight img {
  position: absolute;
  width: 44px;
  height: 44px;
  left: 50%;
  top: 40%;
}
.friend-points {
  display: grid;
  gap: 14px;
  margin-top: 48px;
}
@media (min-width: 760px) {
  .friend-points {
    grid-template-columns: repeat(3, 1fr);
  }
}
.friend-points .card {
  text-align: left;
}
.privacy-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 28px auto 0;
  max-width: 680px;
  padding: 14px 18px;
  border-radius: 20px;
  background: var(--matcha-tint);
  font: 700 16px/1.5 var(--body);
}
.privacy-note img {
  width: 40px;
  height: 40px;
  flex: none;
}

/* promise: a night band */
.promise {
  background: radial-gradient(120% 80% at 50% 0%, #2b4664 0%, var(--night) 55%, #1b2e48 100%);
  color: var(--night-text);
  overflow: clip;
}
.promise .sticker {
  color: var(--ink);
}
.promise .lead {
  color: #e9e1d6;
}
.promise-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.promise-stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff2c4;
  opacity: 0.7;
}
.swaps {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 900px) {
  .swaps {
    grid-template-columns: repeat(2, 1fr);
  }
}
.swap {
  padding: 24px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.swap .no {
  position: relative;
  display: inline-block;
  font: 800 17px/1.3 var(--body);
  color: #c8d6e2;
}
.swap .no::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 3px;
  border-radius: 2px;
  background: var(--blush);
  transform-origin: 0 50%;
  transform: scaleX(var(--strike, 1));
}
.swap .yes {
  display: block;
  margin-top: 8px;
  font: 400 clamp(22px, 2.6vw, 30px)/1.25 var(--display);
  color: #fff6e6;
}
.swap p {
  margin: 10px 0 0;
  font-size: 16px;
  color: #d9d2c8;
}
.sleepy {
  position: absolute;
  right: 6%;
  top: clamp(70px, 9vw, 130px);
  width: clamp(110px, 14vw, 180px);
  opacity: 0.95;
}
.privacy-band {
  display: grid;
  gap: 14px;
  margin-top: 56px;
}
@media (min-width: 900px) {
  .privacy-band {
    grid-template-columns: repeat(3, 1fr);
  }
}
.privacy-band div {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.96);
  color: var(--ink);
}
.privacy-band b {
  display: block;
  font: 800 18px/1.3 var(--body);
  margin-bottom: 4px;
}
.privacy-band span {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* plus */
.plus-card {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-sheet);
  background: linear-gradient(160deg, #fff8e2 0%, #fff1cc 60%, #ffe6b0 100%);
  box-shadow:
    0 0 0 3px #fff,
    var(--shadow-lg);
  overflow: hidden;
}
@media (min-width: 900px) {
  .plus-card {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
.plus-card h2 {
  font-size: clamp(30px, 4.4vw, 48px);
}
.perks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.perks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font: 700 16.5px/1.45 var(--body);
}
.perks li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--yuzu)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234A3A2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  box-shadow: 0 2px 0 var(--yuzu-lip);
}
.free-forever {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  font: 700 16px/1.5 var(--body);
}
.free-forever b {
  color: var(--matcha-fill);
}
.plus-mochi {
  width: min(260px, 70%);
  margin-inline: auto;
  filter: drop-shadow(0 18px 24px rgba(227, 169, 46, 0.35));
}

/* final call */
.cta {
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--paper) 0%, #fbe3da 60%, #f8d3c6 100%);
  overflow: clip;
}
.cta h2 {
  font-size: clamp(38px, 7vw, 84px);
}
.cta .stores {
  justify-content: center;
}
.cta-mochi {
  width: clamp(150px, 20vw, 230px);
  margin: 0 auto 10px;
}

/* footer */
.foot {
  padding: 48px 0 40px;
  background: var(--wood);
  color: #fff4e6;
}
.foot a {
  color: #fff4e6;
  font-weight: 800;
  text-decoration: none;
}
.foot a:hover {
  color: #fff;
  text-decoration: underline;
}
.foot-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 800px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.foot .logo {
  color: #fff4e6;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot h3 {
  font: 800 15px/1 var(--body);
  text-transform: none;
  color: #ffe7c9;
  margin-bottom: 14px;
}
.foot p {
  font-size: 16px;
  color: #ffebd6;
}
.foot .bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 2px dashed rgba(255, 244, 230, 0.3);
  font: 700 14px/1.5 var(--body);
  color: #ffebd6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ------------------------------------------------------------------ legal pages */
.doc {
  padding: 120px 0 80px;
}
.doc .wrap {
  max-width: 820px;
}
.doc h1 {
  font-size: clamp(36px, 6vw, 56px);
}
.doc h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-top: 1.8em;
}
.doc h3 {
  font: 800 19px/1.3 var(--body);
  margin: 1.4em 0 0.4em;
}
.doc p,
.doc li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.doc ul,
.doc ol {
  padding-left: 1.3em;
}
.doc li {
  margin-bottom: 0.4em;
}
.doc .meta {
  font: 700 15px/1.5 var(--body);
  color: var(--ink-3);
}
.doc .box {
  padding: 18px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  margin: 24px 0;
}
.doc .box.green {
  background: var(--matcha-tint);
  box-shadow: none;
}
.doc .box.yuzu {
  background: var(--yuzu-tint);
  box-shadow: none;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15.5px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.doc th,
.doc td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--paper-2);
  vertical-align: top;
}
.doc th {
  font-weight: 800;
  background: var(--paper-2);
}
.doc .table-scroll {
  overflow-x: auto;
}
.ph {
  background: #ffe39a;
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 800;
  color: var(--ink);
}
.doc .steps-list {
  counter-reset: st;
  list-style: none;
  padding: 0;
}
.doc .steps-list li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 14px;
}
.doc .steps-list li::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--yuzu);
  color: var(--ink);
  font: 800 16px/1 var(--body);
  box-shadow: 0 3px 0 var(--yuzu-lip);
}
.doc-mochi {
  width: 120px;
  margin-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 960px) {
  .motion .talk .wrap,
  .motion .ward .wrap,
  .motion .wander .wander-grid {
    min-height: 100svh;
    align-content: center;
  }
}
@media (max-width: 699px) {
  .daytag {
    bottom: calc(clamp(20px, 6vh, 56px) + 108px);
    font-size: 16px;
  }
  .levelcard {
    left: var(--gutter);
    right: auto;
  }
  .hero {
    padding-top: 92px;
  }
  .hero .fine {
    display: none;
  }
  .stores {
    gap: 10px;
    margin: 22px 0 8px;
  }
  .store {
    min-height: 54px;
    padding: 8px 14px 8px 10px;
  }
  .store b {
    font-size: 17px;
  }
}
/* phones: headline, then the island, then the rest, so the island is on the first screen */
@media (max-width: 959px) {
  .hero-copy {
    display: contents;
  }
  .hero-grid > *,
  .hero-copy > * {
    position: relative;
    z-index: 2;
  }
  .hero-copy .sticker {
    order: 1;
    justify-self: center;
    margin-bottom: 4px;
  }
  .hero-copy h1 {
    order: 2;
    margin-bottom: 0;
  }
  .hero-stage {
    order: 3;
    width: min(100%, 420px);
    margin-top: -6px;
    z-index: 1;
  }
  .hero-copy .lead {
    order: 4;
    margin-top: 8px;
  }
  .hero-copy .stores {
    order: 5;
  }
  .hero-copy .fine {
    order: 6;
  }
  .hero {
    padding-bottom: 110px;
  }
}
@media (max-width: 699px) {
  h1 {
    font-size: clamp(36px, 10.4vw, 46px);
  }
  .hero-copy .lead {
    font-size: 17px;
  }
}
@media (max-width: 699px) {
  .tod {
    padding: 8px;
    top: 2%;
    right: 2%;
  }
  .tod .lbl {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
.grow-static img {
  max-height: 520px;
  width: auto;
  margin: 0 auto 10px;
}
.hero.is-night .hero-mochi img {
  filter: brightness(0.86) saturate(0.92);
}
.grow-copy h2,
.grow-copy p {
  text-shadow:
    0 0 14px #e1eff8,
    0 0 28px #e1eff8,
    0 0 3px #e1eff8;
}

/* Pictures can't be dragged out, selected or long-press saved (js/guard.js does the menus). */
img,
svg,
picture,
canvas,
video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* "More to come": a little sparkle pill under collections (rooms, places, critters). */
.more-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 14px 8px 11px;
  border-radius: 999px;
  background: var(--yuzu-tint);
  color: var(--wood-lip);
  font: 800 14px/1.2 var(--body);
  box-shadow: 0 2px 0 rgba(142, 90, 51, 0.12);
}
.more-soon::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  background: url(/assets/svg/sparkle.svg) center / contain no-repeat;
}
.hero.is-night .more-soon,
.sec.night .more-soon {
  background: rgba(255, 246, 230, 0.12);
  color: var(--night-text);
}
