/* v2: Kavery's Earthy colours (website/assets/css/site.css) and her serif, in a bolder layout. Her site is untouched. */
:root { --bg:#F1ECE1; --card:#FBF8F1; --ink:#2E3828; --soft:#5C6051; --line:#E1D9C6; --clay:#B9784F; --clay-text:#8A4F2B; --deep:#3E4A30; --green:#55633F; --on-green:#fff; --door:#2E3828; --focus:#2450B2; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg:#1B2017; --card:#242A1F; --ink:#ECE7DA; --soft:#A9AC9A; --line:#2F3628; --clay:#D39A72; --clay-text:#D39A72; --deep:#A9BC86; --green:#A9BC86; --on-green:#111214; --door:#ECE7DA; --focus:#8AA8F0; } }
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin:0; background:var(--card); color:var(--ink); font:18px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; overflow-x:hidden; }
img { max-width:100%; height:auto; display:block; }
a { color:inherit; }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px; border-radius:8px; }
/* Fraunces with its soft axis turned up: rounder and friendlier than the stock cut */
h1,h2,h3 { font-family:"Fraunces",Georgia,serif; font-weight:800; font-variation-settings:"SOFT" 100; line-height:1.02; letter-spacing:-.025em; margin:0; text-wrap:balance; }
.wrap { max-width:1180px; margin:0 auto; padding:0 24px; }
.skip { position:absolute; left:-999px; } .skip:focus { left:16px; top:16px; background:var(--card); padding:8px 12px; z-index:99; }

header { position:fixed; inset:0 0 auto 0; z-index:20; background:color-mix(in srgb, var(--card) 78%, transparent); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }
header .wrap { display:flex; align-items:center; justify-content:space-between; height:72px; }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; font:600 1.25rem "Fraunces",Georgia,serif; font-variation-settings:"SOFT" 100; }
nav { display:flex; align-items:center; gap:26px; font-weight:600; font-size:.95rem; }
nav a { text-decoration:none; }
nav a:hover { text-decoration:underline; text-underline-offset:4px; }
.pill { display:inline-flex; align-items:center; justify-content:center; background:var(--ink); color:var(--card); padding:12px 22px; border:0; border-radius:999px; text-decoration:none; font:inherit; font-weight:700; font-size:.95rem; cursor:pointer; transition:transform .15s; }
.pill:hover { transform:scale(1.04); } .pill:active { transform:scale(.97); }
.pill.big { padding:18px 30px; font-size:1.1rem; }
.pill.ghost { background:transparent; color:var(--ink); box-shadow:inset 0 0 0 2px var(--ink); }

/* First screen: the headline, and a pile of chores in front of it that you can throw around */
.pile { position:relative; min-height:max(100svh,700px); background:var(--card); touch-action:pan-y; overflow:hidden; cursor:grab; }
.pile canvas { position:absolute; inset:0; width:100%; height:100%; z-index:2; pointer-events:none; }
.hero { position:relative; z-index:1; padding-top:clamp(92px,15vh,140px); }
.hero h1 { font-size:clamp(3.1rem,7.4vw,5.8rem); }
.hero p { font-size:clamp(1.15rem,1.9vw,1.45rem); line-height:1.3; max-width:25em; margin:.7em 0 1.1em; color:var(--soft); }
.hero-cta { display:flex; flex-wrap:wrap; gap:12px; }
.pile a, .pile button, .pile input { cursor:pointer; } .pile input { cursor:text; }
.tip { position:absolute; left:0; top:0; z-index:4; pointer-events:none; background:var(--ink); color:var(--card); padding:6px 14px; border-radius:999px; font-weight:700; font-size:.9rem; white-space:nowrap; }
.who { position:absolute; inset:auto 0 0 0; height:70px; z-index:3; margin:0; display:grid; grid-auto-flow:column; grid-auto-columns:1fr; border-top:2px solid var(--line); background:var(--card); }
.who label { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; }
.who input { width:100%; min-height:34px; border:0; background:none; color:inherit; text-align:center; text-overflow:ellipsis; border-radius:8px; font:800 clamp(1.05rem,3.4vw,1.5rem)/1.1 "Fraunces",Georgia,serif; font-variation-settings:"SOFT" 100; }
.who input:hover { background:var(--bg); }
.who span { font-size:.82rem; line-height:1.2; min-height:1.2em; color:var(--soft); }
/* after sharing: a line up the wall between each person's strip */
.who::before { content:""; position:absolute; inset:auto 0 100% 0; height:46vh; pointer-events:none; opacity:0; transition:opacity .4s; background:linear-gradient(90deg, var(--line) 2px, transparent 2px) -2px 0 / calc(100% / var(--n)) 100%; -webkit-mask:linear-gradient(transparent, #000); mask:linear-gradient(transparent, #000); }
.who.on::before { opacity:1; }
.people { position:absolute; right:16px; bottom:84px; z-index:3; display:flex; gap:8px; }
.people button { width:40px; height:40px; border-radius:50%; border:2px solid var(--ink); background:var(--card); color:var(--ink); font:700 1.2rem/1 system-ui; }
.pile.no3d { min-height:0; padding-bottom:64px; } .pile.no3d .who, .pile.no3d .people, .pile.no3d #share { display:none; }

section.block { padding:120px 0; }
.block h2 { font-size:clamp(2.2rem,5.4vw,4.2rem); }
.phone { width:min(280px,66vw); border-radius:44px; padding:10px; background:var(--ink); }
.phone img { border-radius:35px; }
.pair { display:grid; grid-template-columns:1.25fr 1fr; gap:60px; align-items:center; }
.pair p { font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.3; margin:.7em 0 0; max-width:21em; color:var(--soft); }
.pair .phone { justify-self:center; --rest:3deg; box-shadow:14px 14px 0 var(--line); }

/* the other screens, on a shelf you pull sideways */
.inside { background:var(--bg); padding-bottom:90px !important; }
.inside h2 { max-width:12em; margin-bottom:56px; }
.shelf { --edge:max(24px, calc((100vw - 1132px) / 2)); display:flex; gap:32px; overflow-x:auto; scroll-snap-type:x proximity; scroll-padding-left:var(--edge); padding:4px var(--edge) 30px; }
.shelf figure { flex:none; width:min(240px,62vw); margin:0; scroll-snap-align:start; }
.shelf figure:nth-child(even) { margin-top:48px; }
.shelf .phone { width:100%; border-radius:38px; padding:8px; } .shelf .phone img { border-radius:31px; }
.shelf figcaption { margin-top:16px; color:var(--soft); line-height:1.35; }
.shelf figcaption b { display:block; color:var(--ink); font-size:1.1rem; }

.start h2 { font-size:clamp(2.6rem,7.6vw,6rem); }
.start p { font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.3; max-width:24em; margin:1em 0 1.3em; color:var(--soft); }
.start .small { font-size:1rem; margin:1.2em 0 0; }
.start .small a { color:var(--clay-text); }
footer { background:var(--ink); color:var(--card); padding:38px 0; font-size:.9rem; }
footer .wrap { display:flex; flex-wrap:wrap; gap:14px 26px; justify-content:space-between; }
footer nav { flex-wrap:wrap; gap:8px 22px; font-weight:400; font-size:inherit; }
footer nav a { display:inline !important; }

/* Everything leans toward the mouse (hover.js sets --hx and --hy). Without a mouse these all sit still. */
.phone, .price, .card, .post-card, .code { transform:perspective(900px) rotateX(calc(var(--hy,0) * -10deg)) rotateY(calc(var(--hx,0) * 10deg)) rotate(var(--rest,0deg)); transition:transform .25s ease-out; }
.pill, .btn, .brand svg { translate:calc(var(--hx,0) * 10px) calc(var(--hy,0) * 8px); transition:transform .15s, translate .2s ease-out; }
.brand svg { translate:calc(var(--hx,0) * 6px) calc(var(--hy,0) * 6px); } .brand:hover svg { transform:rotate(-8deg); }
.shelf figure { transition:translate .25s ease-out; } .shelf figure:hover { translate:0 -10px; }
nav a:not(.pill), footer a, main a:not(.pill):not(.btn) { transition:text-underline-offset .15s; } nav a:not(.pill):hover, footer a:hover, main a:not(.pill):not(.btn):hover { text-underline-offset:7px; }
.faq summary { transition:padding .2s ease-out; } .faq summary:hover { padding-left:14px; } .faq summary:hover::after { transform:scale(1.15); } .faq details[open] summary:hover::after { transform:rotate(45deg) scale(1.15); }
.ticks li { transition:padding .2s ease-out; } .ticks li:hover { padding-left:36px; }
.who label { transition:translate .2s ease-out; } .who label:hover { translate:0 -4px; }

/* phone first: these sizes are tuned at 375px wide */
@media (max-width:720px) {
  nav a:not(.pill) { display:none; }
  header .wrap { height:60px; } .pill { padding:10px 18px; } .pill.big { padding:14px 22px; font-size:1rem; }
  .pile { min-height:max(100svh,720px); } .hero { padding-top:84px; } .hero p { margin:.6em 0 1em; }
  section.block { padding:72px 0; } .inside h2 { margin-bottom:36px; }
  .pair { grid-template-columns:1fr; gap:40px; } .pair .phone { width:min(240px,62vw); }
  .shelf { gap:20px; } .shelf figure:nth-child(even) { margin-top:28px; }
  footer .wrap { flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *, *::before, *::after { transition:none !important; } }

/* ---------- Inner pages (pricing, FAQ, support, Android, join, legal, blog). Their content comes from website/ via build.py. ---------- */
.narrow { max-width:760px; } .center { text-align:center; }
.lead { font-size:clamp(1.2rem,2.4vw,1.6rem); line-height:1.3; color:var(--soft); max-width:26em; }
.center .lead, .center .small { margin-inline:auto; }
.small { font-size:.95rem; color:var(--soft); }
main a { color:var(--clay-text); text-underline-offset:3px; }
@keyframes up { from { opacity:0; transform:translateY(34px) scale(.98); } }
.page-head { background:var(--line); padding:150px 0 64px; margin-bottom:64px; }
.page-head h1 { font-size:clamp(2.6rem,8vw,5.6rem); margin-bottom:.25em; animation:up .8s cubic-bezier(.2,1.2,.4,1) both; }
main > section:last-of-type { padding-bottom:110px; }
/* chunky cards: plans, support, blog list */
.price-grid, .card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:32px 28px; }
.price, .card, .post-card { background:var(--bg); border-radius:36px; padding:32px 30px; box-shadow:0 10px 0 var(--line), 0 24px 30px rgba(0,0,0,.08); }
.price h2, .card h2, .post-card h2 { font-size:2rem; margin-bottom:.3em; }
.price.featured { background:var(--ink); color:var(--card); box-shadow:0 10px 0 var(--clay), 0 24px 30px rgba(0,0,0,.14); }
.price.featured .small { color:inherit; opacity:.75; }
.ticks { list-style:none; padding:0; margin:18px 0 0; }
.ticks li { padding:9px 0 9px 30px; position:relative; border-top:1px solid color-mix(in srgb, currentColor 16%, transparent); }
.ticks li::before { content:""; position:absolute; left:4px; top:15px; width:7px; height:12px; border:solid var(--clay); border-width:0 2.5px 2.5px 0; transform:rotate(45deg); }
.price-grid + .center { margin-top:64px; }
ul.plain { list-style:none; padding:0; margin:0; } ul.plain li { padding:5px 0; }
.post-card { margin-bottom:28px; } .post-card h2 a { color:inherit; text-decoration:none; } .post-card h2 a:hover { text-decoration:underline; }
/* buttons are pills, like the home page */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:56px; padding:0 30px; border-radius:999px; background:var(--ink); color:var(--card); font:inherit; font-weight:700; text-decoration:none; border:0; cursor:pointer; }
.btn:hover { transform:scale(1.04); } .btn:active { transform:scale(.97); }
.btn:disabled { opacity:.6; }
.actions { display:flex; gap:14px; flex-wrap:wrap; margin:28px 0 16px; } .actions.stack { flex-direction:column; align-items:center; }
.actions.stack .btn + .btn { background:transparent; color:var(--ink); box-shadow:inset 0 0 0 2px var(--ink); }
.link-store svg { display:none; } .link-store { font-weight:700; }
/* FAQ: big serif questions on hairlines */
.faq details { border-top:2px solid var(--line); } .faq details:last-child { border-bottom:2px solid var(--line); }
.faq summary { font-variation-settings:"SOFT" 100; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:24px 0; font:800 clamp(1.3rem,3.4vw,1.9rem)/1.1 "Fraunces",Georgia,serif; letter-spacing:-.02em; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; flex:none; width:44px; height:44px; border-radius:50%; background:var(--ink); color:var(--card); display:grid; place-items:center; font:400 1.6rem/1 system-ui; transition:transform .3s cubic-bezier(.3,1.6,.5,1); }
.faq details[open] summary::after { transform:rotate(45deg); background:var(--clay); }
.faq details p { margin:0; padding:0 60px 26px 0; font-size:1.15rem; color:var(--soft); }
/* Android waitlist */
.waitlist { margin:32px 0; } .waitlist label { display:block; font-weight:700; margin-bottom:10px; }
.field-row { display:flex; gap:12px; flex-wrap:wrap; }
.field-row input { flex:1 1 240px; min-height:56px; padding:0 22px; border-radius:999px; border:2px solid var(--ink); background:var(--card); color:var(--ink); font:inherit; }
.done { margin-top:14px; font-weight:700; }
/* Join */
.join .code { font:800 clamp(2.4rem,10vw,4.6rem)/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.1em; background:var(--card); border-radius:28px; padding:22px 30px; display:inline-block; margin:10px 0 6px; box-shadow:0 10px 0 var(--bg); }
.page-head.join { margin-bottom:0; min-height:100svh; }
/* Legal pages and blog posts: one calm reading column */
.post { padding:150px 0 110px; }
.post h1 { font-size:clamp(2.4rem,7vw,4.4rem); margin-bottom:.4em; animation:up .8s cubic-bezier(.2,1.2,.4,1) both; }
.post h2 { font-size:1.7rem; margin:1.6em 0 .5em; } .legal h2 { font-size:1.4rem; }
.post li { margin-bottom:.4em; }
.legal table { border-collapse:collapse; width:100%; display:block; overflow-x:auto; }
.legal th, .legal td { text-align:left; vertical-align:top; padding:8px 12px 8px 0; border-bottom:1px solid var(--line); font-size:.95rem; }
@media (max-width:720px) {
  .page-head { padding:110px 0 44px; margin-bottom:40px; } .post { padding:104px 0 72px; }
  .price, .card, .post-card { border-radius:28px; padding:26px 22px; box-shadow:0 6px 0 var(--line), 0 14px 20px rgba(0,0,0,.08); }
  .price.featured { box-shadow:0 6px 0 var(--clay), 0 14px 20px rgba(0,0,0,.14); }
  .faq details p { padding-right:0; } .field-row .btn { flex:1 1 100%; }
  main > section:last-of-type { padding-bottom:72px; }
}
@media (prefers-reduced-motion: reduce) { .page-head h1, .post h1 { animation:none; } .btn { transition:none; } }
