/* sliiice landing page. Same bones as sliiime's: Fredoka headings, short sections, soft colour bands. */
@font-face{font-family:Fredoka;src:url('assets/fredoka-600.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--ink:#3b2430;--soft:#7a5f6a;--paper:#fffaf4;--melon:#ec4a64;--melon-deep:#c9344f;--blush:#fde7ea;--mint:#dcf2e6;--kiwi:#3f8a4f;--butter:#fff1cc;--bezel:#2f2a30}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.5 system-ui,-apple-system,sans-serif}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3,.pill,.wordmark{font-family:Fredoka,ui-rounded,system-ui;font-weight:600}
h1,h2,h3{line-height:1.04;letter-spacing:-.035em}
a{color:inherit}
img,video{display:block;max-width:100%;height:auto}
a,button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:4px solid var(--melon);outline-offset:6px;border-radius:6px}
button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
.wrap{width:min(1180px,calc(100% - 72px));margin:auto}
.skip{position:absolute;left:20px;top:-100px;z-index:10;background:#fff;padding:12px}
.skip:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Sea-glass pill: the app's glass buttons, flattened for the web. */
.pill{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border-radius:100px;text-decoration:none;color:#fff;font-size:18px;background:linear-gradient(180deg,#f7677d,var(--melon) 55%,#de3d58);box-shadow:inset 0 2px 0 #ffffff6b,inset 0 -3px 0 #8f1f3433,0 5px 0 #c9344f26,0 10px 22px #ec4a6426;transition:transform .18s}
.pill:hover{transform:translateY(-3px)}
.pill:active{transform:scale(.95)}

/* Header and wordmark */
header{height:108px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.brand img{width:46px;height:46px;border-radius:12px;box-shadow:0 3px 8px #3b243022}
.wordmark{font-size:38px;line-height:1;letter-spacing:-.04em;color:var(--melon)}
.header-right{display:flex;gap:24px;align-items:center}
.header-right>span{font-size:14px;color:var(--soft)}

/* Hero: the real game on a phone, a few fruit friends waiting beside it. */
.hero{text-align:center;overflow:hidden;padding-bottom:54px}
.hero h1{font-size:clamp(60px,8.4vw,112px);letter-spacing:-.055em;margin-top:22px}
.hero h1 span{color:var(--melon)}
.hero .sub{font-size:22px;color:var(--soft);margin-top:16px}
.hero-stage{position:relative;width:min(900px,100%);margin:44px auto 0}
.hero-fruit{position:absolute;width:150px;border-radius:50%;box-shadow:0 14px 0 #ec4a6412,0 18px 34px #3b243022;border:6px solid #fff}
.hero-fruit.f1{left:4%;top:9%;transform:rotate(-8deg)}
.hero-fruit.f2{left:11%;top:58%;width:126px;transform:rotate(7deg)}
.hero-fruit.f3{right:5%;top:15%;width:132px;transform:rotate(9deg)}
.hero-fruit.f4{right:10%;top:62%;transform:rotate(-6deg)}
.scrolly{display:inline-block;font-size:35px;color:#e7899a;padding:28px 12px 0;text-decoration:none}

/* Phone frame shared by the video and the screenshots. Screen ratio is the capture's (1320 × 2868). */
.phone{position:relative;margin:0 auto;width:300px;padding:10px;border-radius:50px;background:var(--bezel);border:1px solid #4e4850;box-shadow:12px 18px 0 #ec4a6414,0 28px 50px #3b243030}
.phone-screen{position:relative;aspect-ratio:1320/2868;border-radius:40px;overflow:hidden;background:#f3e3cf}
.phone-screen video,.phone-screen img{width:100%;height:100%;object-fit:cover}
.phone-screen:after{content:"";position:absolute;top:11px;left:50%;width:31%;height:26px;margin-left:-15.5%;border-radius:20px;background:#0d0b0e}
.video-toggle{position:absolute;right:14px;bottom:16px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffffb0;border-radius:50%;background:#fffd;color:var(--ink);box-shadow:0 3px 10px #3b243026;font-size:16px;line-height:1}
.video-toggle[hidden]{display:none}
.phone-caption{font-size:12px;color:var(--soft);margin-top:26px}

/* Section heads */
.section-head{text-align:center;margin-bottom:40px}
.section-head h2{font-size:clamp(46px,6vw,78px)}
.section-head p{margin:14px auto 0;color:var(--soft);font-size:20px;max-width:34ch}

/* Eight fruits */
.friends{padding:76px 0 84px;background:var(--blush);border-radius:58px 58px 0 0}
.fruit-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
.fruit-grid li{text-align:center}
.fruit-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;border:6px solid #fff;box-shadow:0 10px 0 #ec4a6414,0 14px 26px #3b24301c}
.fruit-grid h3{font-size:27px;margin-top:14px}

/* Tools */
.tools{padding:84px 0 88px;background:var(--mint)}
.tools .section-head p{color:#4f6d5c}
.tool-row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;align-items:start}
.tool-row li{text-align:center}
.tool-row .phone{width:min(270px,100%);box-shadow:10px 16px 0 #3f8a4f1c,0 24px 40px #3b243026}
.tool-row li:nth-child(1) .phone{transform:rotate(-2deg)}
.tool-row li:nth-child(3) .phone{transform:rotate(2deg)}
.tool-row h3{font-size:31px;margin-top:34px}
.tool-row p{color:#4f6d5c;font-size:18px;margin:8px auto 0;max-width:24ch}

/* Shake */
.shake{padding:84px 0 88px;background:var(--butter);overflow:hidden}
.shake-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:56px;align-items:center;max-width:1060px;margin:auto}
.shake-copy h2{font-size:clamp(54px,6.4vw,86px)}
.shake-copy h2 span{color:#e07b1f}
.shake-copy p{font-size:20px;color:#7d6640;margin-top:22px;max-width:30ch}
.board-list{list-style:none;padding:0;margin:30px 0 0;display:flex;flex-wrap:wrap;gap:8px;max-width:420px}
.board-list li{font-size:14px;color:#6c5838;background:#fff8e4;border:1px solid #f1dfb1;border-radius:24px;padding:6px 14px}
.board-note{font-size:14px;color:#7d6640;margin-top:12px}
.shake-phones{display:flex;justify-content:center;gap:28px}
.shake-phones .phone{width:250px;margin:0;box-shadow:10px 16px 0 #e07b1f1c,0 24px 40px #3b243026}
.shake-phones .phone:first-child{transform:rotate(-3deg) translateY(18px)}
.shake-phones .phone:last-child{transform:rotate(3deg)}

/* Footer */
footer{padding:35px 0 44px}
.footer-top{display:flex;justify-content:space-between;align-items:center;gap:24px}
.footer-top>p{font-size:13px;color:var(--soft)}

@media(max-width:900px){
  .wrap{width:calc(100% - 44px)}
  header{height:92px}
  .hero-stage{width:100%}
  .hero-fruit{width:118px}
  .hero-fruit.f1{left:0}.hero-fruit.f2{left:3%;width:100px}.hero-fruit.f3{right:0;width:104px}.hero-fruit.f4{right:2%}
  .phone{width:270px}
  .fruit-grid{gap:20px}
  .fruit-grid h3{font-size:24px}
  .tool-row{gap:24px}
  .tool-row h3{font-size:26px}
  .shake-grid{grid-template-columns:1fr;gap:40px;text-align:center}
  .shake-copy p,.board-list{margin-left:auto;margin-right:auto}
  .board-list{justify-content:center}
}
@media(max-width:700px){
  .tool-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;margin:0 -22px;padding:6px 22px 18px;scrollbar-width:none}
  .tool-row::-webkit-scrollbar{display:none}
  .tool-row li{flex:0 0 72%;scroll-snap-align:center}
  .tool-row li .phone{transform:none!important}
}
@media(max-width:600px){
  .wrap{width:calc(100% - 36px)}
  header{height:80px}
  .brand img{width:38px;height:38px;border-radius:10px}
  .wordmark{font-size:31px}
  .header-right>span{display:none}
  .pill{font-size:15px;padding:10px 17px;min-height:44px}
  .hero h1{font-size:clamp(46px,12.5vw,66px);margin-top:20px}
  .hero .sub{font-size:18px;padding:0 10px}
  .hero-stage{margin-top:34px}
  .hero-fruit{width:84px;border-width:4px}
  .hero-fruit.f1{left:-3%;top:6%}.hero-fruit.f2{left:-1%;top:62%;width:72px}.hero-fruit.f3{right:-3%;top:12%;width:76px}.hero-fruit.f4{right:-2%;top:66%}
  .phone{width:min(232px,62vw);padding:8px;border-radius:40px}
  .phone-screen{border-radius:32px}
  .phone-screen:after{top:8px;height:20px}
  .friends{padding:48px 0 52px;border-radius:32px 32px 0 0}
  .section-head{margin-bottom:28px}
  .section-head h2{font-size:46px}
  .section-head p{font-size:17px}
  .fruit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}
  .fruit-grid img{border-width:4px}
  .fruit-grid h3{font-size:22px;margin-top:10px}
  .tools,.shake{padding:50px 0 54px}
  .tool-row h3{font-size:25px;margin-top:24px}
  .tool-row p{font-size:16px}
  .shake-copy h2{font-size:clamp(44px,12vw,60px)}
  .shake-copy p{font-size:18px;margin-top:16px}
  .shake-phones{gap:14px}
  .shake-phones .phone{width:44%;max-width:200px}
  .footer-top>p{font-size:11px}
}

/* One gentle entrance per item; content stays visible until the observer is ready. */
[data-reveal].reveal-ready.is-revealed{transition:opacity .72s cubic-bezier(.22,1,.36,1),translate .72s cubic-bezier(.22,1,.36,1)}
[data-reveal].reveal-ready:not(.is-revealed){opacity:0;translate:0 18px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.pill:hover{transform:none}[data-reveal].reveal-ready:not(.is-revealed){opacity:1;translate:none}}
.phone-screen.has-island:after{display:none} /* the screen recording already shows the Dynamic Island */
