/* PiCloud landing: bento tiles (thick outlines, hard shadows, springy pops) x kawaii (pastels, faces, sparkles). */
:root {
  --bg: #fff4e6;
  --ink: #1c1433;
  --line: #1c1433;
  --soft: #6d5a8a;
  --dot: #1c14331a;
  --tink: #1c1433;            /* text on the pastel tiles: always dark */
  --pink: #ff8fc9; --lilac: #c9b5ff; --mint: #8ff0c4; --lemon: #ffe27a; --sky: #a9d4ff; --coral: #ff9a9a;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 28px;
  --maxw: 1180px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #251b57;
  --ink: #fff3fb;
  --line: #0d0824;
  --soft: #bdb2e6;
  --dot: #ffffff14;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; max-width: 100%; }
html.intro-on, html.intro-on body { overflow: hidden; height: 100%; }
body {
  margin: 0; min-height: 100svh; background: var(--bg); color: var(--ink);
  font-family: 'Nunito', 'Varela Round', 'Arial Rounded MT Bold', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700; line-height: 1.45; overflow-x: clip; max-width: 100%; transition: background .5s var(--ease), color .5s;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.icon { width: 1em; height: 1em; font-size: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
:focus-visible { outline: 4px solid var(--pink); outline-offset: 3px; border-radius: 14px; }

/* ---------- Backdrop ---------- */
.bgdots { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(var(--dot) 2.4px, transparent 2.9px); background-size: 28px 28px; }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: multiply; 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .05; }
main, .foot { position: relative; z-index: 1; }

.scrollbar { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 9px; background: color-mix(in srgb, var(--bg) 70%, transparent); border-bottom: 3px solid var(--line); }
.scrollbar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: repeating-linear-gradient(90deg, var(--pink) 0 18px, var(--lemon) 18px 36px, var(--mint) 36px 54px, var(--sky) 54px 72px); }
.scrollbar svg { position: absolute; top: -9px; left: 0; width: 30px; height: 19px; color: #fff; filter: drop-shadow(0 2px 0 var(--line)); transform: translateX(-50%); }

/* ---------- Buttons & pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 3px solid var(--line); border-radius: 999px; background: var(--lemon); color: var(--tink); font-weight: 900; font-size: 14px; letter-spacing: .2px; box-shadow: 3px 3px 0 var(--line); }
.pill--pink { background: var(--pink); } .pill--lilac { background: var(--lilac); } .pill--mint { background: var(--mint); }
.btn { --bgc: var(--pink); display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 3px solid var(--line); border-radius: 999px; background: var(--bgc); color: var(--tink); font-weight: 900; font-size: 16px; box-shadow: 5px 5px 0 var(--line); transition: transform .25s var(--spring), box-shadow .25s var(--spring); }
.btn:hover { transform: translate(-3px, -4px) rotate(-1.5deg); box-shadow: 9px 10px 0 var(--line); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--line); transition-duration: .08s; }
.btn .icon { font-size: 22px; transition: transform .3s var(--spring); }
.btn:hover .icon { transform: translate(3px, -3px) rotate(8deg); }
.btn--sm { padding: 8px 16px; font-size: 14px; box-shadow: 4px 4px 0 var(--line); }
.btn--big { padding: 16px 30px; font-size: 19px; }
.btn--ghost { --bgc: #fff; }
.btn--white { --bgc: #fff; }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 70; top: 20px; left: 50%; transform: translateX(-50%); width: min(960px, calc(100vw - 24px)); display: flex; align-items: center; gap: 14px; padding: 9px 12px 9px 14px; border: 3px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, #fff 18%); backdrop-filter: blur(10px); box-shadow: 5px 5px 0 var(--line); transition: transform .5s var(--spring), background .5s; }
.nav.hide { transform: translate(-50%, -140px); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -.5px; font-weight: 900; margin-right: auto; }
.nav__logo span span { color: var(--pink); }
.nav__badge { display: grid; place-items: center; width: 36px; height: 36px; border: 3px solid var(--line); border-radius: 12px; background: var(--sky); color: var(--tink); transition: transform .4s var(--spring); }
.nav__logo:hover .nav__badge { transform: rotate(-12deg) scale(1.12); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 7px 13px; border-radius: 999px; font-weight: 900; font-size: 14px; transition: background .2s, transform .25s var(--spring); }
.nav__links a:hover { background: var(--lemon); color: var(--tink); transform: translateY(-2px) rotate(-2deg); }
.nav__theme { display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--line); border-radius: 50%; background: #fff; color: var(--tink); transition: transform .4s var(--spring); }
.nav__theme:hover { transform: rotate(25deg) scale(1.12); }
.icon--moon { display: none; } [data-theme="dark"] .icon--sun { display: none; } [data-theme="dark"] .icon--moon { display: inline-block; }
@media (max-width: 700px) { .nav__links { display: none; } .nav { top: 14px; } }

/* ---------- Intro splash ---------- */
#intro { position: fixed; inset: 0; z-index: 200; background: #5865f2; display: grid; place-items: center; overflow: hidden; animation: failsafe .01s 12s forwards; --ix: 50%; --iy: 44%; }
[data-theme="dark"] #intro { background: #4752c4; }
@keyframes failsafe { to { visibility: hidden; pointer-events: none; } }
.intro__dots { position: absolute; inset: -20%; background-image: radial-gradient(#fff9 3px, transparent 3.5px); background-size: 34px 34px; animation: dotsDrift 8s linear infinite; }
[data-theme="dark"] .intro__dots { background-image: radial-gradient(#ffffff22 3px, transparent 3.5px); }
@keyframes dotsDrift { to { transform: translate(34px, 34px); } }
.intro__stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; text-align: center; }
.intro__mascot { width: min(46vw, 230px); animation: introPop .9s var(--spring) both; }
.intro__mascot .mascot__svg { animation: hop .8s var(--ease) .9s infinite; transform-origin: 50% 100%; }
@keyframes introPop { from { transform: scale(0) rotate(-25deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1.02, .96); } 45% { transform: translateY(-34px) scale(.96, 1.05); } 80% { transform: translateY(0) scale(1.06, .92); } }
.intro__word { display: flex; font-size: clamp(44px, 12vw, 78px); font-weight: 900; letter-spacing: -2px; line-height: 1; }
.intro__word i { font-style: normal; display: inline-block; color: #fff; -webkit-text-stroke: 3px var(--line); paint-order: stroke fill; text-shadow: 3px 4px 0 var(--line); animation: letterIn .6s var(--spring) both; animation-delay: calc(.35s + var(--i) * 70ms); }
@keyframes letterIn { from { transform: translateY(70px) scale(.3) rotate(18deg); opacity: 0; } }
.intro__bar { position: relative; width: min(70vw, 340px); height: 26px; border: 3px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 4px 4px 0 var(--line); overflow: hidden; animation: introPop .6s var(--spring) .6s both; }
.intro__bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: repeating-linear-gradient(135deg, var(--pink) 0 14px, #ffb3dc 14px 28px); background-size: 40px 100%; animation: barMove .6s linear infinite; }
@keyframes barMove { to { background-position: 40px 0; } }
.intro__bar b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--tink); font-weight: 900; }
.intro__msg { font-weight: 900; font-size: 15px; color: var(--tink); opacity: .75; min-height: 1.4em; }
[data-theme="dark"] .intro__msg { color: #fff; }
.intro__skip { position: absolute; right: 18px; bottom: 18px; padding: 6px 14px; border: 3px solid var(--line); border-radius: 999px; background: #fff; color: var(--tink); font-weight: 900; font-size: 13px; box-shadow: 3px 3px 0 var(--line); }
#intro.out { animation: irisOut .95s cubic-bezier(.7, 0, .2, 1) forwards; }
#intro.out .intro__stage { animation: stageOut .5s var(--ease) forwards; }
@keyframes irisOut { 0% { clip-path: circle(150% at var(--ix) var(--iy)); } 100% { clip-path: circle(0% at var(--ix) var(--iy)); } }
@keyframes stageOut { to { transform: scale(.7); opacity: 0; } }
.reduced #intro { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px 20px 90px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.hero__word { display: flex; justify-content: center; font-size: clamp(64px, 17.5vw, 220px); line-height: .95; letter-spacing: -.045em; font-weight: 900; margin: 6px 0 4px; user-select: none; }
.hero__word i { font-style: normal; display: inline-block; color: var(--c); -webkit-text-stroke: .045em var(--line); paint-order: stroke fill; text-shadow: .045em .06em 0 var(--line); transition: transform .35s var(--spring); cursor: default; will-change: transform; }
.hero__word i:hover, .hero__word i.jump { animation: jump .55s var(--spring); }
@keyframes jump { 0% { transform: translateY(0); } 35% { transform: translateY(-.28em) rotate(-8deg) scale(1.1, 1.14); } 100% { transform: translateY(0); } }
.hero__sub { max-width: 560px; margin-top: 12px; font-size: clamp(16px, 2.4vw, 21px); color: var(--soft); }
.hero__sub b { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 22px; }
.hero__scroll { position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 900; color: var(--soft); }
.hero__scroll i { width: 24px; height: 38px; border: 3px solid var(--line); border-radius: 14px; position: relative; background: #fff; }
.hero__scroll i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 6px; height: 9px; margin-left: -3px; border-radius: 4px; background: var(--pink); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Mascot */
.mascot { position: relative; width: clamp(170px, 26vw, 270px); margin-top: 4px; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.mascot__svg { display: block; width: 100%; height: auto; overflow: visible; }
.mascot .float { animation: bobFloat 4.2s ease-in-out infinite; }
@keyframes bobFloat { 50% { transform: translateY(-12px); } }
.mascot .shadow { transform-origin: center; animation: shadowPulse 4.2s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: scale(.82); opacity: .5; } }
.mascot.squish .m-squish { animation: squish .6s var(--spring); transform-origin: 50% 90%; }
@keyframes squish { 0% { transform: scale(1); } 25% { transform: scale(1.18, .78); } 55% { transform: scale(.9, 1.16); } 100% { transform: scale(1); } }
.mascot .say { position: absolute; left: 62%; top: -14px; padding: 8px 14px; border: 3px solid var(--line); border-radius: 18px 18px 18px 4px; background: #fff; color: var(--tink); font-weight: 900; font-size: 15px; white-space: nowrap; box-shadow: 3px 3px 0 var(--line); pointer-events: none; animation: say 1.6s var(--spring) forwards; z-index: 3; }
@keyframes say { 0% { transform: scale(0) rotate(-10deg); opacity: 0; } 15% { transform: scale(1.1) rotate(3deg); opacity: 1; } 25% { transform: scale(1); } 80% { opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }
.m-eyes > g { display: none; }
[data-mood="normal"] .e-round, [data-mood="happy"] .e-happy, [data-mood="sleepy"] .e-sleepy, [data-mood="star"] .e-star { display: block; }
.m-mouth > * { display: none; }
[data-mood="normal"] .mo-smile, [data-mood="happy"] .mo-big, [data-mood="sleepy"] .mo-o, [data-mood="star"] .mo-big { display: block; }
.e-round .eye { animation: blink 5.5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.e-star use { transform-box: fill-box; transform-origin: center; animation: twinkle 1s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.72) rotate(18deg); } }
.m-cheek { animation: cheek 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes cheek { 50% { transform: scale(1.18); opacity: .95; } }

/* Doodles */
.doodles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.doodle { position: absolute; will-change: transform; }
.doodle svg { display: block; width: 100%; height: 100%; animation: floaty var(--dur, 6s) ease-in-out var(--del, 0s) infinite; }
.doodle.spin svg { animation: spinny var(--dur, 12s) linear infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--rot0, -6deg)); } 50% { transform: translateY(-16px) rotate(var(--rot1, 8deg)); } }
@keyframes spinny { to { transform: rotate(360deg); } }
.js:not(.ready) .doodle svg { opacity: 0; }
.ready .doodle { animation: doodleIn .8s var(--spring) both; animation-delay: calc(.9s + var(--n) * 70ms); }
@keyframes doodleIn { from { opacity: 0; scale: 0; } }

/* Hero entrance */
.js:not(.ready) .hero__word i, .js:not(.ready) .rv-hero, .js:not(.ready) .mascot { opacity: 0; }
.ready .hero__word i { animation: wordIn .9s var(--spring) both; animation-delay: calc(.15s + var(--i) * 90ms); }
@keyframes wordIn { from { transform: translateY(160px) rotate(var(--rr, 14deg)) scale(.4); opacity: 0; } }
.ready .mascot { animation: mascotIn 1s var(--spring) .55s both; }
@keyframes mascotIn { from { transform: translateY(80px) scale(.2) rotate(-20deg); opacity: 0; } }
.ready .rv-hero { animation: fadeUp .8s var(--spring) both; animation-delay: calc(.7s + var(--k, 0) * 110ms); }
@keyframes fadeUp { from { transform: translateY(40px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 3; width: 112vw; margin: -34px -6vw 30px; padding: 14px 0; background: var(--lemon); color: var(--tink); border-block: 4px solid var(--line); transform: rotate(-2.2deg); overflow: hidden; box-shadow: 0 8px 0 var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(22px, 3.6vw, 34px); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.marquee__item svg { width: 30px; height: 30px; color: var(--pink); }
.marquee__item svg:nth-of-type(even) { color: #fff; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 90px 20px 40px; max-width: var(--maxw); margin: 0 auto; }
.sec__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 46px; }
.sec__head h2 { font-size: clamp(34px, 6.4vw, 66px); line-height: 1.02; letter-spacing: -.03em; font-weight: 900; }
.sec__head p { color: var(--soft); font-size: 18px; max-width: 460px; }
.wig { display: inline-block; animation: wig 1.4s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes wig { 50% { transform: rotate(14deg) translateY(4px); } }

/* Reveal on scroll */
.js .rv { opacity: 0; transform: translateY(70px) scale(.86) rotate(var(--rv, 0deg)); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .8s var(--spring); transition-delay: var(--d, 0s); }
.js .tile.rv.in { transition: opacity .5s var(--ease) var(--d, 0s), transform .8s var(--spring) var(--d, 0s), box-shadow .3s var(--spring); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(176px, auto); gap: 20px; }
.t-drive { grid-column: 1 / 4; grid-row: 1 / 3; }
.t-spoti { grid-column: 4 / 7; grid-row: 1; }
.t-rsd { grid-column: 4 / 6; grid-row: 2; }
.t-pear { grid-column: 6; grid-row: 2; }
.t-lem { grid-column: 1 / 3; grid-row: 3; }
.t-soon { grid-column: 1 / 3; grid-row: 4; }
.t-watch { grid-column: 3 / 7; grid-row: 3 / 5; }

.tile { --tx: 0deg; --ty: 0deg; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 3px solid var(--line); border-radius: var(--r); background: var(--c, #fff); color: var(--tink); overflow: hidden; box-shadow: 6px 6px 0 var(--line); transform: perspective(900px) rotateX(var(--ty)) rotateY(var(--tx)); transition: transform .35s var(--spring), box-shadow .3s var(--spring); text-align: left; isolation: isolate; }
button.tile { font: inherit; width: 100%; }
a.tile:hover, a.tile:focus-visible, button.tile:hover { transform: perspective(900px) rotateX(var(--ty)) rotateY(var(--tx)) translateY(-9px) scale(1.025); box-shadow: 0 0 0 5px var(--line), 12px 20px 0 5px var(--line); z-index: 5; }
a.tile:active { transform: translateY(2px) scale(.98); box-shadow: 3px 3px 0 var(--line); transition-duration: .08s; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--mx, 30%) var(--my, 0%), #ffffff90, transparent 55%); opacity: 0; transition: opacity .3s; }
.tile:hover::after { opacity: 1; }
.tile__txt { position: relative; z-index: 2; max-width: 92%; }
.tile h3 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.04em; line-height: .95; }
.tile p { margin-top: 8px; font-size: 14.5px; font-weight: 800; opacity: .72; line-height: 1.35; }
.chip { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border: 3px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 3px 3px 0 var(--line); }
.chip .icon { font-size: 24px; }
.tile:hover .chip { animation: wiggle .6s ease; }
@keyframes wiggle { 20% { transform: rotate(-14deg) scale(1.1); } 50% { transform: rotate(12deg) scale(1.1); } 80% { transform: rotate(-6deg); } }
.tile__go { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid var(--line); border-radius: 50%; background: #fff; transition: transform .45s var(--spring), background .2s; }
.tile:hover .tile__go { transform: rotate(45deg) scale(1.12); background: var(--lemon); }
.tile__live { position: absolute; top: 16px; right: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border: 2.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 900; }
.tile__live i { width: 10px; height: 10px; border-radius: 50%; background: #b8b4c8; border: 2px solid var(--line); }
.tile__live em { font-style: normal; }
.tile__live[data-state="up"] i { background: #3ddc97; animation: ping 1.8s ease-out infinite; }
.tile__live[data-state="down"] i { background: #ff9a9a; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #3ddc9799; } 100% { box-shadow: 0 0 0 9px #3ddc9700; } }
.tile__art { position: absolute; z-index: 1; pointer-events: none; }
[data-face] { position: absolute; display: block; }
[data-face] svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Face stickers */
.face__cheek { animation: cheek 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.face .eye { animation: blink 6s infinite; transform-box: fill-box; transform-origin: center; }

/* Per-tile art */
.art-drive { right: 12px; top: 28px; width: 62%; height: 58%; }
.art-drive__cloud { z-index: 1; position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; animation: bobFloat 5s ease-in-out infinite; }
.art-drive [data-face] { z-index: 2; left: 30%; top: 34%; width: 40%; animation: bobFloat 5s ease-in-out infinite; }
.file { position: absolute; width: 30px; height: 38px; bottom: -34px; border: 3px solid var(--line); border-radius: 7px; background: #fff; animation: fileUp 3.6s var(--ease) infinite; opacity: 0; z-index: 0; }
.file::before { content: ''; position: absolute; left: 5px; right: 5px; top: 8px; height: 3px; border-radius: 2px; background: var(--line); box-shadow: 0 8px 0 var(--line), 0 16px 0 var(--line); opacity: .45; }
.f1 { left: 14%; background: #ffe27a; } .f2 { left: 44%; animation-delay: 1.2s; background: #ffb3dc; } .f3 { left: 72%; animation-delay: 2.4s; background: #a8f0cf; }
@keyframes fileUp { 0% { transform: translateY(0) rotate(-8deg) scale(.8); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(-96px) rotate(8deg) scale(1); opacity: 1; } 100% { transform: translateY(-130px) rotate(0) scale(.4); opacity: 0; } }
.t-drive .tile__txt { margin-top: auto; padding-top: 140px; }

.art-eq { right: 22px; top: 24px; width: 50%; height: 56%; display: flex; align-items: flex-end; gap: 7px; }
.art-eq i { flex: 1; height: 100%; border: 3px solid var(--line); border-radius: 8px; background: #fff; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.17s); }
.art-eq i:nth-child(odd) { background: #fff9c7; }
.art-eq i:nth-child(1) { --k: 1; } .art-eq i:nth-child(2) { --k: 4; } .art-eq i:nth-child(3) { --k: 2; } .art-eq i:nth-child(4) { --k: 6; } .art-eq i:nth-child(5) { --k: 3; } .art-eq i:nth-child(6) { --k: 5; } .art-eq i:nth-child(7) { --k: 0; }
@keyframes eq { 0%, 100% { transform: scaleY(.28); } 50% { transform: scaleY(1); } }
.art-eq__note { position: absolute; right: -6px; top: -16px; width: 36px; height: 36px; color: var(--pink); animation: noteBob 1.8s ease-in-out infinite; }
@keyframes noteBob { 50% { transform: translateY(-10px) rotate(14deg); } }
.t-spoti .tile__txt, .t-rsd .tile__txt { max-width: 56%; }
.t-spoti .tile__live, .t-rsd .tile__live { top: auto; bottom: 18px; right: 74px; }

.art-code { right: 16px; top: 18px; width: 46%; height: 52%; border: 3px solid var(--line); border-radius: 14px; background: #fff; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.art-code b { font-size: 15px; font-weight: 900; color: var(--coral); line-height: 1; }
.art-code i { display: block; height: 7px; border-radius: 4px; background: var(--line); opacity: .8; width: 0; animation: typeLine 3.2s var(--ease) infinite; }
.art-code i:nth-of-type(2) { animation-delay: .5s; background: #ff7f7f; } .art-code i:nth-of-type(3) { animation-delay: 1s; background: #8a90ff; }
.art-code u { width: 7px; height: 12px; background: var(--line); animation: caret .8s steps(1) infinite; }
@keyframes typeLine { 0% { width: 0; } 40%, 85% { width: 90%; } 100% { width: 90%; opacity: .2; } }
@keyframes caret { 50% { opacity: 0; } }
.t-rsd .tile__txt h3 { font-size: clamp(26px, 3.2vw, 38px); }
.t-pear h3 { font-size: clamp(22px, 2.3vw, 28px); letter-spacing: -.05em; }
.t-pear .tile__go { right: auto; left: 12px; top: 12px; bottom: auto; }

.art-pear { right: 14px; top: 14px; width: 54%; animation: wobble 3.6s ease-in-out infinite; transform-origin: 50% 90%; }
.art-pear > svg { display: block; width: 100%; height: auto; color: #fff; }
.art-pear [data-face] { left: 24%; top: 46%; width: 52%; }
@keyframes wobble { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.t-pear .tile__txt p { font-size: 12px; margin-top: 4px; } .t-pear { padding: 16px; } .t-pear .tile__go { width: 34px; height: 34px; }
.t-pear .tile__live { display: none; }

.art-lem { right: 16px; top: 18px; width: 40%; }
.art-lem > svg { display: block; width: 100%; height: auto; color: #fff7b0; animation: wobble 4.2s ease-in-out infinite; transform-origin: 50% 80%; }
.art-lem [data-face] { left: 28%; top: 34%; width: 44%; }
.art-lem > .hi { position: absolute; right: -4px; top: -10px; padding: 3px 10px; border: 2.5px solid var(--line); border-radius: 14px 14px 14px 3px; background: #fff; font-size: 12px; font-weight: 900; animation: hello 3.4s var(--spring) infinite; transform-origin: 0 100%; }
@keyframes hello { 0%, 15% { transform: scale(0); } 25%, 80% { transform: scale(1); } 90%, 100% { transform: scale(0); } }
.t-lem .tile__txt { max-width: 58%; } .t-lem h3 { font-size: clamp(26px, 3.2vw, 38px); } .t-lem p { font-size: 13px; }
.t-lem .tile__live { top: auto; bottom: 18px; right: 70px; }

.art-watch { inset: 22px 22px auto 22px; height: 52%; }
.screen { position: relative; width: 100%; height: 100%; border: 3px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #6fb4ff, #b393ff); overflow: hidden; display: grid; place-items: center; }
.screen .play { display: grid; place-items: center; width: 62px; height: 62px; border: 3px solid var(--line); border-radius: 50%; background: #fff; animation: playPulse 2s ease-in-out infinite; }
.screen .play .icon { font-size: 28px; margin-left: 3px; fill: var(--line); }
@keyframes playPulse { 50% { transform: scale(1.14); } }
.scrub { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 10px; border: 2.5px solid var(--line); border-radius: 99px; background: #fff; overflow: hidden; }
.scrub i { display: block; height: 100%; background: var(--pink); width: 100%; transform-origin: 0 50%; animation: scrubGo 6s linear infinite; }
@keyframes scrubGo { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.px { position: absolute; width: 14px; height: 14px; background: #fff; border: 2.5px solid var(--line); border-radius: 4px; animation: px 3.2s ease-in-out infinite; }
.p1 { left: 12%; top: 18%; } .p2 { right: 14%; top: 26%; animation-delay: -1s; border-radius: 50%; background: var(--lemon); } .p3 { left: 26%; bottom: 32%; animation-delay: -2s; background: var(--mint); }
@keyframes px { 50% { transform: translateY(-12px) rotate(60deg); } }
.t-watch .tile__txt { margin-top: auto; padding-top: 56px; }
.t-watch .tile__live { top: 34px; right: 34px; }

.t-soon { background: transparent; border-style: dashed; box-shadow: none; --c: transparent; }
.t-soon::before { content: ''; position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(135deg, #ffffff40 0 12px, transparent 12px 24px); }
.t-soon .tile__txt { color: var(--ink); }
.art-soon { right: 20px; top: 18px; width: 30%; }
.t-soon h3 { font-size: clamp(24px, 3vw, 32px); }
.art-soon [data-face-sleep] { display: block; width: 100%; animation: bobFloat 3.6s ease-in-out infinite; }
.art-soon i { position: absolute; right: -4px; font-style: normal; font-weight: 900; font-size: 22px; color: var(--ink); animation: zzz 2.8s ease-in-out infinite; }
.art-soon i:nth-of-type(1) { top: -6px; } .art-soon i:nth-of-type(2) { top: -22px; right: -18px; font-size: 16px; animation-delay: .6s; } .art-soon i:nth-of-type(3) { top: -34px; right: -30px; font-size: 12px; animation-delay: 1.2s; }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 8px) scale(.6); } 40%, 70% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -14px) scale(1.2); } }
.t-soon p { color: var(--soft); opacity: 1; }

/* Second bento */
.bento--b { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); }
.b-pi { grid-column: 1 / 4; grid-row: 1 / 3; }
.b-live { grid-column: 4 / 7; grid-row: 1; }
.b-key { grid-column: 4 / 6; grid-row: 2; }
.b-heart { grid-column: 6; grid-row: 2; }
.b-theme { grid-column: 1 / 7; grid-row: 3; flex-direction: row; align-items: center; justify-content: flex-start; gap: 22px; min-height: 150px; }
.art-pi { left: 24px; right: 24px; top: 24px; }
.art-pi svg { display: block; width: min(100%, 320px); margin: 0 auto; animation: wobble 5s ease-in-out infinite; }
.pi-led circle { animation: led 1s steps(1) infinite; } .pi-led circle:last-child { animation-delay: .35s; }
@keyframes led { 50% { opacity: .15; } }
.b-pi .tile__txt { margin-top: auto; padding-top: 190px; }
.b-live .live__num { display: flex; align-items: baseline; gap: 6px; font-size: clamp(60px, 9vw, 96px); font-weight: 900; line-height: .85; letter-spacing: -.06em; }
.b-live .live__num > span { font-size: .38em; letter-spacing: 0; opacity: .6; }
.b-live .live__num > span span { font-size: 1em; }
.live__num b { display: inline-block; -webkit-text-stroke: 3px var(--line); paint-order: stroke fill; color: #fff; text-shadow: 4px 5px 0 var(--line); }
.b-live { justify-content: space-between; }
.live__pips { position: absolute; right: 18px; top: 18px; display: flex; gap: 6px; }
.live__pips i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); background: #cfc9e6; transition: background .4s, transform .4s var(--spring); }
.live__pips i.up { background: #3ddc97; animation: pipPop .6s var(--spring) both; animation-delay: calc(var(--n) * 90ms); }
.live__pips i.down { background: #ff9a9a; }
@keyframes pipPop { from { transform: scale(0); } }
.b-key__icon { position: absolute; right: 16px; top: 14px; width: 64px; height: 64px; fill: none; stroke: var(--line); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: keyJig 3s ease-in-out infinite; transform-origin: 30% 70%; }
@keyframes keyJig { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-18deg); } 86% { transform: rotate(14deg); } 94% { transform: rotate(-8deg); } }
.b-key .tile__txt, .b-heart .tile__txt { max-width: 100%; }
.b-key h3 { max-width: 72%; }
.b-heart h3 { font-size: clamp(22px, 2.4vw, 30px); }
.b-heart { padding: 18px; } .b-key h3, .b-heart h3, .b-theme h3 { font-size: clamp(24px, 3vw, 34px); }
.b-heart__h { position: absolute; right: 12px; top: 10px; width: 48px; height: 48px; color: #fff; animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.14); } }
.b-theme { cursor: pointer; }
.b-theme__orb { flex: none; display: grid; place-items: center; width: 92px; height: 92px; border: 3px solid var(--line); border-radius: 50%; background: #fff; box-shadow: 4px 4px 0 var(--line); transition: transform .6s var(--spring); }
.b-theme__orb .icon { font-size: 46px; }
.b-theme:hover .b-theme__orb { transform: rotate(180deg) scale(1.1); }
.b-theme .tile__txt { max-width: none; }

/* ---------- Scroll story ---------- */
.story { position: relative; height: 400vh; margin-top: 60px; --p: 0; }
.story__stick { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; max-width: var(--maxw); margin: 0 auto; padding: 90px 24px 30px; }
.story__bubbles { position: absolute; inset: 0; pointer-events: none; }
.sbub { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 62px; height: 62px; border: 3px solid var(--line); border-radius: 50%; background: var(--c); color: var(--tink); box-shadow: 4px 4px 0 var(--line); will-change: transform; }
.sbub .icon { font-size: 28px; }
.story__mascot { position: relative; justify-self: center; width: min(88%, 430px); transition: transform .7s var(--spring); }
.story__mascot .mascot__svg { filter: drop-shadow(0 14px 0 #0000); }
.story__mascot[data-mood="happy"] { transform: scale(1.06) rotate(-3deg); }
.story__mascot[data-mood="star"] { transform: scale(1.12) rotate(3deg); }
.zzz { position: absolute; right: 8%; top: -2%; font-weight: 900; font-size: 34px; color: var(--soft); opacity: 0; transition: opacity .4s; pointer-events: none; }
.story__mascot[data-mood="sleepy"] .zzz { opacity: 1; animation: zzzf 2.6s ease-in-out infinite; }
@keyframes zzzf { 50% { transform: translate(10px, -16px) scale(1.2); } }
.story__copy { position: relative; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.story__steps { display: grid; width: 100%; }
.story__step { grid-area: 1 / 1; opacity: 0; transform: translateY(40px) scale(.95); pointer-events: none; transition: opacity .35s, transform .7s var(--spring); }
.story__step.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.story__step.past { transform: translateY(-40px) scale(.95); }
.story__step h2 { font-size: clamp(40px, 7vw, 82px); line-height: .95; letter-spacing: -.045em; font-weight: 900; }
.story__step p { margin-top: 16px; font-size: clamp(16px, 2vw, 21px); color: var(--soft); max-width: 440px; }
.story__dots { display: flex; gap: 10px; }
.story__dots i { width: 16px; height: 16px; border: 3px solid var(--line); border-radius: 50%; background: #fff; transition: width .4s var(--spring), background .3s; }
.story__dots i.on { width: 46px; border-radius: 99px; background: var(--pink); }
@media (max-width: 800px) {
  .story__stick { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; padding-top: 80px; gap: 6px; }
  .story__mascot { width: min(58vw, 250px); }
  .story__copy { align-items: center; text-align: center; }
  .story__step p { margin-inline: auto; }
  .story__dots { justify-content: center; }
}

/* ---------- CTA ---------- */
.cta { position: relative; padding: 120px 20px 70px; display: grid; place-items: center; }
.cta__card { position: relative; width: min(900px, 100%); padding: 100px 28px 56px; border: 4px solid var(--line); border-radius: 44px; background: linear-gradient(160deg, #ffb3dc, #c9b5ff 55%, #a9d4ff); color: var(--tink); text-align: center; box-shadow: 10px 12px 0 var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; overflow: visible; }
.cta__card h2 { font-size: clamp(42px, 8vw, 88px); line-height: .92; letter-spacing: -.05em; font-weight: 900; }
.cta__card p { font-size: 19px; opacity: .8; margin-bottom: 14px; }
.cta__mascot { position: absolute; top: -92px; left: 50%; width: 170px; transform: translateX(-50%); }
.cta__card::before, .cta__card::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 4px solid var(--line); background: var(--lemon); z-index: -1; }
.cta__card::before { left: -34px; bottom: 60px; } .cta__card::after { right: -30px; top: 80px; width: 64px; height: 64px; background: var(--mint); }

/* ---------- Footer ---------- */
.foot { position: relative; padding: 30px 20px 18px; overflow: hidden; }
.foot__big { text-align: center; font-size: clamp(80px, 24vw, 330px); line-height: .78; letter-spacing: -.06em; font-weight: 900; background: linear-gradient(90deg, var(--sky), var(--lilac), var(--pink), var(--lemon), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .02em var(--line); margin-bottom: -.06em; user-select: none; will-change: transform; padding-bottom: .12em; }
.foot__row { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; max-width: var(--maxw); margin: 0 auto; padding: 14px 18px; border: 3px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--bg) 70%, #fff 30%); font-size: 14px; font-weight: 900; box-shadow: 5px 5px 0 var(--line); }
.foot__heart { width: 20px; height: 20px; vertical-align: -4px; color: var(--pink); animation: beat 1.2s ease-in-out infinite; }
.foot__top { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 3px solid var(--line); border-radius: 999px; background: var(--lemon); color: var(--tink); font-weight: 900; font-size: 13px; box-shadow: 3px 3px 0 var(--line); transition: transform .3s var(--spring); }
.foot__top:hover { transform: translateY(-4px) rotate(-3deg); }

/* ---------- Particles & toast ---------- */
.burst { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.spark { position: absolute; left: 0; top: 0; width: 22px; height: 22px; will-change: transform, opacity; }
.spark svg { width: 100%; height: 100%; display: block; }
.toast { position: fixed; z-index: 96; left: 50%; bottom: 26px; transform: translate(-50%, 140px); padding: 12px 22px; border: 3px solid var(--line); border-radius: 999px; background: #fff; color: var(--tink); font-weight: 900; box-shadow: 5px 5px 0 var(--line); transition: transform .5s var(--spring); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); }

/* App launch iris */
.iris { position: fixed; inset: 0; z-index: 150; pointer-events: none; clip-path: circle(0 at var(--ix) var(--iy)); animation: irisIn .75s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes irisIn { to { clip-path: circle(150% at var(--ix) var(--iy)); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .bento, .bento--b { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(170px, auto); gap: 16px; }
  .bento > .tile { grid-column: auto !important; grid-row: auto !important; }
  .bento > .t-drive, .bento > .t-watch, .bento > .t-spoti, .bento > .b-pi, .bento > .b-live, .bento > .b-theme, .bento > .t-soon { grid-column: 1 / -1 !important; }
  .t-drive { min-height: 380px; } .t-watch { min-height: 360px; } .b-pi { min-height: 380px; }
  .t-spoti { min-height: 210px; }
  .t-rsd, .t-lem { min-height: 230px; }
  .t-rsd .tile__txt, .t-lem .tile__txt { max-width: 100%; }
  .t-rsd .tile__live, .t-lem .tile__live { display: none; }
  .t-pear .tile__txt { max-width: 100%; }
  .art-code { width: 60%; } .art-lem { width: 56%; }
  .marquee { margin-top: -10px; }
}
@media (max-width: 520px) {
  .sec { padding-top: 70px; }
  .tile { padding: 18px; }
  .t-rsd h3, .t-lem h3, .t-pear h3 { font-size: 26px; }
  .b-theme { flex-direction: column; align-items: flex-start; }
  .bento > .b-key, .bento > .b-heart { grid-column: 1 / -1 !important; }
  .foot__row { justify-content: center; text-align: center; }
}

@media (hover: none) { a.tile:hover { transform: none; box-shadow: 6px 6px 0 var(--line); } .tile::after { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
.reduced .file { opacity: 0; }

.mo-big { transform: translateY(5px); }

.foot__made small { font-size: 12px; opacity: .7; font-weight: 800; }
