/* Until the fonts are in (site.js drops .loading), the content waits, so it doesn't draw in a
   stand-in font and then reflow; then it appears at once, already in place (no fade). Nothing
   transitions until it has (html.preload), so the first paint doesn't animate into place. */
html.loading .wrap,html.loading .cta-dock{visibility:hidden}
html.preload *,html.preload *::before,html.preload *::after{transition:none!important}
/* Base: the page runs edge to edge, under a phone's status bar and toolbars; only the content
   steps in from the safe areas (the brand's padding, the wrap's side gutters). */
:root{box-sizing:border-box}body{margin:0;padding:0}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}

/* Layout: one screen. The brand on the left, the app's collections on the right; a shader ground behind that changes with the word in focus. */
:root{color-scheme:light;
  --bg:#FBF8F1; --ink:#1E1B16; --ink-soft:rgba(30,27,22,.66); --on-ink:#FBF8F1;
  --paper:#FBF8F1; --dark-ink:#1E1B16;
  --pink:#FF7EB0; --blue:#2346A8; --violet:#5B3FD0; --tomato:#C2410C; --forest:#2F5D3A; --plum:#9B3BCB;
  --f-brand:'Figtree',ui-sans-serif,system-ui,sans-serif;
  --f-mono:'Space Mono',ui-monospace,Menlo,monospace;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#131210; --ink:#F3EFE6; --ink-soft:rgba(243,239,230,.66); --on-ink:#131210;
  --blue:#9DB4FF; --violet:#B9A8FF; --tomato:#FF9466; --forest:#A3D9AC; --plum:#D9A2FF;
  color-scheme:dark;
}}
:root[data-theme="dark"]{
  --bg:#131210; --ink:#F3EFE6; --ink-soft:rgba(243,239,230,.66); --on-ink:#131210;
  --blue:#9DB4FF; --violet:#B9A8FF; --tomato:#FF9466; --forest:#A3D9AC; --plum:#D9A2FF;
  color-scheme:dark;
}
html,body{min-height:100%}
/* overflow-x: clip, not hidden: hidden makes body a scroller in Safari, which stops its toolbars collapsing */
body{background:var(--bg);color:var(--ink);font-family:var(--f-brand);-webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip}
/* as tall as the screen with the browser's toolbars hidden, so collapsing them never shows a gap */
#bg{position:fixed;top:0;left:0;width:100%;height:100%;height:100lvh;display:block;z-index:-1}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.page{position:relative;z-index:1;color:var(--ink);transition:color .5s ease}
.page.dark{--ink-soft:rgba(251,248,241,.7)}
.page.dark{color:var(--paper)}
.wrap{box-sizing:border-box;max-width:1480px;margin:0 auto;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));
  display:flex;flex-direction:column;gap:24px}
@media (min-width:700px){.wrap{padding-left:max(clamp(24px,4.5vw,72px),env(safe-area-inset-left,0px));padding-right:max(clamp(24px,4.5vw,72px),env(safe-area-inset-right,0px))}}

/* Phone: brand, then the list scrolls under it. Wide: brand pinned left, list scrolls on the right. */
.brand{display:flex;flex-direction:column;gap:28px;padding-block:calc(72px + env(safe-area-inset-top,0px)) 24px}
/* From 1300px up the columns are 440px + 10vw apart. Narrower than that, the brand column
   (whose widest content is the 380px email field) and the gap tighten together, so the
   empty band between the columns doesn't swallow small windows. */
@media (min-width:900px){
  .wrap{flex-direction:row;align-items:flex-start;gap:clamp(56px,calc(10vw - max(0px,1300px - 100vw) * .2),176px)}
  .brand{flex:0 1 clamp(330px,calc(440px - max(0px,1300px - 100vw) * .29),440px);position:sticky;top:0;height:100vh;height:100dvh;box-sizing:border-box;justify-content:center;padding-block:48px}
}
.mark{display:block;width:clamp(76px,8vw,112px);height:auto}
.mark circle{transition:fill .4s ease}
h1{margin:0;font-size:clamp(64px,8.4vw,128px);font-weight:760;letter-spacing:-.05em;line-height:.92}
.muted{color:var(--ink-soft);transition:color .5s ease}
.tag{margin:0;font-size:clamp(19px,1.6vw,22px);line-height:1.4}
@media (min-width:420px){.tag{white-space:nowrap}}
.row{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:8px}
.cta{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:999px;background:var(--ink);color:var(--on-ink);font-weight:600;font-size:16px;text-decoration:none;transition:background .5s,color .5s,transform .2s}
.cta:hover{transform:translateY(-1px)}
.dark .cta{background:var(--paper);color:var(--dark-ink)}
/* Phones: a floating "Join the waitlist" once the header's button is off screen (waitlist.js
   toggles .show). It scrolls back up to the real field rather than holding one itself, since
   iOS's keyboard covers or shoves anything fixed to the bottom. */
.cta-dock{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:5;
  box-shadow:0 10px 30px -10px rgba(20,18,14,.45);opacity:0;pointer-events:none;transform:translateX(-50%);transition:opacity .25s,background .5s,color .5s}
/* fades in place: a slide on top of Safari moving fixed elements as its toolbar resizes reads as a bounce */
.cta-dock.show{opacity:1;pointer-events:auto}
/* invisible, pinned at the top, 16px so iOS doesn't zoom when it's focused */
.kbd-proxy{position:fixed;top:0;left:0;width:1px;height:1px;padding:0;border:0;opacity:0;font-size:16px;pointer-events:none}
.cta-dock:hover{transform:translateX(-50%)}
@media (min-width:900px){.cta-dock{display:none}}
.plat{font-size:15px;font-weight:500}
:focus-visible{outline:2px solid currentColor;outline-offset:6px;border-radius:8px}

/* site.js adds top padding so the first word starts on the selection line */
.list{flex:1 1 0;min-width:0;font-size:clamp(50px,7vw,116px);padding-block:8px 48vh}
.list ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.34em}
.w{position:relative;display:inline-flex;flex-wrap:nowrap;align-items:baseline;column-gap:18px;text-decoration:none;color:inherit;cursor:pointer;
  font-size:1em;line-height:1.12;-webkit-tap-highlight-color:transparent;
  transition:opacity .35s ease,filter .35s ease,transform .55s cubic-bezier(.2,.8,.2,1),font-weight .5s ease,letter-spacing .5s ease,color .4s ease}
.t{position:relative;display:inline-block;isolation:isolate}
.cap{font-family:var(--f-brand);font-style:normal;font-size:15px;font-weight:500;letter-spacing:0;text-transform:none;text-shadow:none;color:inherit;-webkit-text-fill-color:currentColor;white-space:normal;line-height:1.3;max-width:11em;flex:0 1 auto;min-width:6em;opacity:0;transform:translateX(-8px);transition:opacity .3s,transform .3s;animation:none!important}
.w.on .cap{opacity:.75;transform:none}
.list.hovering .w:not(.on){opacity:.22;filter:blur(2px)}
.w .t{max-width:100%;white-space:nowrap}
.w-own .t{white-space:normal}
.draw{position:absolute;left:-3%;width:106%;overflow:visible;pointer-events:none}
.draw path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .6s cubic-bezier(.6,0,.2,1)}
.w.on .draw path{stroke-dashoffset:0}

/* Today: a pen on a notebook */
.w-today{font-family:Caveat,cursive;font-weight:700;color:var(--blue);font-size:1.22em;line-height:.98}
.dark .w-today{color:#9DB4FF}
.dark .w-explore,.dark .w-books,.dark .w-pod{color:var(--paper)}
.w-today .draw{top:40%;height:34%}

/* Explore: wide and roomy */
.w-explore{font-family:Unbounded,var(--f-brand);font-weight:700;color:var(--violet);font-size:.86em;letter-spacing:-.02em;line-height:1.3}
.w-explore.on{letter-spacing:.12em}

/* Messages: lands in a bubble */
.w-msg{font-family:var(--f-brand);font-weight:750;letter-spacing:-.03em}
/* bubble: a rounded rect with a nearly square bottom-left corner, and a drawn tail that grows out of that corner */
.w-msg{column-gap:calc(18px + .42em)}
.w-msg .t{white-space:nowrap;max-width:none}
.w-msg .bub{position:absolute;top:-.1em;bottom:-.2em;left:-.42em;right:-.42em;z-index:-1;opacity:0;transform:scale(.7) translateY(.15em);transform-origin:0 100%;transition:opacity .3s,transform .45s cubic-bezier(.3,1.6,.5,1);pointer-events:none}
.w-msg .bub::before{content:'';position:absolute;inset:0;border-radius:.62em .62em .62em .12em;background:#2FB872}
.w-msg .bub svg{position:absolute;left:-.25em;bottom:0;width:.4em;height:.32em;display:block;overflow:visible}
.w-msg.on .t{color:#fff}
.w-msg.on .bub{opacity:1;transform:none}
.dots{display:inline-flex;align-items:center;gap:.09em;vertical-align:.14em;max-width:0;margin-left:0;opacity:0;transition:max-width .3s,margin-left .3s,opacity .3s}
.dots i{flex:none;width:.13em;height:.13em;border-radius:50%;background:currentColor;animation:typing 1.2s infinite ease-in-out}
.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
.w-msg.on .dots{max-width:.6em;margin-left:.16em;opacity:1}
@keyframes typing{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-.08em);opacity:1}}

/* Birthdays: balloons */
.w-bday{font-family:'Rubik Bubbles',var(--f-brand);color:var(--pink);text-shadow:0 3px 0 #E5528F,0 7px 0 #B93A70,0 16px 24px rgba(185,58,112,.3)}
.w-bday.on .t{animation:bob 1.7s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-9px) rotate(1.5deg)}}

/* Movies: liquid chrome (canvas) */
.w-movies{font-family:var(--f-brand);font-weight:900;letter-spacing:-.035em;font-size:1.06em}
.w-movies .t{color:#B4201A;text-shadow:0 0 0 #E8B860}
.w-movies.gl .t{color:transparent;text-shadow:none;width:3.67em;height:.74em;line-height:.74em;overflow:hidden;vertical-align:baseline}
.w-movies canvas{position:absolute;top:0;pointer-events:none;z-index:3}

/* Recipes: soft, warm serif that rises */
.w-recipe{font-family:Fraunces,Georgia,serif;font-style:italic;font-weight:480;color:var(--tomato);font-variation-settings:'SOFT' 100,'WONK' 1;letter-spacing:-.025em}
.w-recipe.on{font-weight:860;letter-spacing:.005em}
.dark .w-recipe{color:#FF9466}

/* Books: a title page */
.w-books{font-family:'Instrument Serif',Georgia,serif;font-weight:400;color:var(--forest);font-size:1.14em;letter-spacing:-.01em;line-height:1.02}
.w-books.on .t{font-style:italic}
.w-books .draw{top:88%;height:20%}

/* Groceries: a receipt */
.w-groc{font-family:var(--f-mono);font-weight:700;text-transform:uppercase;font-size:.74em;letter-spacing:-.03em;line-height:1.55}
.w-groc .t::before{content:'';position:absolute;inset:-2px -18px;background:#fff;border-top:2px dashed rgba(30,27,22,.4);border-bottom:2px dashed rgba(30,27,22,.4);box-shadow:0 14px 30px -18px rgba(30,27,22,.5);opacity:0;transform:scaleY(.5) rotate(-1deg);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1);z-index:-1}
.w-groc.on .t::before{opacity:1;transform:rotate(-1deg)}
.w-groc.on .t{color:var(--dark-ink)}

/* Podcasts: an equaliser */
.w-pod{font-family:'Bebas Neue',var(--f-brand);font-weight:400;color:var(--plum);letter-spacing:.02em;font-size:1.2em;line-height:1;text-transform:uppercase}
.w-pod .t span{display:inline-block;transform-origin:50% 85%}
.w-pod.on .t span{animation:eq .9s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.17s)}
@keyframes eq{0%{transform:scaleY(.72)}100%{transform:scaleY(1.18)}}

/* TV Shows: a CRT */
.w-tv{font-family:VT323,var(--f-mono);font-weight:400;text-transform:uppercase;font-size:1.22em;line-height:.95;letter-spacing:.01em;text-shadow:-2px 0 rgba(255,0,90,.55),2px 0 rgba(0,190,255,.55)}
.w-tv.on{color:#E9F1FF;text-shadow:-3px 0 rgba(255,40,110,.8),3px 0 rgba(40,200,255,.8),0 0 18px rgba(140,190,255,.7)}
.w-tv.on .t{animation:flick 2.6s steps(1) infinite}
@keyframes flick{0%,100%{opacity:1;transform:none}46%{opacity:.82;transform:translateX(2px)}48%{opacity:1;transform:none}83%{opacity:.9;transform:skewX(-4deg)}84%{transform:none}}

/* Your own lists: marker on masking tape */
.w-own{font-family:'Permanent Marker',cursive;font-size:.8em;line-height:1.4;transform-origin:left center}
.w-own .t::before{content:'';position:absolute;inset:.08em -.35em .02em;background:#F2E3B3;box-shadow:0 8px 18px -12px rgba(30,27,22,.5);clip-path:polygon(0 8%,3% 0,6% 10%,9% 0,100% 4%,98% 20%,100% 38%,97% 58%,100% 78%,98% 100%,8% 94%,5% 100%,2% 90%,0 100%,2% 62%,0 40%);opacity:0;transform:rotate(-2deg) scaleX(.6);transform-origin:left center;transition:opacity .3s,transform .45s cubic-bezier(.2,.8,.2,1);z-index:-1}
.w-own.on{transform:rotate(-2deg)}
.w-own.on .t::before{opacity:1;transform:rotate(-1deg)}
.w-own.on .t{color:var(--dark-ink)}

@media (max-width:520px){.w{flex-wrap:wrap}.cap{flex-basis:100%;max-width:none;font-size:14px;margin-top:.5em}}
/* Waitlist: the "Join the waitlist" pill turns into the sign-up. waitlist.js stretches the form
   out of the button's width and colour. Same 48px height as .cta. */
.wl{display:flex;align-items:center;gap:6px;box-sizing:border-box;width:min(100%,380px);height:48px;padding:3px 3px 3px 20px;border-radius:999px;
  border:1px solid color-mix(in srgb,currentColor 16%,transparent);background:color-mix(in srgb,var(--bg) 55%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);
  box-shadow:0 1px 2px rgba(30,27,22,.04),0 10px 28px -14px rgba(30,27,22,.22);transition:border-color .25s,box-shadow .25s,background .5s}
.dark .wl{background:rgba(12,10,9,.35)}
.wl:focus-within{border-color:color-mix(in srgb,currentColor 36%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,currentColor 7%,transparent),0 10px 28px -14px rgba(30,27,22,.22)}
.wl input{flex:1;min-width:0;height:40px;padding:0;border:0;background:transparent;color:inherit;caret-color:currentColor;font:500 17px var(--f-brand);outline:none}
.wl input::placeholder{color:currentColor;opacity:.4}
.wl button{flex:none;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:var(--ink);color:var(--on-ink);cursor:pointer;transition:transform .2s,opacity .25s,background .5s,color .5s}
.wl button:focus-visible{outline:none}
.wl button svg{width:20px;height:20px}
.wl button:hover{transform:translateX(2px)}
.dark .wl button{background:var(--paper);color:var(--dark-ink)}
.wl[aria-busy="true"] button{opacity:.55;cursor:default;transform:none}
.wl[aria-busy="true"] button svg{animation:wl-send 1s ease-in-out infinite}
.wl-done{display:flex;align-items:center;gap:14px;min-height:48px;font-size:16px;line-height:1.35;animation:wl-in .4s cubic-bezier(.2,.8,.2,1)}
.wl-done strong{display:block;font-weight:700}
.wl-done .muted{display:block;font-size:15px}
.wl-check{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#2F8F5B;color:#fff}
.wl-check svg{width:22px;height:22px}
.wl-msg{margin:12px 0 0;font-size:14px;font-weight:600;color:var(--tomato)}
.dark .wl-msg{color:#FF9466}
.wl-msg:empty{display:none}
.wl-note{margin:10px 0 0;max-width:380px;font-size:13px;line-height:1.5;animation:wl-fade .4s ease .2s both}
.wl-note a,.foot a{color:inherit;text-underline-offset:3px}
/* The fine print hangs below the button: on wide screens the brand column is centred,
   so anything that grew its height would shift the whole column. */
.wl-area{position:relative}
@media (min-width:900px){.wl-below{position:absolute;top:100%;left:0;width:100%}}
@keyframes wl-fade{from{opacity:0}}
@keyframes wl-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@keyframes wl-send{50%{transform:translateX(3px)}}

.foot{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:14vh;font-size:13px;font-weight:500}

/* Touch phones in portrait (keep the query in step with PHONE in site.js; mouse browsers never
   get this, at any width): the single list scrolls like any page, and a word leads only when
   tapped (site.js). */
@media (hover:none) and (pointer:coarse) and (max-width:899px) and (min-height:560px){
  /* the canvas is clipped by its own box (.bg-clip), not the page, so the page can paint above its top */
  .bg-clip{position:absolute;inset:0;overflow:clip;z-index:-1}
  /* At the very top Safari fills its status bar with the page colour (nothing above to draw), so a
     short fade from that colour into the scene joins them; it's page content, so it scrolls away
     and the scene runs under the bar. It starts with a solid block above the page, which is what
     the overscroll bounce reveals, so that matches the bar too. Same z as the canvas but later. */
  .page::after{content:'';position:absolute;top:-200px;left:0;right:0;height:264px;z-index:-1;pointer-events:none;
    background:linear-gradient(var(--scene,var(--bg)) 200px,transparent)}
  .brand{padding-block:calc(40px + env(safe-area-inset-top,0px)) 24px}
  /* Effects that reach left of their word (Messages' bubble and tail, the Groceries receipt, the
     masking tape) need room inside the screen edge. */
  .list{padding:8px 0 16vh 14px}
}
/* Full bleed on phones (verified in the iOS 26 simulator): Safari draws scrolling page content
   under its status bar and toolbar, but never a fixed layer, and any fixed element at the top
   turns the status bar into a flat block of its colour. So here the canvas is page content that
   a scroll-driven animation moves down exactly as far as the page scrolls: it holds still on
   screen, and it overhangs both ends by 80px so it fills the bars. At the very top there's no
   page above to show, so the status bar shows the page colour, which follows the scene. */
@keyframes pin{to{transform:translateY(var(--scroll-max,0px))}}
@supports (animation-timeline:scroll()){
  @media (hover:none) and (pointer:coarse) and (max-width:899px) and (min-height:560px){
    #bg{position:absolute;top:-80px;height:calc(100lvh + 160px);animation:pin linear both;animation-timeline:scroll(root)}
  }
}
/* On narrow screens captions sit under their word; Messages' bubble hangs below its word, so
   its caption drops clear of it, and the word slides in a little so the bubble's tail stays on screen. */
@media (max-width:520px){.w-msg .cap{margin-top:calc(.5em + 12px)}.w-msg.on{transform:translateX(.4em)}}
@media (prefers-reduced-motion:reduce){.cta-dock{transition:opacity .2s}.w .t,.w .t span,.dots i,.wl-note,.wl-done,.wl button svg{animation:none!important}.w,.draw path,.cap,.wl{transition:none}}
