/* pebblethepangolin.com – v1 (static). Matem Media, 2026-10-23.
   Palette and type follow the Pebble app (Theme.swift / Components.swift).
   Fonts are self-hosted (SIL OFL). No third-party requests of any kind. */

@font-face{font-family:"Fredoka";font-weight:600;font-style:normal;font-display:swap;src:url(/assets/fonts/fredoka-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito";font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/nunito-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito";font-weight:600;font-style:normal;font-display:swap;src:url(/assets/fonts/nunito-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito";font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/nunito-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito";font-weight:800;font-style:normal;font-display:swap;src:url(/assets/fonts/nunito-latin-800-normal.woff2) format("woff2")}

:root{
  --cream:#FBF1DF; --sand:#FAEBD0; --paper:#FFFDF8; --blush:#F6E4D3;
  --burrow:#F2DDBB; --burrow-deep:#EBD0A6; --stone:#EFE7DA;
  --ink:#3B2A1E; --ink-soft:#5A4536;
  --teal:#2A6E6D; --teal-deep:#1F5453; --teal-mist:#D7E9E4;
  --mustard:#E7B04A; --mustard-deep:#B98426; --mustard-pale:#F7E3B5;
  --welly:#B6382D; --welly-deep:#8E2A22; --welly-pale:#F6D3CD;
  --plum:#6B3556; --plum-deep:#4A2440; --lilac:#E9DDEA;
  --lantern:#F2C25E; --shelf:#8C5A33; --shelf-deep:#6E4426; --switch-off:#BFB2A0;
  --display:"Fredoka", ui-rounded, system-ui, sans-serif;
  --body:"Nunito", ui-rounded, system-ui, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.55;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
svg.i{width:1em;height:1em;flex:none}
h1,h2,h3,h4{font-family:var(--display);font-weight:600;margin:0;line-height:1.12;letter-spacing:-.005em;color:var(--ink)}
p{margin:0}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:6px}
.on-dark :focus-visible,.m-foot :focus-visible,.contact :focus-visible,.playlist :focus-visible,.hcard.app :focus-visible{outline-color:var(--mustard)}
.vh{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 link */
.skip{position:absolute;left:16px;top:-80px;z-index:100;background:var(--ink);color:var(--cream);font:800 16px/1 var(--body);padding:14px 18px;border-radius:12px;text-decoration:none}
.skip:focus{top:12px}

.m-in{max-width:1160px;margin:0 auto;padding:0 40px}
.m-sec{padding:72px 0}
.m-sec.flush{padding-top:0}
.bg-paper{background:var(--paper)}
.bg-sand{background:var(--sand)}
.m-eyebrow{display:inline-flex;align-items:center;gap:8px;font:800 14px/1 var(--body);letter-spacing:.02em;color:var(--ink);background:var(--mustard);border-radius:99px;padding:8px 14px}
.m-eyebrow.teal{background:var(--teal-mist);color:var(--teal-deep)}
.m-eyebrow.plum{background:var(--lilac);color:var(--plum)}
.m-eyebrow.soft{background:var(--paper);color:var(--ink-soft)}
.m-eyebrow.rose{background:var(--welly-pale)}
.m-h2{font-size:44px;line-height:1.08;margin:14px 0 12px}
.m-h2.sm{font-size:34px}
.m-lead{font-size:19px;color:var(--ink-soft);max-width:620px}
.m-center{text-align:center}
.m-center .m-lead{margin-left:auto;margin-right:auto}
.small{font-size:14px;color:var(--ink-soft)}
.mt-s{margin-top:14px}.mt-m{margin-top:22px}.mt-l{margin-top:26px}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* chunky buttons, as the app's ChunkyButtonStyle */
.m-btn{--f:var(--teal);--s:var(--teal-deep);display:inline-flex;align-items:center;justify-content:center;gap:10px;font:600 19px/1 var(--display);color:#fff;background:var(--f);box-shadow:0 6px 0 var(--s);border-radius:30px;min-height:58px;padding:0 28px;text-decoration:none;white-space:nowrap;margin-bottom:6px;transition:transform .12s ease,box-shadow .12s ease}
.m-btn:hover{transform:translateY(2px);box-shadow:0 4px 0 var(--s)}
.m-btn .i{font-size:22px}
.m-btn.red{--f:var(--welly);--s:var(--welly-deep)}
.m-btn.mus{--f:var(--mustard);--s:var(--mustard-deep);color:var(--ink)}
.m-btn.plum{--f:var(--plum);--s:var(--plum-deep)}
.m-btn.sm{min-height:46px;font-size:16px;padding:0 20px;box-shadow:0 4px 0 var(--s)}
.m-out{--c:var(--teal);display:inline-flex;align-items:center;gap:9px;font:600 16px/1 var(--display);color:var(--c);border:3px solid var(--c);border-radius:99px;padding:11px 18px;text-decoration:none;white-space:nowrap;background:transparent}
.m-out:hover{background:rgba(42,110,109,.08)}
.m-out .i{font-size:20px}
.m-out.red{--c:var(--welly)} .m-out.plum{--c:var(--plum)} .m-out.light{--c:var(--cream)}
.m-out.light:hover{background:rgba(251,241,223,.12)}
.m-tag{display:inline-flex;align-items:center;gap:6px;font:800 13px/1 var(--body);background:var(--mustard);color:var(--ink);padding:7px 12px;border-radius:99px;white-space:nowrap}
.m-tag.paper{background:var(--paper);color:var(--ink-soft)} .m-tag.plum{background:var(--plum);color:#fff} .m-tag.mist{background:var(--teal-mist);color:var(--teal-deep)}
.m-bubble{background:var(--paper);border-radius:28px;padding:14px 22px;font:600 20px/1.25 var(--display);color:var(--ink);box-shadow:0 6px 10px rgba(59,42,30,.16);display:inline-flex}

/* App Store badge – "Soon" state, not a link (Compliance A2/B6).
   At launch: replace with Apple's official badge artwork and link to the live listing only. */
.appbadge{display:inline-flex;align-items:center;gap:10px;background:#5b5650;color:#fff;border-radius:12px;padding:8px 16px 8px 12px}
.appbadge .i{font-size:26px}
.appbadge span{display:block;font:600 11px/1.1 var(--body)}
.appbadge strong{display:block;font:600 19px/1.05 var(--body);letter-spacing:-.01em}

/* header */
.m-head{display:flex;align-items:center;gap:28px;min-height:88px;padding:0 40px;background:var(--cream);position:relative;z-index:2;max-width:1440px;margin:0 auto}
.m-logo{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none}
.m-logo img{width:50px;height:50px;border-radius:16px;box-shadow:0 3px 0 var(--teal-deep)}
.m-logo span{font:600 23px/1 var(--display);color:var(--ink)}
.m-logo em{font-style:normal;color:var(--teal)}
.m-nav{display:flex;gap:4px;margin-left:auto;margin-right:6px}
.m-nav a{font:800 16px/1 var(--body);color:var(--ink-soft);text-decoration:none;padding:12px 15px;border-radius:99px}
.m-nav a:hover{color:var(--ink);background:rgba(255,253,248,.6)}
.m-nav a[aria-current="page"]{background:var(--paper);color:var(--ink);box-shadow:inset 0 -3px 0 var(--mustard)}
.m-acts{display:flex;gap:10px;align-items:center;background:var(--paper);border-radius:99px;padding:5px 5px 5px 16px;box-shadow:inset 0 0 0 2px var(--burrow)}
.m-grown{font:800 13px/1 var(--body);color:var(--ink-soft);margin-right:2px;white-space:nowrap}
.m-ib{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:#fff;text-decoration:none;flex:none}
.m-ib .i{font-size:22px}
.m-ib.yt{background:var(--welly)} .m-ib.ig{background:var(--plum)} .m-ib.tl{background:var(--teal)}

/* home hero */
.h-hero{position:relative;padding:28px 0 120px;overflow:hidden;background:radial-gradient(900px 520px at 78% 30%,var(--mustard-pale),transparent 70%),var(--cream)}
.h-hero .m-in{display:grid;grid-template-columns:1.08fr .92fr;gap:40px;align-items:center}
.h-hero h1{font-size:62px;line-height:1.04;margin:20px 0 18px}
.h-hero h1 span{color:var(--teal)}
.h-hero .m-lead{font-size:20px}
.h-ctas{display:flex;gap:16px;flex-wrap:wrap;margin:30px 0 22px}
.h-store{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.h-social{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:26px;padding-top:22px;border-top:2px dotted var(--burrow-deep)}
.h-social>p{font:800 14px/1 var(--body);color:var(--ink-soft);width:100%}
.h-art{position:relative;justify-self:center;width:470px;max-width:100%}
.arch{border-radius:999px 999px 36px 36px;overflow:hidden;border:12px solid var(--paper);box-shadow:0 24px 50px -20px rgba(59,42,30,.45);background:var(--burrow)}
.h-art .arch{height:580px}
.arch img{width:100%;height:100%;object-fit:cover;object-position:46% 50%}
.h-art .m-bubble{position:absolute;left:-70px;bottom:64px;max-width:340px}
.h-art .m-bubble::after{content:"";position:absolute;right:36px;bottom:-12px;border:12px solid transparent;border-top-color:var(--paper);border-bottom:0}
.h-sun{position:absolute;right:-24px;top:-10px;width:120px;height:120px;border-radius:50%;background:var(--lantern);box-shadow:0 0 0 14px rgba(242,194,94,.25)}
.wave{position:absolute;left:0;right:0;bottom:-1px;height:90px;width:100%;display:block}

/* promise strip */
.promise{background:var(--paper);padding-top:28px}
.promise .m-in{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.pr{display:flex;gap:14px;align-items:flex-start}
.pr .ic{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;flex:none;color:#fff}
.pr .ic .i{font-size:26px}
.pr h2{font-size:20px;line-height:1.15;margin:4px 0 4px}
.pr p{font-size:15px;color:var(--ink-soft);line-height:1.45}
.bg-mus{background:var(--mustard)!important;color:var(--ink)!important}.bg-teal{background:var(--teal)!important}.bg-red{background:var(--welly)!important}.bg-plum{background:var(--plum)!important}

/* featured video */
.feat{display:grid;grid-template-columns:1.35fr 1fr;gap:44px;align-items:center}
.thumb{display:block;position:relative;border-radius:28px;overflow:hidden;background:var(--ink);box-shadow:0 20px 40px -22px rgba(59,42,30,.6)}
.thumb img{width:100%;aspect-ratio:16/9;object-fit:cover}
.thumb.v img{aspect-ratio:9/16}
.play{position:absolute;inset:0;display:grid;place-items:center}
.play b{width:88px;height:88px;border-radius:50%;background:var(--welly);box-shadow:0 6px 0 var(--welly-deep),0 0 0 10px rgba(255,253,248,.35);display:grid;place-items:center;color:#fff}
.play b .i{font-size:38px;margin-left:5px}
.thumb.v .play b{width:54px;height:54px;box-shadow:0 4px 0 var(--welly-deep),0 0 0 7px rgba(255,253,248,.35)}
.thumb.v .play b .i{font-size:24px;margin-left:3px}
.dur{position:absolute;right:14px;bottom:14px;background:rgba(59,42,30,.86);color:#fff;font:800 13px/1 var(--body);padding:6px 9px;border-radius:9px}
.thumb .m-tag{position:absolute;left:14px;top:14px}
.feat h2{font-size:36px;line-height:1.1;margin:14px 0 12px}
.feat p{color:var(--ink-soft)}
.feat .row{margin-top:24px}

/* how it works */
.how{background:var(--sand)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;text-align:left;list-style:none;padding:0}
.step{background:var(--paper);border-radius:30px;padding:30px 28px;position:relative}
.step .n{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font:600 22px/1 var(--display);color:#fff;margin-bottom:16px}
.step h3{font-size:24px;margin-bottom:6px}
.step p{color:var(--ink-soft);font-size:16px}
.step blockquote{margin:14px 0 0;font:600 17px/1.3 var(--display);color:var(--teal)}
.how .fine{margin-top:26px;font-size:14px;color:var(--ink-soft);text-align:center}

/* meet the friends */
.friends{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:40px}
.friend{border-radius:36px;padding:34px 34px 0;display:grid;grid-template-columns:1fr 210px;gap:10px;align-items:end;overflow:hidden;min-height:400px}
.friend.peb{background:radial-gradient(circle at 80% 70%,var(--mustard-pale),var(--blush) 70%)}
.friend.oli{background:radial-gradient(circle at 80% 70%,#F3ECF4,var(--lilac) 70%)}
.friend .txt{align-self:center;padding-bottom:34px}
.friend h3{font-size:34px;margin:12px 0 8px}
.friend p{font-size:16px;color:var(--ink-soft)}
.friend blockquote{margin:16px 0 0;font:600 18px/1.3 var(--display);color:var(--ink)}
.friend img{width:100%;object-fit:contain;object-position:bottom}
.friend.peb img{height:330px}
.friend.oli img{height:248px}

/* two cards */
.home2{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.hcard{border-radius:36px;padding:36px;display:flex;gap:26px;align-items:center;overflow:hidden;position:relative}
.hcard.app{background:var(--teal);color:#fff}
.hcard.app h2,.hcard.app p{color:#fff}
.hcard.who{background:var(--paper);box-shadow:inset 0 0 0 2px var(--burrow)}
.hcard h2{font-size:30px;line-height:1.1;margin:10px 0 8px}
.hcard p{font-size:16px}
.hcard .art{flex:none;width:150px}
.hcard.app .art img{width:150px;border-radius:36px;box-shadow:0 6px 0 var(--teal-deep)}
.hcard.who .art img{width:150px;height:150px;object-fit:contain}
.hcard .m-btn,.hcard .m-out{margin-top:18px}

/* instagram band */
.igband{background:var(--lilac)}
.igband .m-in{display:grid;grid-template-columns:1fr 1.2fr;gap:44px;align-items:center}
.igtiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.igtiles img{aspect-ratio:1;object-fit:cover;border-radius:22px;width:100%}

/* footer */
.m-foot{background:var(--teal-deep);color:var(--cream);position:relative;padding:40px 0 34px;margin-top:80px}
.m-foot .wave{top:-79px;bottom:auto;height:80px}
.m-foot a{color:var(--cream);text-decoration:none}
.m-foot a:hover{text-decoration:underline}
.f-grid{display:grid;grid-template-columns:1.3fr .8fr 1.4fr 1fr;gap:36px}
.f-grid h2{font:600 17px/1 var(--display);color:var(--lantern);margin:0 0 14px}
.f-grid ul{list-style:none;margin:0;padding:0;font-weight:700;font-size:16px}
.f-grid li+li{margin-top:9px}
.f-brand .m-logo span{color:var(--cream)} .f-brand .m-logo em{color:var(--lantern)}
.f-brand .m-logo img{box-shadow:0 3px 0 rgba(0,0,0,.25)}
.f-brand p{font-size:15px;margin-top:14px;max-width:290px;color:#EFE4D0}
.f-soc{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.f-soc .m-out{--c:var(--cream);font-size:15px;padding:9px 15px}
.f-soc .m-out:hover{text-decoration:none;background:rgba(251,241,223,.12)}
.f-base{margin-top:34px;padding-top:20px;border-top:1px solid rgba(251,241,223,.18);display:flex;justify-content:space-between;gap:20px;font-size:14px;color:#EFE4D0}
.f-mail{overflow-wrap:anywhere}

/* page header (inner pages) */
.ph{padding:36px 0 70px;position:relative;overflow:hidden}
.ph .m-in{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center}
.ph h1{font-size:56px;line-height:1.05;margin:18px 0 14px}
.ph .row{margin-top:26px}

/* watch */
.w-head{background:radial-gradient(700px 400px at 85% 40%,#FCE7E3,transparent 70%),var(--cream);padding-bottom:96px}
.w-head .art{position:relative;height:300px}
.w-head .art .thumb{position:absolute;width:150px;border-radius:24px;border:6px solid var(--paper)}
.w-head .art .thumb:nth-child(1){left:20px;top:28px;transform:rotate(-6deg)}
.w-head .art .thumb:nth-child(2){left:140px;top:0;transform:rotate(3deg);z-index:2}
.w-head .art .thumb:nth-child(3){left:262px;top:34px;transform:rotate(-2deg)}
.grid6{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;max-width:900px;margin-top:26px;list-style:none;padding:0}
.vcard{text-decoration:none;display:block}
.vcard.more .thumb{aspect-ratio:9/16;background:var(--sand);box-shadow:inset 0 0 0 3px var(--burrow-deep);display:grid;place-items:center;text-align:center;padding:20px;font:600 18px/1.25 var(--display);color:var(--ink-soft)}
.vcard h3{font:600 16px/1.25 var(--display);margin:12px 2px 4px}
.vcard p{font-size:13px;color:var(--ink-soft);margin:0 2px;font-weight:700}
.vcard .thumb{border-radius:22px}
.longrow{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:22px}
.lcard{background:var(--paper);border-radius:30px;padding:16px 16px 22px;text-decoration:none;display:block}
.bg-paper .lcard{background:var(--cream)}
.lcard .thumb{border-radius:20px}
.lcard h3{font-size:24px;margin:16px 6px 6px}
.lcard p{font-size:15px;color:var(--ink-soft);margin:0 6px}
.lcard .muted img{filter:saturate(.8)}
.playlist{background:var(--teal-deep);border-radius:40px;padding:44px;display:grid;grid-template-columns:420px 1fr;gap:44px;color:var(--cream);position:relative;overflow:hidden}
.playlist h2{color:var(--cream)}
.playlist p{color:#EFE4D0}
.pl-stack{position:relative;padding:18px 18px 0 0;align-self:start}
.pl-stack::before{content:"";position:absolute;border-radius:24px;inset:0 0 18px 18px;background:var(--teal)}
.pl-stack .thumb{position:relative;z-index:2;border-radius:24px}
.pl-list{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:10px}
.pl-list a{display:flex;gap:14px;align-items:center;background:rgba(255,253,248,.08);border-radius:18px;padding:8px 14px 8px 8px;text-decoration:none;color:var(--cream)}
.pl-list a:hover{background:rgba(255,253,248,.14)}
.pl-list img{width:84px;height:48px;object-fit:cover;border-radius:12px;flex:none}
.pl-list .vt img{object-position:50% 30%}
.pl-list b{font:600 16px/1.2 var(--display);display:block}
.pl-list .t{display:block}
.pl-list .k{display:block;font-size:13px;font-weight:700;color:#E3EEEA}
.pl-list em{margin-left:auto;font:800 13px/1 var(--body);font-style:normal;color:#E3EEEA}
.note-card{display:flex;gap:18px;align-items:flex-start;background:var(--teal-mist);border-radius:32px;padding:34px}
.note-card h2{font-size:22px;margin-bottom:6px}
.note-card p{color:var(--ink-soft)}

/* app page */
.a-head{background:radial-gradient(800px 460px at 80% 40%,var(--teal-mist),transparent 70%),var(--cream)}
.a-head .m-in{grid-template-columns:1fr 1fr}
.a-head .icon{width:96px;height:96px;border-radius:26px;box-shadow:0 5px 0 var(--teal-deep)}
.a-head .who{display:flex;gap:18px;align-items:center}
.a-head .who b{font:600 26px/1.1 var(--display);display:block}
.a-head .who span{font-weight:700;color:var(--ink-soft);font-size:15px}
.ipad{background:#2A211B;border-radius:42px;padding:16px;box-shadow:0 30px 60px -28px rgba(59,42,30,.6);position:relative}
.ipad::before{content:"";position:absolute;left:7px;top:50%;width:4px;height:4px;border-radius:50%;background:#4a3d33;transform:translateY(-50%)}
.scr{aspect-ratio:1194/834;border-radius:24px;overflow:hidden;position:relative;container-type:inline-size;background:var(--cream)}
.scr>img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.scr .back{position:absolute;left:2.7cqw;top:2.4cqw;display:flex;align-items:center;gap:.7cqw;background:var(--paper);border-radius:99px;padding:1.2cqw 1.9cqw 1.2cqw 1.4cqw;font:800 1.5cqw/1 var(--body);box-shadow:0 .5cqw 1cqw rgba(59,42,30,.14);z-index:3}
.scr .back .i{width:1.5cqw;height:1.5cqw}
.scr .ttl{position:absolute;left:19cqw;top:2.6cqw;font:600 3.9cqw/1 var(--display);z-index:3}
.scr .bub{position:absolute;font:600 2cqw/1.2 var(--display);background:var(--paper);border-radius:2.4cqw;padding:1.3cqw 2cqw;box-shadow:0 .6cqw 1cqw rgba(59,42,30,.18);display:flex;align-items:center;gap:1.2cqw;z-index:3}
.scr .bub i{width:4cqw;height:4cqw;border-radius:50%;background:var(--teal-mist);color:var(--teal);display:grid;place-items:center;flex:none}
.scr .bub i .i{width:1.8cqw;height:1.8cqw}
.scr .bub.top{left:50%;top:5cqw;transform:translateX(-50%);white-space:nowrap}
.scr .bub.br{right:4cqw;bottom:3.5cqw}
.scr .cbtn{position:absolute;bottom:4.5cqw;display:flex;align-items:center;justify-content:center;gap:1cqw;font:600 3cqw/1 var(--display);color:#fff;border-radius:2.6cqw;padding:0 3.2cqw;height:7cqw;z-index:3}
.scr .cbtn.t{background:var(--teal);box-shadow:0 .55cqw 0 var(--teal-deep);left:6cqw}
.scr .cbtn.r{background:var(--welly);box-shadow:0 .55cqw 0 var(--welly-deep);right:6cqw}
.scr .gate{position:absolute;right:2.7cqw;top:2.4cqw;font:800 1.4cqw/1 var(--body);background:rgba(255,253,248,.85);border-radius:99px;padding:1cqw 1.6cqw;display:flex;gap:.6cqw;align-items:center;z-index:3}
.scr .gate .i{width:1.6cqw;height:1.6cqw}
.scr .dots{display:flex;gap:1cqw}
.scr .dots i{width:1.6cqw;height:1.6cqw;border-radius:50%;border:.2cqw solid var(--teal)}
.scr .dots i.f{background:var(--teal)}
.scr.breathe{background:radial-gradient(circle at 50% 52%,#FFF4D6 0,var(--sand) 38%,var(--burrow) 100%)}
.scr.breathe .glow{position:absolute;left:50%;top:50%;width:30cqw;height:30cqw;transform:translate(-50%,-48%);border-radius:50%;background:radial-gradient(circle,rgba(242,194,94,.95) 0,rgba(242,194,94,.45) 45%,rgba(242,194,94,0) 70%)}
.scr.breathe .lantern{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:12cqw;height:18cqw}
.scr.breathe .word{position:absolute;left:0;right:0;bottom:12.5cqw;text-align:center;font:600 4.4cqw/1 var(--display);color:var(--ink)}
.scr.breathe .dots{position:absolute;left:50%;bottom:7cqw;transform:translateX(-50%)}
.scr.breathe .peb{position:absolute;right:5cqw;bottom:0;height:34cqw;width:auto}
.scr.lib{background:var(--burrow)}
.scr.lib .shelf{position:absolute;left:5cqw;right:5cqw}
.scr.lib .shelf.s1{top:13cqw}.scr.lib .shelf.s2{top:39cqw}
.scr.lib .shelf b.h{font:800 1.6cqw/1 var(--body);margin:0 0 1.2cqw;color:var(--shelf-deep);display:flex;gap:1cqw;align-items:center}
.scr.lib .shelf b.h .m-tag{font-size:1.3cqw;padding:.6cqw 1cqw}
.scr.lib .books{display:flex;gap:1.8cqw;align-items:flex-end;padding:0 2cqw}
.scr.lib .bk{width:13.4cqw;height:15cqw;border-radius:1.8cqw;padding:1.4cqw;font:600 1.75cqw/1.15 var(--display);color:#fff;display:flex;flex-direction:column;justify-content:space-between}
.scr.lib .bk small{font:800 1.1cqw/1 var(--body);opacity:.85;letter-spacing:.04em;text-transform:uppercase}
.scr.lib .bk.t{background:var(--teal);box-shadow:0 .55cqw 0 var(--teal-deep)}
.scr.lib .bk.m{background:var(--mustard);box-shadow:0 .55cqw 0 var(--mustard-deep);color:var(--ink)}
.scr.lib .bk.r{background:var(--welly);box-shadow:0 .55cqw 0 var(--welly-deep)}
.scr.lib .bk.p{background:var(--plum);box-shadow:0 .55cqw 0 var(--plum-deep)}
.scr.lib .plank{height:1.6cqw;background:var(--shelf);border-radius:.6cqw;box-shadow:0 .6cqw 0 var(--shelf-deep);margin-top:1.4cqw}
.scr.lib .ghost{opacity:.5}
.scr.lib .ghost .bk{background:var(--burrow-deep);box-shadow:0 .55cqw 0 #D9BB8C;color:var(--shelf-deep)}
.feat-app{display:grid;grid-template-columns:1.3fr 1fr;gap:56px;align-items:center}
.feat-app.flip{grid-template-columns:1fr 1.3fr}
.feat-app.flip .dev{order:2}
.feat-app h2{font-size:42px;margin:14px 0 12px}
.feat-app p{color:var(--ink-soft)}
.feat-app p+p{margin-top:10px}
.feat-app ul:not(.poses){margin:18px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.feat-app ul:not(.poses) li{display:flex;gap:10px;align-items:flex-start;font-weight:700}
.feat-app li .i{color:var(--teal);font-size:22px;margin-top:2px}
.poses{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:22px 0 0;padding:0;list-style:none}
.poses figure{margin:0;text-align:center}
.poses img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:18px}
.poses figcaption{font:600 13px/1.2 var(--display);margin-top:7px}
.bedtime{border-radius:40px;overflow:hidden;position:relative;min-height:340px;display:flex;align-items:flex-end;background:#1b2836}
.bedtime img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.5) saturate(.8) hue-rotate(-8deg)}
.bedtime .txt{position:relative;padding:44px;max-width:620px;color:var(--cream)}
.bedtime h2{color:var(--cream);font-size:42px;margin:14px 0 10px}
.promises{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:36px;text-align:left}
.pcard{background:var(--paper);border-radius:28px;padding:24px}
.pcard .ic{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:#fff;margin-bottom:14px}
.pcard .ic .i{font-size:24px}
.pcard h3{font-size:20px;line-height:1.2;margin-bottom:6px}
.pcard p{font-size:15px;color:var(--ink-soft)}

/* grown-ups */
.b-head{background:radial-gradient(800px 460px at 75% 50%,var(--mustard-pale),transparent 70%),var(--cream)}
.duo{display:flex;align-items:flex-end;justify-content:center;height:360px;position:relative}
.duo::after{content:"";position:absolute;left:8%;right:8%;bottom:-6px;height:26px;border-radius:50%;background:rgba(59,42,30,.1);z-index:0}
.duo img{position:relative;z-index:1;width:auto}
.duo .p{height:340px}
.duo .o{height:255px;margin-left:-18px}
.ab-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.ab{background:var(--paper);border-radius:32px;padding:34px}
.ab.cream{background:var(--cream)}
.ab h2{font-size:32px;margin:12px 0 12px}
.ab p{color:var(--ink-soft)}
.ab p+p{margin-top:12px}
.ab.ai{background:var(--lilac)}
.ab.ai blockquote{margin:18px 0 0;background:var(--paper);border-radius:20px;padding:16px 20px;font:600 18px/1.3 var(--display)}
.checks{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px}
.checks li{display:flex;gap:12px;align-items:flex-start;font-weight:700;font-size:16px}
.checks li .ck{width:28px;height:28px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;flex:none}
.checks li .ck .i{font-size:16px}
.checks li span.d{font-weight:600;color:var(--ink-soft);display:block;font-size:15px}
.faq{display:grid;gap:12px;margin-top:30px}
.faq details{background:var(--paper);border-radius:22px;padding:20px 24px}
.faq summary{font:600 19px/1.3 var(--display);list-style:none;display:flex;justify-content:space-between;gap:12px;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font:600 24px/1 var(--display);color:var(--teal)}
.faq details[open] summary::after{content:"–"}
.faq details p{margin-top:10px;color:var(--ink-soft);font-size:16px}
.contact{background:var(--teal);border-radius:40px;padding:44px;color:#fff;display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center}
.contact h2{color:#fff;font-size:40px;margin:12px 0 10px}
.contact .mail{font:600 26px/1.2 var(--display);color:var(--mustard-pale);text-decoration:none;display:inline-block;margin-top:8px;word-break:break-word}
.contact .mail:hover{text-decoration:underline}
.contact .links{display:flex;flex-direction:column;gap:12px;align-items:flex-start}

/* text pages: support, privacy, 404 */
.doc{max-width:780px;margin:0 auto;padding:0 40px}
.doc h1{font-size:52px;line-height:1.05;margin:18px 0 14px}
.doc h2{font-size:28px;margin:38px 0 10px}
.doc h3{font-size:21px;margin:24px 0 6px}
.doc p,.doc li{color:var(--ink-soft)}
.doc p+p{margin-top:12px}
.doc ul{padding-left:22px;margin:10px 0 0}
.doc li+li{margin-top:6px}
.doc a:not(.m-btn):not(.m-out){color:var(--teal-deep);font-weight:700}
.doc .card{background:var(--paper);border-radius:28px;padding:28px;margin-top:26px}
.doc .card h2:first-child{margin-top:0}
.doc .card.teal{background:var(--teal-mist)}
.doc .meta{font-size:15px;color:var(--ink-soft)}
.doc .slot{background:var(--mustard-pale);border:2px dashed var(--mustard-deep);border-radius:12px;padding:2px 8px;font-weight:800;color:var(--ink)}
.doc-head{padding:36px 0 40px}
.lost{text-align:center;padding:40px 0 20px}
.lost img{width:220px;margin:0 auto 10px}
.lost .row{justify-content:center;margin-top:26px}

/* ====== tablet ====== */
@media (max-width:1100px){
  .m-grown{display:none}
  .m-acts{padding:5px}
  .m-head{gap:16px}
  .h-hero h1{font-size:50px}
  .h-art{width:400px}
  .h-art .arch{height:500px}
  .h-art .m-bubble{left:-30px}
  .promise .m-in{grid-template-columns:1fr 1fr;gap:26px}
  .f-grid{grid-template-columns:1fr 1fr}
  .playlist{grid-template-columns:1fr}
  .pl-stack{max-width:480px}
  .friend{grid-template-columns:1fr 160px}
  .friend.peb img{height:260px}.friend.oli img{height:195px}
  .promises{grid-template-columns:1fr 1fr}
  .hcard{flex-direction:column;align-items:flex-start}
}
@media (max-width:900px){
  .m-head{flex-wrap:wrap;padding:12px 24px 6px;min-height:0;gap:8px 12px}
  .m-acts{margin-left:auto}
  .m-nav{order:3;width:100%;margin:0}
  .h-hero .m-in,.ph .m-in,.a-head .m-in,.feat,.feat-app,.feat-app.flip,.igband .m-in,.ab-grid,.contact,.friends,.home2,.longrow{grid-template-columns:1fr}
  .feat-app.flip .dev{order:0}
  .h-art{order:-1}
  .w-head .art{order:-1;max-width:430px}
  .duo{order:-1}
  .steps{grid-template-columns:1fr}
}

/* ====== phone (matches the 390 mock-ups) ====== */
@media (max-width:700px){
  body{font-size:17px}
  .m-in{padding:0 20px}
  .doc{padding:0 20px}
  .m-sec{padding:48px 0}
  .m-sec.flush{padding-top:0}
  .m-h2{font-size:31px}
  .m-h2.sm{font-size:28px}
  .m-lead{font-size:17px}
  .m-head{min-height:0;padding:12px 16px 6px;gap:8px 10px;flex-wrap:wrap}
  .m-logo img{width:40px;height:40px;border-radius:13px}
  .m-logo span{font-size:19px}
  .m-acts{display:none}
  .m-nav{justify-content:space-between;gap:2px}
  .m-head{padding:12px 16px 6px}
  .m-nav a{font-size:15px;padding:10px 11px}
  .m-btn{width:100%;min-height:56px}
  .h-hero{padding:8px 0 80px}
  .h-hero .m-in{gap:26px}
  .h-hero h1{font-size:38px;margin:14px 0 12px}
  .h-hero .m-lead{font-size:17px}
  .h-ctas{flex-direction:column;gap:12px;margin:22px 0 18px}
  .h-art{width:290px;margin-top:8px}
  .h-art .arch{height:330px;border-width:9px}
  .h-art .m-bubble{left:-14px;bottom:26px;font-size:16px;padding:10px 14px;max-width:210px}
  .h-sun{width:76px;height:76px;right:-16px}
  .h-social{gap:10px}
  .wave{height:50px}
  .promise .m-in{grid-template-columns:1fr 1fr;gap:22px 14px}
  .pr{flex-direction:column;gap:10px}
  .pr .ic{width:44px;height:44px;border-radius:14px}
  .pr h2{font-size:17px;margin:0}
  .pr p{font-size:15px}
  .feat{gap:20px}
  .feat h2{font-size:28px}
  .play b{width:64px;height:64px}
  .play b .i{font-size:28px}
  .steps{gap:14px;margin-top:26px}
  .step{padding:22px;border-radius:24px;display:grid;grid-template-columns:46px 1fr;gap:0 16px}
  .step .n{margin:0;grid-row:span 3}
  .step h3{font-size:21px}
  .friends{gap:18px;margin-top:26px}
  .friend{grid-template-columns:1fr 120px;padding:24px 22px 0;min-height:0;border-radius:28px}
  .friend .txt{padding-bottom:24px}
  .friend h3{font-size:26px}
  .friend p{font-size:15px}
  .friend blockquote{font-size:16px}
  .friend.peb img{height:190px}
  .friend.oli img{height:143px}
  .home2{gap:18px}
  .hcard{padding:26px;border-radius:28px;gap:14px}
  .hcard .art{width:96px}
  .hcard.app .art img{width:96px;border-radius:24px}
  .hcard.who .art img{width:110px;height:120px}
  .hcard h2{font-size:25px}
  .igband .m-in{gap:24px}
  .igtiles{gap:8px}
  .igtiles img{border-radius:14px}
  .m-foot{margin-top:50px;padding:24px 0 28px}
  .m-foot .wave{top:-49px;height:50px}
  .f-grid{grid-template-columns:.7fr 1.3fr;gap:28px 14px}
  .f-mail{font-size:14px}
  .f-grid ul{font-size:15px}
  .f-brand,.f-follow{grid-column:span 2}
  .f-soc{flex-direction:row;flex-wrap:wrap}
  .f-base{flex-direction:column;gap:8px;font-size:14px}
  .ph{padding:16px 0 44px}
  .ph .m-in{gap:20px}
  .ph h1{font-size:38px}
  .ph .row{flex-direction:column;gap:12px;align-items:stretch}
  .w-head .art{height:210px}
  .w-head{padding-bottom:56px}
  .w-head .art .thumb{width:108px;border-radius:18px;border-width:4px}
  .w-head .art .thumb:nth-child(1){left:14px;top:20px}
  .w-head .art .thumb:nth-child(2){left:116px;top:0}
  .w-head .art .thumb:nth-child(3){left:218px;top:24px}
  .grid6{grid-template-columns:1fr 1fr;gap:14px}
  .longrow{gap:18px}
  .lcard h3{font-size:21px}
  .playlist{padding:24px;border-radius:30px;gap:22px}
  .pl-list em{display:none}
  .pl-list img{width:70px;height:42px}
  .pl-list b{font-size:15px}
  .note-card{padding:24px;border-radius:26px}
  .a-head .icon{width:72px;height:72px;border-radius:20px}
  .a-head .who b{font-size:21px}
  .ipad{border-radius:22px;padding:8px}
  .scr{border-radius:14px}
  .feat-app{gap:24px}
  .feat-app h2{font-size:30px}
  .poses{gap:6px}
  .poses img{border-radius:10px}
  .poses figcaption{font-size:11px}
  .bedtime{min-height:300px;border-radius:28px}
  .bedtime .txt{padding:26px}
  .bedtime h2{font-size:30px}
  .promises{gap:12px;margin-top:24px}
  .pcard{padding:18px;border-radius:22px}
  .pcard .ic{width:40px;height:40px;border-radius:13px}
  .pcard h3{font-size:17px}
  .pcard p{font-size:15px}
  .duo{height:230px}
  .duo .p{height:220px}
  .duo .o{height:165px}
  .ab-grid{gap:18px}
  .ab{padding:24px;border-radius:26px}
  .ab h2{font-size:26px}
  .contact{padding:28px;border-radius:30px}
  .contact h2{font-size:30px}
  .contact .mail{font-size:20px}
  .doc h1{font-size:38px}
  .doc h2{font-size:24px}
  .doc .card{padding:22px;border-radius:22px}
}
@media (max-width:360px){
  .m-nav a{padding:10px 7px;font-size:14px}
  .promise .m-in{grid-template-columns:1fr}
}

/* Respect reduced motion */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .m-btn:hover{transform:none}
}
@media print{
  .m-head .m-acts,.wave,.skip{display:none}
  .m-foot{background:none;color:var(--ink)}
  .m-foot a{color:var(--ink)}
}
