/* Tuckle launch site. The margin of your own notebook: a paper-white page, ink type in SF Pro,
   real things cut out like stickers, doodles and coral notes in the margins. Shantell Sans is for
   handwriting: a person's own words and notes in the margin. Two fonts, no more.
   Pen marks follow the design system: coral, drawn once, pointing at one thing, never a border. */

@font-face { font-family: "Shantell"; src: url("fonts/shantell.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #141414; --ink2: #555451; --ink3: #6E6C68; --grey: #8F8D88; --rule: #E7E4DE; --sunk: #F4F2EE; --paper: #FCFBF9;
  --yellow: #FFE14D; --coral: #FF6B4A; --pale: #FFF1A6;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --hand: "Shantell", "Comic Neue", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);
  --bar: 64px;
  /* One type scale. Sans: lead 18, body 16, small 14, micro 11, step titles 21.
     Handwriting: notes and labels 18, highlighter chips 14, the no-list 22, signature 26. */
  --lead: 18px; --body: 16px; --small: 14px; --micro: 11px; --head: 21px;
  --h-note: 18px; --h-chip: 14px; --h-list: 22px; --h-sig: 26px;
  /* The one gradient: a soft coral-to-yellow light, used in three places and always moving slowly */
  --glow: radial-gradient(50% 50% at 50% 50%, rgba(255,107,74,.17) 0%, rgba(255,160,90,.12) 30%, rgba(255,225,77,.10) 52%, rgba(255,225,77,0) 78%);
}

* { box-sizing: border-box; }
/* Past the middle of the page the canvas turns ink, so the bounce under the footer isn't white */
html.low { background: var(--ink); }
/* No rubber-band bounce past the top or bottom, so nothing white shows under the footer */
html, body { overscroll-behavior-y: none; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.center { text-align: center; }

/* The two-line headline */
.two { margin: 0; letter-spacing: -.045em; }
.two > span { display: block; text-wrap: balance; }
.two > span:first-child { color: var(--grey); font-weight: 500; }
.two > span:last-child { color: var(--ink); font-weight: 800; }
h1.two { font-size: clamp(40px, min(5.2vw, 9vh), 76px); line-height: 1.02; }
h2.two { font-size: clamp(32px, min(4vw, 7.4vh), 54px); line-height: 1.05; }
.sub, .lede, .phones p { text-wrap: balance; }
.sub { margin: 18px auto 0; max-width: 520px; font-size: var(--lead); line-height: 1.5; color: var(--ink2); }
.small { margin: 14px 0 0; font-size: var(--small); color: var(--ink3); }

/* Notes in the margin: coral handwriting with a little pen arrow */
.aside { position: absolute; z-index: 3; font: 500 var(--h-note)/1.25 var(--hand); font-style: normal; color: var(--coral); letter-spacing: 0; white-space: nowrap; pointer-events: none; }
.aside svg { position: absolute; overflow: visible; fill: none; stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.aside svg path { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .5s .5s var(--ease); }
.is-in .aside svg path, .is-in.aside svg path, .aside.on svg path { stroke-dashoffset: 0; }

/* The coral underline under one word, drawn once */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark > svg { position: absolute; left: -1%; width: 102%; bottom: -.16em; height: .2em; overflow: visible; }
.mark > svg path { fill: none; stroke: var(--coral); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw .6s 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.a-hero { left: 96%; top: -.55em; transform: rotate(6deg); opacity: 0; animation: fade .5s 1.5s forwards; }
.a-hero svg { width: 44px; height: 30px; left: -42px; top: 16px; }
.a-hero svg path { stroke-dashoffset: 0; }
@keyframes fade { to { opacity: 1; } }

/* Buttons: one family. They lift when you hover and press down when you click. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 16px; border: 0; cursor: pointer; text-decoration: none; font-size: var(--body); font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); transition-duration: .06s; }
.btn:focus-visible { outline: 2.5px solid var(--coral); outline-offset: 3px; }
.btn-store { background: var(--ink); color: #fff; padding: 0 22px 0 18px; box-shadow: 0 3px 0 #000, 0 8px 20px rgba(20,20,20,.16); text-align: left; }
.btn-store:hover { box-shadow: 0 5px 0 #000, 0 14px 28px rgba(20,20,20,.2); }
.btn-store:active { box-shadow: 0 1px 0 #000, 0 4px 10px rgba(20,20,20,.14); }
.btn-store span { display: flex; flex-direction: column; font-size: 20px; line-height: 1.05; letter-spacing: -.025em; }
.btn-store small { font-size: var(--micro); font-weight: 500; letter-spacing: 0; opacity: .8; margin-bottom: 1px; }
.apple { width: 21px; height: 25px; fill: currentColor; flex: none; margin-top: -3px; }
.btn-store.sm::before { content: ""; position: absolute; inset: -4px 0; }
.btn-store.sm { height: 40px; padding: 0 16px 0 13px; border-radius: 12px; gap: 7px; box-shadow: 0 2px 0 #000, 0 6px 14px rgba(20,20,20,.12); }
.btn-store.sm:hover { box-shadow: 0 4px 0 #000, 0 10px 20px rgba(20,20,20,.16); }
.btn-store.sm:active { box-shadow: 0 1px 0 #000; }
.btn-store.sm span { font-size: var(--small); letter-spacing: -.01em; }
.btn-store.sm .apple { width: 14px; height: 17px; margin-top: -2px; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 3px 0 var(--ink); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 5px 0 var(--ink); }
.btn-line:active { box-shadow: inset 0 0 0 1.5px var(--ink), 0 1px 0 var(--ink); }
.soon-note { left: 50%; top: calc(100% + 10px); transform: translateX(-50%) rotate(-3deg) scale(.6); opacity: 0; transition: opacity .2s, transform .35s var(--spring); }
.soon-note.on { opacity: 1; transform: translateX(-50%) rotate(-3deg); }

/* Every link hovers the same way: a coral line drawn in from the left, the same line the pen draws.
   Keyboard focus shows it too. Links inside running text keep a faint line at rest so they read as links. */
:is(.links a, .foot nav a, .sig, .toc a span, .qa summary > span, .intro a, .legal article a) {
  text-decoration: none; background-repeat: no-repeat; background-position: 0 100%;
  background-image: linear-gradient(var(--coral), var(--coral)); background-size: 0% 2px;
  transition: background-size .3s var(--ease), color .2s; }
:is(.intro a, .legal article a) { background-image: linear-gradient(var(--coral), var(--coral)), linear-gradient(rgba(255,107,74,.4), rgba(255,107,74,.4)); background-size: 0% 2px, 100% 1px; }
:is(.links a, .foot nav a, .sig):hover, :is(.links a, .foot nav a, .sig):focus-visible,
.toc a:hover span, .toc a:focus-visible span, .qa summary:hover > span, .qa summary:focus-visible > span { background-size: 100% 2px; }
:is(.intro a, .legal article a):hover, :is(.intro a, .legal article a):focus-visible { background-size: 100% 2px, 100% 1px; }
:is(.links a, .foot nav a, .sig, .toc a, .qa summary, .intro a, .legal article a):focus-visible { outline: none; }

/* Keyboard users can jump past the bar straight to the content */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: var(--small); font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; outline: 2.5px solid var(--coral); outline-offset: 2px; }

/* Logo: the pocket and the word. Its eyes glance around and blink. */
.logo { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; padding: 9px 0; margin: -9px 0; }
.logo-mark { width: 26px; height: 32px; margin-top: -5px; overflow: visible; }
.logo-mark .eyes { transform: translate(var(--lx, 0px), var(--ly, 0px)); transition: transform .35s var(--ease); }
.logo-mark .look { animation: glance 9s ease-in-out infinite; }
.logo-mark .look circle { transform-box: fill-box; transform-origin: center; animation: wink 9s infinite; }
@keyframes glance { 0%, 22% { transform: none; } 26%, 38% { transform: translateX(-17px); } 42%, 54% { transform: translateX(15px) translateY(-4px); } 58%, 100% { transform: none; } }
@keyframes wink { 0%, 68%, 72%, 100% { transform: scaleY(1); } 70% { transform: scaleY(.1); } }
.wordmark { font-weight: 800; font-size: 25px; letter-spacing: -.055em; line-height: 1; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(252,251,249,.85); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.bar.scrolled { border-bottom-color: var(--rule); }
.bar .wrap { display: flex; align-items: center; height: var(--bar); gap: 24px; }
.links { display: flex; gap: 28px; margin-left: 28px; }
.links a { font-size: var(--small); font-weight: 500; color: var(--ink2); }
.links a:hover { color: var(--ink); }
.bar .btn-store { margin-left: auto; }

/* 1. Hero: the pile, the question, and the one you meant */
.hero { position: relative; min-height: min(calc(100vh - var(--bar)), 660px); display: flex; align-items: center; overflow: hidden;
  --sw: clamp(96px, 10vw, 156px); --in: clamp(336px, 25.6vw, 396px); --out: clamp(452px, 37vw, 540px); }
.hero-copy { position: relative; z-index: 2; text-align: center; padding: 24px 0 28px; }
.lede { margin: 18px auto 0; max-width: 520px; font-size: var(--lead); line-height: 1.5; color: var(--ink2); }
.ctas { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.pile { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.st { position: absolute; top: var(--y); width: calc(var(--sw) * var(--w)); margin: 0; pointer-events: auto;
  transform: rotate(var(--r)) scale(var(--s, 1)); transition: transform .6s var(--spring), opacity .45s var(--ease), filter .45s var(--ease); }
.st img { width: 100%; filter: drop-shadow(0 1px 1px rgba(20,20,20,.12)) drop-shadow(0 10px 18px rgba(20,20,20,.12)); transition: filter .45s; }
.st.L { right: calc(50% + var(--dx)); }
.st.R { left: calc(50% + var(--dx)); }
.st:hover { --s: 1.06; transform: rotate(calc(var(--r) * -.6)) scale(var(--s)); }
.st figcaption { position: absolute; top: calc(100% + 8px); padding: 1px 8px 2px; font: 500 var(--h-chip)/1.35 var(--hand); color: var(--ink); white-space: nowrap; border-radius: 4px 9px 5px 8px / 8px 4px 9px 5px; background: var(--pale); box-shadow: 0 1px 0 rgba(20,20,20,.04); transform: rotate(calc(var(--r) * -1 - 1.5deg)); opacity: 0; transition: opacity .3s; }
/* Notes grow towards the middle of the page, so they never run off the edge */
.st.L figcaption { left: 4px; transform-origin: left top; }
.st.R figcaption { right: 4px; transform-origin: right top; }
/* Videos: a print with a play button and its length */
.vid .play { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 4px 12px rgba(20,20,20,.25); }
.vid .play::before { content: ""; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--ink); }
.vid .dur { position: absolute; right: 9%; bottom: 13%; padding: 1px 6px; border-radius: 5px; background: rgba(20,20,20,.78); color: #fff; font-size: var(--micro); font-weight: 600; font-variant-numeric: tabular-nums; }
/* Articles: a link card, like the preview you'd see when you share one */
/* Link cards: an article or a place, like the preview you see when you share one */
.card { padding: 11px 12px 13px; background: #fff; border-radius: 12px; box-shadow: 0 1px 1px rgba(20,20,20,.1), 0 10px 18px rgba(20,20,20,.12); text-align: left; transition: box-shadow .45s; }
.card .src { display: flex; align-items: center; gap: 6px; font-size: var(--micro); font-weight: 600; color: var(--ink3); }
.card .src svg { width: 11px; height: 11px; fill: var(--coral); }
.card .src i { width: 13px; height: 13px; border-radius: 3px; background: var(--ink); }
.card b { display: block; margin-top: 7px; font-size: var(--small); line-height: 1.22; letter-spacing: -.015em; color: var(--ink); }
.article .lines { display: block; margin-top: 9px; }
.article .lines i { display: block; height: 5px; margin-top: 5px; border-radius: 3px; background: #ECEAE5; }
.article .lines i:last-child { width: 62%; }
.pile.finding .st.hit .card { box-shadow: 0 2px 2px rgba(20,20,20,.12), 0 22px 34px rgba(20,20,20,.2); }
.place .map { display: block; width: 100%; height: auto; margin-top: 8px; border-radius: 8px; }
.place b { margin-top: 8px; }
.place .meta { display: block; margin-top: 2px; font-size: var(--micro); color: var(--ink3); }
.pile.finding .st { opacity: .26; filter: saturate(.25); }
.hero:has(.pile.finding) .a-hero { opacity: .2 !important; transition: opacity .4s; }
.pile.finding .st.hit { opacity: 1; filter: none; --s: 1.14; z-index: 2; }
.pile.finding .st.hit img { filter: drop-shadow(0 2px 2px rgba(20,20,20,.14)) drop-shadow(0 22px 34px rgba(20,20,20,.22)); }
.pile.finding .st.hit figcaption { opacity: 1; transition-delay: .55s; }

.askbar { position: relative; z-index: 3; margin: clamp(26px, 4.5vh, 40px) auto 0; width: min(500px, 100%); height: 60px; padding: 0 7px 0 10px; display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px var(--rule), 0 10px 28px rgba(20,20,20,.07); }
.askbar .pocket { width: 26px; height: 32px; flex: none; margin: -5px 2px 0 6px; }
.askbar .q { flex: 1; min-width: 0; margin: 0; font: 500 var(--h-note)/1.2 var(--hand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.askbar .ph { font: 400 var(--body) var(--sans); color: var(--grey); }
.askbar .typed:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: .95em; margin-left: 2px; vertical-align: -.12em; background: var(--ink); animation: caret 1s steps(1) infinite; }
.askbar.found .typed::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.micbtn { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform .3s var(--spring); }
.micbtn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.askbar.listening .micbtn { animation: hum .8s ease-in-out infinite alternate; }
@keyframes hum { to { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(255,107,74,.16); } }

/* The pen: one coral arrow from the question to the save, drawn once per answer */
.pen { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.pen path { fill: none; stroke: var(--coral); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pen.gone { opacity: 0; transition: opacity .3s; }

/* The pocket character */
.pocket { overflow: visible; }
.pocket .card rect { fill: var(--yellow); stroke: var(--ink); stroke-width: 16; }
.pocket .card { transform-box: view-box; transform-origin: 256px 280px; transition: transform .6s var(--spring); }
.pocket .body { fill: #fff; stroke: var(--ink); stroke-width: 16; stroke-linejoin: round; }
.pocket .eyes circle { fill: var(--ink); }
.pocket .eyes { transform-box: view-box; transform-origin: 256px 316px; transform: translate(var(--ex, 0px), var(--ey, 0px)); animation: blink 4.6s infinite; }
.pocket .happy path, .pocket .smile { fill: none; stroke: var(--ink); stroke-width: 12; stroke-linecap: round; }
.pocket .happy, .pocket .ooh { opacity: 0; }
.pocket .ooh { fill: var(--ink); }
@keyframes blink { 0%, 94%, 100% { transform: translate(var(--ex, 0px), var(--ey, 0px)) scaleY(1); } 97% { transform: translate(var(--ex, 0px), var(--ey, 0px)) scaleY(.1); } }
.listening .pocket .smile { opacity: 0; }
.listening .pocket .ooh { opacity: 1; animation: ooh .5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes ooh { to { transform: scale(.7, .85); } }
.listening .pocket .card { animation: jiggle .35s ease-in-out infinite alternate; }
@keyframes jiggle { from { transform: rotate(-2deg) translateY(2px); } to { transform: rotate(2deg) translateY(-3px); } }
.found .pocket .eyes { opacity: 0; }
.found .pocket .happy { opacity: 1; }
.found .pocket .card { transform: translateY(-30px) rotate(-8deg); }

/* 2. How it works: real screens on a real-looking iPhone, with notes in the margin */
/* A soft coral-to-yellow glow sitting across the hero's bottom edge, like light from the section below:
   it says there's more to see. Centred on the boundary so it fades evenly both ways. */
.how { position: relative; overflow-x: clip; }
.how > .wrap { position: relative; z-index: 1; }
.how::before { content: ""; position: absolute; z-index: 0; left: 50%; top: -230px; width: min(1100px, 100%); height: 460px; transform: translateX(-50%); pointer-events: none;
  background: var(--glow); animation: drift 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes drift { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-44%) scale(1.07); } 100% { transform: translateX(-56%) scale(.96); } }
.how { padding: clamp(24px, 4vh, 48px) 0 clamp(56px, 8vh, 88px); }
.phones { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.phones > li { text-align: center; }
.device { position: relative; width: clamp(200px, 17vw, 236px); margin: 0 auto; transform: rotate(var(--tilt)); transition: transform .5s var(--spring); }
.phones > li:hover .device { transform: rotate(0) translateY(-6px); }
.iphone { position: relative; padding: 8px; border-radius: 44px; background: #0d0d0d;
  box-shadow: 0 0 0 1.5px #a9a6a0, 0 0 0 3px #dcd9d3, inset 0 0 0 1px #2a2a2a, 0 32px 60px -14px rgba(20,20,20,.32), 0 8px 18px rgba(20,20,20,.08); }
.iphone::before { content: ""; position: absolute; z-index: 1; top: 18px; left: 50%; width: 31%; height: 22px; margin-left: -15.5%; border-radius: 20px; background: #000; }
.iphone::after { content: ""; position: absolute; right: -4.5px; top: 24%; width: 3px; height: 13%; border-radius: 0 2px 2px 0; background: #bdbab4; }
.iphone img { border-radius: 36px; width: 100%; }
.phones h3 { margin: 30px 0 0; display: inline-flex; align-items: center; gap: 10px; font-size: var(--head); letter-spacing: -.025em; }
.phones h3 span { display: inline-grid; place-items: center; min-width: 26px; padding: 0 7px; font: 600 var(--h-chip)/1.5 var(--hand); color: var(--ink); background: var(--pale); border-radius: 4px 9px 5px 8px / 8px 4px 9px 5px; transform: rotate(-4deg); }
.phones p { margin: 6px auto 0; max-width: 270px; font-size: var(--body); line-height: 1.45; color: var(--ink2); }
.a-left { right: calc(100% + 12px); transform: rotate(-5deg); text-align: right; }
.a-left svg { width: 70px; height: 50px; right: -66px; top: 18px; }
.a-right { left: calc(100% + 14px); transform: rotate(5deg); }
.a-right svg { width: 70px; height: 50px; left: -70px; top: 16px; }
.a-top { left: 62%; bottom: calc(100% + 6px); transform: rotate(4deg); }
.a-top svg { width: 50px; height: 70px; left: -30px; top: 30px; }

/* 3. The boring bits, as doodles */
.bits { padding: clamp(24px, 4vh, 48px) 0 clamp(64px, 9vh, 100px); }
.doodles { list-style: none; margin: 56px auto 0; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 18px; }
.doodles li { width: 210px; display: flex; flex-direction: column; align-items: center; text-align: center; transform: translateY(var(--o)) rotate(var(--r)); }
.doodle { width: 96px; height: 96px; color: var(--ink); transition: transform .5s var(--spring); }
.doodles li:hover .doodle { transform: rotate(-8deg) scale(1.1); }
.doodles span { margin-top: 8px; font: 500 var(--h-note)/1.25 var(--hand); color: var(--ink); }

/* 4. Private: the no-list */
.private { padding: clamp(64px, 9vh, 104px) 0; background: var(--sunk); }
.private .paper { margin: 48px auto 0; max-width: 470px; text-align: left; }
.private .ctas { margin-top: 44px; }
.paper { position: relative; padding: 52px 32px 30px 74px; background-color: #fff; transform: rotate(2deg);
  background-image: linear-gradient(90deg, transparent 56px, #FFC2B4 56px, #FFC2B4 57.5px, transparent 57.5px), repeating-linear-gradient(transparent 0 39px, #E6E3DC 39px 40px);
  background-position: 0 0, 0 12px; box-shadow: 0 1px 2px rgba(20,20,20,.06), 0 26px 50px rgba(20,20,20,.1); }
.paper[data-reveal].is-in { transform: rotate(2deg); transition: transform .55s var(--spring), box-shadow .45s var(--ease), opacity .8s var(--ease); }
.paper[data-reveal].is-in:hover { transform: rotate(.4deg) translateY(-6px); box-shadow: 0 2px 3px rgba(20,20,20,.07), 0 34px 64px rgba(20,20,20,.14); }
.paper .tape { transition: transform .45s var(--spring); }
.paper:hover .tape { transform: rotate(-7deg) translateY(-2px); }
.paper .tape { left: 50%; }
.paper-title { position: absolute; top: 12px; left: 74px; margin: 0; font: 600 var(--h-note)/40px var(--hand); color: var(--ink3); }
.paper ul { list-style: none; margin: 0; padding: 0; }
.paper li { position: relative; font: 500 var(--h-list)/40px var(--hand); color: var(--ink); }
.paper li svg { position: absolute; left: -40px; top: 10px; width: 20px; height: 20px; }
.paper-foot { margin: 0; text-align: right; font: 500 var(--h-note)/40px var(--hand); color: var(--coral); transform: rotate(-3deg); }

/* 5. Hi, I'm Puja: the story drawn as doodles. Saves scattered across apps flow into one pocket. */
.maker { padding: clamp(64px, 9vh, 110px) 0 clamp(24px, 4vh, 48px); }
.origin { position: relative; width: min(640px, 100%); margin: 48px auto 0; }
.origin > * { position: relative; z-index: 1; }
.origin::before { content: ""; position: absolute; z-index: 0; left: 50%; bottom: -70px; width: 420px; height: 280px; margin-left: -210px; pointer-events: none;
  background: var(--glow); opacity: 0; transform: scale(.5); }
.origin.is-in::before { animation: bloom 1.2s 1.7s var(--ease) forwards, breathe 7s 2.9s ease-in-out infinite alternate; }
@keyframes bloom { to { opacity: 1; transform: scale(1); } }
@keyframes breathe { from { opacity: 1; transform: scale(1); } to { opacity: .7; transform: scale(1.12) translateY(-6px); } }
.from { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.from li { display: flex; flex-direction: column; align-items: center; transform: rotate(var(--r)); }
.from .doodle { width: 72px; height: 72px; }
.from span { margin-top: 4px; font: 500 var(--h-chip)/1.2 var(--hand); color: var(--ink2); white-space: nowrap; }
.flows { display: block; width: 100%; height: 100px; margin-top: 6px; overflow: visible; }
.flows path { fill: none; stroke: #C9C5BD; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1 7; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .5s calc(.5s + var(--i) * .18s); }
.origin.is-in .flows path { opacity: 1; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.origin .pocket { display: block; width: 74px; height: 92px; margin: 2px auto 0; }
.origin.is-in .pocket .card { animation: drop .7s 1.35s var(--spring) both; }
@keyframes drop { 0% { transform: translateY(-70px) rotate(8deg); opacity: 0; } 60% { transform: translateY(8px); opacity: 1; } 100% { transform: none; } }
.origin.is-in .pocket .eyes { animation: eyes-off 0s 1.9s forwards; }
.origin.is-in .pocket .happy { animation: eyes-on 0s 1.9s forwards; }
@keyframes eyes-off { to { opacity: 0; } }
@keyframes eyes-on { to { opacity: 1; } }
.maker-role { margin: 22px 0 0; }
.maker-role p { margin: 0; font-size: var(--small); color: var(--ink3); }
.tape { position: absolute; top: -14px; width: 120px; height: 28px; margin-left: -60px; left: 50%; background: var(--yellow); opacity: .85; transform: rotate(-4deg); }

/* 6. Coming soon */
.end { position: relative; overflow-x: clip; }
.end > .wrap { position: relative; z-index: 1; }
.end::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 4%; width: min(980px, 100%); height: 480px; transform: translateX(-50%); pointer-events: none;
  background: var(--glow); animation: wander 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes wander { 0% { transform: translateX(-54%) translateY(0) scale(1); } 50% { transform: translateX(-47%) translateY(-14px) scale(1.08); } 100% { transform: translateX(-50%) translateY(10px) scale(.95); } }
.end { padding: clamp(56px, 8vh, 96px) 0 clamp(110px, 14vh, 150px); }
.end-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.end .ctas { margin-top: 30px; }
.end-cta { position: relative; display: inline-flex; }
.a-free { left: calc(100% + 54px); top: -4px; transform: rotate(-5deg); }
.a-free svg { width: 46px; height: 32px; left: -52px; top: 6px; transform: scaleX(-1); }

/* Footer: a big ink block with the name across the bottom, and the pocket peeking over */
.foot { position: relative; margin-top: 0; }
/* The pocket peeks over the footer. Hover it and it pops up, waves its card, says hi, and ducks back down. */
.peek { position: absolute; right: 14%; top: -82px; width: 84px; height: 104px; z-index: 0; cursor: pointer; }
.peek svg { width: 100%; height: 100%; }
.peek.boo svg { animation: boo 2s var(--ease); }
.peek.boo .card { animation: flap 2s ease-in-out; }
.peek.boo .eyes { opacity: 0; }
.peek.boo .happy { opacity: 1; }
.peek .hi { right: calc(100% + 4px); top: -8px; opacity: 0; }
.peek.boo .hi { animation: hi 2s var(--ease); }
@keyframes boo { 0% { transform: none; } 22% { transform: translateY(-46px) rotate(-6deg); } 32% { transform: translateY(-40px) rotate(6deg); } 42% { transform: translateY(-44px) rotate(-4deg); } 52%, 66% { transform: translateY(-42px) rotate(0); } 82% { transform: translateY(40px); } 100% { transform: none; } }
@keyframes flap { 0%, 20%, 70%, 100% { transform: none; } 30% { transform: translateY(-34px) rotate(-14deg); } 42% { transform: translateY(-28px) rotate(12deg); } 54% { transform: translateY(-34px) rotate(-10deg); } }
@keyframes hi { 0%, 18% { opacity: 0; transform: translateY(20px) rotate(-8deg) scale(.6); } 30%, 62% { opacity: 1; transform: translateY(-46px) rotate(-8deg); } 76%, 100% { opacity: 0; transform: translateY(-46px) rotate(-8deg); } }
.foot-block { position: relative; z-index: 1; background: var(--ink); color: #fff; border-radius: 40px 40px 0 0; overflow: hidden; padding-top: 64px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 30px; margin: -10px 0; }
.foot-line { margin: 0; font-size: var(--head); font-weight: 800; line-height: 1.15; letter-spacing: -.035em; }
.foot-line span { color: #9a9893; font-weight: 500; }
.foot h4 { margin: 6px 0 12px; font-size: 13px; font-weight: 600; color: #8d8b86; }
.foot nav a { display: inline-block; padding: 10px 0; font-size: var(--body); color: #e9e7e2; }
.foot nav a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; }
.foot-base small { font-size: var(--small); color: #8d8b86; }
.giant { margin: -10px 0 -0.22em; text-align: center; font-size: clamp(120px, 25vw, 380px); font-weight: 800; letter-spacing: -.07em; line-height: .9; color: #212121; user-select: none; }

/* Privacy and support pages */
.legal { padding: clamp(40px, 7vh, 64px) 0 clamp(90px, 14vh, 140px); }
.legal-head { max-width: 680px; }
.legal-head .kicker { font: 500 18px var(--hand); color: var(--coral); }
.legal-head h1 { margin: 4px 0 0; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; }
.intro { margin: 16px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink2); }
.intro a, .legal article a { color: var(--ink); }
.meta { margin: 14px 0 0; font-size: 14px; color: var(--ink3); }
.legal-body { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 64px; margin-top: 56px; }
.toc { position: sticky; top: calc(var(--bar) + 28px); align-self: start; }
.toc > span { font-size: 13px; font-weight: 600; color: var(--ink3); }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: flex; gap: 10px; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 14px; color: var(--ink2); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a i { width: 14px; font-style: normal; color: var(--grey); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); }
.toc a span { padding-bottom: 1px; }
.toc a.on { border-left-color: var(--coral); color: var(--ink); font-weight: 600; }
.legal article section + section { margin-top: 40px; }
.legal article h2 { display: flex; gap: 14px; align-items: baseline; margin: 0 0 10px; font-size: 23px; font-weight: 700; letter-spacing: -.025em; }
.legal article h2 .num { color: var(--grey); font-weight: 500; font-variant-numeric: tabular-nums; }
.legal article p, .legal article li { font-size: 16.5px; line-height: 1.65; color: var(--ink2); }
.legal article p:first-of-type { margin-top: 0; }
.qa { border-top: 1px solid var(--rule); margin-top: 8px; }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 14px; height: 14px; transition: transform .3s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.8px; margin-top: -.9px; border-radius: 1px; background: var(--ink); }
.pm::after { transform: rotate(90deg); }
.qa details[open] .pm { transform: rotate(45deg); }
.qa details p { margin: -2px 0 20px; }

/* Rhythm: the hero and the close are centred; the sections between alternate sides. */
/* The boring bits: doodles scattered around the headline, like notes in a margin */
.bits-grid { position: relative; height: 470px; }
.bits-grid h2 { position: absolute; left: 0; top: 150px; max-width: 46%; }
.bits-grid .doodles { position: absolute; inset: 0; margin: 0; max-width: none; display: block; }
.bits-grid .doodles li { position: absolute; width: 160px; transform: rotate(var(--r)); }
.bits-grid .doodle { width: 84px; height: 84px; }
.bits-grid .doodles li:nth-child(1) { left: 47%; top: 4px; }
.bits-grid .doodles li:nth-child(2) { left: 66%; top: 0; }
.bits-grid .doodles li:nth-child(3) { right: 0; top: 34px; }
.bits-grid .doodles li:nth-child(4) { left: 52%; top: 252px; }
.bits-grid .doodles li:nth-child(5) { left: 70%; top: 214px; }
.bits-grid .doodles li:nth-child(6) { right: 0; top: 268px; }
.bits-grid .doodles li:nth-child(7) { left: 20%; top: 318px; }
.private-grid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 500px); justify-content: center; gap: 96px; align-items: center; }
.private .private-grid .paper { margin: 0; max-width: none; }
.private-copy .sub { margin-left: 0; }
.private-copy .ctas { justify-content: flex-start; margin-top: 30px; }
.maker-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 560px); justify-content: center; gap: 88px; align-items: center; }
.maker-copy .sub { margin-left: 0; }
.maker-grid .origin { margin: 0; width: 100%; }
.how .two { max-width: 760px; }

/* Arrival: things fade up in reading order */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) var(--t, 0s), transform .8s var(--ease) var(--t, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Short laptop screens */
@media (max-height: 760px) and (min-width: 821px) {
  .lede { margin-top: 14px; }
  .ctas { margin-top: 20px; }
}

/* Tablets and small laptops: the pile moves under the ask bar, as on phones, so nothing falls off the sides */
@media (max-width: 1100px) {
  .bits-grid { height: auto; }
  .bits-grid h2 { position: static; transform: none; max-width: none; }
  .bits-grid .doodles { position: static; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 28px 8px; margin-top: 36px; }
  .bits-grid .doodles li { position: static; width: 170px; }
  .hero { min-height: 0; display: flex; flex-direction: column-reverse; padding-bottom: 12px; --sw: 124px; }
  .hero-copy { padding: 48px 0 0; }
  .a-hero { display: none; }
  .pile { position: relative; inset: auto; align-self: center; width: min(640px, 100% - 32px); height: 310px; margin: 52px auto 0; }
  .st.L, .st.R { left: var(--mx, 0); right: auto; top: var(--my, 0); }
  .st:not([style*="--mx"]) { display: none; }
}

/* Tablets */
@media (max-width: 1100px) {
  .a-left, .a-right { display: none; }
}
@media (max-width: 1020px) {
  .bits-grid, .private-grid, .maker-grid { grid-template-columns: 1fr; gap: 40px; }
  .bits-grid .doodles { justify-content: flex-start; }
  .private-grid .paper { order: 2; max-width: 470px; }
  .maker-grid .origin { margin-top: 8px; }
  .links { display: none; }
}

/* Phones */
@media (max-width: 820px) {
  .wrap { width: calc(100% - 32px); }
  .btn-store.sm span { font-size: 13px; }
  .hero { min-height: 0; padding-bottom: 8px; --sw: 118px; display: flex; flex-direction: column-reverse; }
  .hero-copy { padding: 36px 0 0; }
  .a-hero { display: none; }
  .askbar { height: 56px; }
  .askbar .q { font-size: 16px; }
  .micbtn { width: 42px; height: 42px; }
  .pile { position: relative; inset: auto; align-self: stretch; height: 300px; margin: 46px 16px 0; }
  .st.L, .st.R { left: var(--mx, 0); right: auto; top: var(--my, 0); }
  .st:not([style*="--mx"]) { display: none; }
  .phones { grid-template-columns: 1fr; gap: 64px; margin-top: 56px; }
  .device { width: 230px; }
  .a-top { display: none; }
  .doodles { gap: 34px 8px; }
  .doodles li, .bits-grid .doodles li { width: 46%; transform: rotate(var(--r)); }
  .paper { padding-left: 62px; padding-right: 20px; }
  .paper li { font-size: 20px; }  /* the only exception: keeps one line per rule on a phone */
  .paper li svg { left: -36px; }
  .paper-title { left: 62px; }
  .from .doodle { width: 52px; height: 52px; }
  .from span { white-space: normal; text-align: center; font-size: 13px; }
  .flows { height: 70px; }
  .legal-body { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .toc { position: static; }
  .foot-base { flex-direction: column; }
  .peek { right: 10%; width: 70px; height: 86px; top: -68px; }
  .a-free { display: none; }
}

/* Very small phones: keep every no-list line on one ruled line */
@media (max-width: 400px) {
  .paper { padding-left: 52px; padding-right: 14px; }
  .paper li { font-size: 18px; }
  .paper li svg { left: -32px; }
  .paper-title { left: 52px; }
}

@media print {
  .bar, .foot, .toc { display: none; }
  .legal-body { display: block; margin-top: 24px; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .paper[data-reveal] { transform: rotate(2deg) !important; }
  .mark > svg path, .aside svg path { stroke-dashoffset: 0; }
  .a-hero { opacity: 1; }
}
