:root {
  --cream: #EAE5D9;
  --sand: #E2DACB;
  --paper: #F4EFE4;
  --surface: #F0E9D8;
  --mocha: #3D2B1F;
  --cherry: #6A1B29;
  --cherry-dark: #4A1320;
  --cherry-tint: #F3D9DC;
  --border: #D6C9AF;
  --body: #5A4A3C;
  --muted: #6E6253;
  --display: 'Newsreader', Georgia, serif;
  --text: 'Literata', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--mocha); font-family: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cherry); }
a:hover { color: var(--cherry-dark); }
h1, h2, h3, p, figure { margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--display); font-style: italic; font-weight: 600; }
.eyebrow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.body { font-size: 16px; line-height: 1.6; color: var(--body); }
.band { background: var(--sand); }
.section { padding: 72px 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.site-header.scrolled { background: rgba(234, 229, 217, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--border); }
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 30px; color: var(--mocha); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.nav a { color: var(--mocha); text-decoration: none; }
.nav a:hover { color: var(--cherry); }
.nav a.current { color: var(--cherry); font-weight: 600; }
.nav .hide-mobile { display: none; }
.btn-dark { background: var(--mocha); color: var(--cream) !important; text-decoration: none; padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: transform 0.2s var(--ease); }
.btn-dark:hover { transform: translateY(-1px); }

/* App Store button (replace with Apple's official badge before launch) */
.appstore { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff !important; text-decoration: none; padding: 11px 22px 11px 18px; border-radius: 14px; font-family: -apple-system, 'Helvetica Neue', Helvetica, sans-serif; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.appstore:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18); }
/* Until launch the badge is a label, not a link: no hover lift, no pointer. */
.appstore.soon { cursor: default; }
.appstore.soon:hover { transform: none; box-shadow: none; }
.appstore svg { width: 26px; height: 26px; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: 11px; }
.appstore strong { font-size: 20px; font-weight: 600; }

/* ---------- Phone device: shows a 390 x 844 app screen at any size (--k = scale) ---------- */
.device { --k: 0.8; position: relative; flex-shrink: 0; width: calc(390px * var(--k) + 20px); padding: 10px; border-radius: calc(50px * var(--k) + 10px); background: #1C1C1C; box-shadow: 0 30px 60px rgba(61, 43, 31, 0.28); }
.screen { position: relative; width: calc(390px * var(--k)); height: calc(844px * var(--k)); border-radius: calc(44px * var(--k)); overflow: hidden; background: var(--cream); }
.screen > .app { position: absolute; top: 0; left: 0; transform: scale(var(--k)); transform-origin: 0 0; }

/* ---------- App screens (390 x 844) ---------- */
.app { width: 390px; height: 844px; background: var(--cream); color: var(--mocha); font-family: var(--text); font-size: 15px; display: flex; flex-direction: column; overflow: hidden; }
.app .full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.av { width: 36px; height: 36px; border-radius: 50%; background-color: #C9B896; background-size: 260% auto; background-position: 50% 9%; display: inline-block; flex-shrink: 0; }
.av-l { width: 38px; height: 38px; }
.stack { display: flex; }
.stack .av { width: 30px; height: 30px; border: 2px solid var(--cream); margin-left: -9px; }
.stack .av:first-child { margin-left: 0; }
.av.more { background: #DED4C0; color: var(--muted); font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.pill-s { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--cherry); }
.pill-s.ico { padding: 5px 9px; }
.pill-s svg { width: 14px; height: 14px; fill: none; stroke: var(--mocha); stroke-width: 1.8; stroke-linecap: round; }
.tick { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.a-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 20px 24px 8px; }
.a-list { margin: 0 24px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.a-list .row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.a-list .row:last-child { border-bottom: 0; }
.a-plain { padding: 0 24px; }
.a-plain .row { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--border); }
.nm { flex: 1; font-size: 15px; }
.nm2 { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.nm2 b { font-size: 15px; font-weight: 600; }
.nm2 small { font-size: 12px; color: var(--cherry); }
.chev { color: var(--muted); font-size: 20px; }
.stt { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.stt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.stt.on { color: var(--cherry); }
.stt.on::before { background: currentColor; }
.a-fill { flex: 1; }
.a-head { display: flex; align-items: center; gap: 12px; padding: 24px 24px 16px; }
.a-head .back { font-size: 14px; color: var(--muted); }
.a-head .ttl { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 21px; }
.a-head.sp { justify-content: space-between; padding: 22px 20px 14px; }
.a-head.sp > span:first-child { display: flex; align-items: center; gap: 10px; }
.a-head .hr { display: flex; gap: 8px; }
.a-head.c { justify-content: center; position: relative; }
.a-head.c .back { position: absolute; left: 24px; }
.a-head.c .ttl { font-size: 23px; }
.a-btn { margin: 16px 24px 34px; text-align: center; padding: 18px; border-radius: 14px; background: var(--cherry); color: var(--cream); font-size: 16px; font-weight: 600; }

/* Home */
.ah-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 24px 4px; }
.ah-hi { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 28px; }
.ah-sub { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--cherry); margin-top: 3px; }
.ah-r { display: flex; align-items: center; gap: 8px; }
.ah-foot { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; color: var(--cherry); padding-bottom: 34px; }

/* Camera */
.a-cam { position: relative; background: #1C1C1C; }
.a-cam .full { object-position: 50% 30%; }
.grid3 i { position: absolute; background: rgba(255, 255, 255, 0.28); }
.grid3 i:nth-child(1) { top: 33.3%; left: 0; right: 0; height: 1px; }
.grid3 i:nth-child(2) { top: 66.6%; left: 0; right: 0; height: 1px; }
.grid3 i:nth-child(3) { left: 33.3%; top: 0; bottom: 0; width: 1px; }
.grid3 i:nth-child(4) { left: 66.6%; top: 0; bottom: 0; width: 1px; }
.cbtn { position: absolute; top: 22px; left: 22px; width: 38px; height: 38px; border-radius: 10px; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; }
.cbtn svg, .cround svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cpill { position: absolute; top: 22px; right: 22px; background: rgba(0, 0, 0, 0.45); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.cd { position: absolute; inset: 0 0 200px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cd span { position: absolute; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 170px; color: #fff; opacity: 0; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35); }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.cpanel { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: rgba(28, 28, 28, 0.82); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 26px; padding-bottom: 38px; }
.cto { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.cctl { display: flex; align-items: center; gap: 52px; }
.cround { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.shutter { width: 76px; height: 76px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.55); background: #fff; background-clip: content-box; padding: 3px; }

/* Send to */
.chk { width: 24px; height: 24px; border-radius: 50%; background: var(--cherry); display: flex; align-items: center; justify-content: center; }
.chk svg { width: 12px; height: 12px; }
.chk-o { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); }

/* Squad chat */
.bands { flex: 1; display: flex; flex-direction: column; }
.band { flex: 1; position: relative; overflow: hidden; border-top: 2px solid var(--cream); }
.blab { position: absolute; top: 10px; left: 12px; background: var(--cream); padding: 4px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.bdots { position: absolute; top: 10px; right: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.bdots svg { width: 14px; height: 4px; fill: var(--muted); }
.band.empty { display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Calendar */
.cal-m { display: flex; justify-content: space-between; align-items: center; padding: 4px 30px 14px; color: var(--muted); font-size: 18px; }
.cal-m b { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 20px; color: var(--mocha); }
.cal-w, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 18px; text-align: center; }
.cal-w span { font-size: 11px; color: var(--muted); padding-bottom: 8px; letter-spacing: 0.06em; }
.cal-g span { height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 14px; border-radius: 12px; }
.cal-g span i { width: 6px; height: 6px; border-radius: 50%; background: var(--cherry); }
.cal-g .sel { background: var(--cherry-tint); color: var(--cherry); font-weight: 600; }
.cal-leg { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 12px 28px 10px; }
.cal-leg i { width: 6px; height: 6px; border-radius: 50%; background: var(--cherry); }
.cal-day { margin: 0 24px; border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.cal-dt { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.cal-th { display: flex; gap: 8px; }
.cal-th img { flex: 1; min-width: 0; height: 150px; object-fit: cover; border-radius: 10px; }

/* Streak */
.sk-card { margin: 0 24px; border: 1px solid var(--border); border-radius: 16px; padding: 36px 20px; text-align: center; }
.sk-n { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 78px; line-height: 1; color: var(--cherry); }
.sk-l { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.sk-k { font-size: 14px; color: var(--cherry); margin-top: 12px; }
.sk-week { margin: 0 24px; border: 1px solid var(--border); border-radius: 16px; padding: 16px 14px; display: flex; justify-content: space-between; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wt { display: block; width: 40px; height: 54px; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.wd.on .wt { border: 0; }
.wt img { width: 100%; height: 100%; object-fit: cover; }
.wd b { font-size: 12px; font-weight: 400; color: var(--muted); }
.wd.on b { font-weight: 600; color: var(--cherry); }
.sk-sum { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Animations inside the phone, replayed each time a screen becomes active (.on) */
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes cdn { 0% { opacity: 0; transform: scale(1.5); } 20% { opacity: 1; transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(0.85); } }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 0.9; } 100% { opacity: 0; } }
@keyframes press { 50% { transform: scale(0.88); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.app.on .st { animation: rowIn 0.5s var(--ease) both; animation-delay: calc(var(--i) * 0.09s + 0.15s); }
.app.on .cd span { animation: cdn 0.9s var(--ease) both; }
/* Chat carousel (2026-10-18): one 9:16 card per member, neighbours peek */
.tt2 { display: flex; flex-direction: column; line-height: 1.15; }
.tt2 small { font-size: 12px; color: var(--muted); }
.a-date { display: flex; justify-content: space-between; align-items: baseline; padding: 0 20px 10px; color: var(--muted); }
.a-date span:first-child { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.a-date span:last-child { font-size: 12px; }
.car { position: relative; height: 548px; flex-shrink: 0; }
.cc { position: absolute; top: 2px; width: 292px; padding: 6px; background: var(--paper); border: 1px solid var(--border); border-radius: 16px; }
.cph { position: relative; height: 494px; border-radius: 11px; overflow: hidden; background: var(--border); }
.cph.none { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--cream); border: 1px dashed var(--border); font-size: 14px; color: var(--muted); }
.cph.none .av { width: 68px; height: 68px; opacity: 0.5; }
.ccap { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 6px; }
.ccap b { font-size: 15px; font-weight: 600; }
.ccap span { font-size: 12px; color: var(--muted); }
.ccap i { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.ccap i svg { width: 14px; height: 4px; fill: var(--muted); }
.car-av { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 12px; }
.car-av .av { width: 28px; height: 28px; box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; }
.car-av .av.off { opacity: 0.5; outline: 2px dashed var(--border); outline-offset: 2px; }
.car-bar { display: flex; gap: 12px; padding: 12px 16px 30px; border-top: 1px solid var(--border); }
.car-bar span { flex: 1; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 600; }
.car-bar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cbtn-o { background: var(--paper); border: 1px solid var(--border); color: var(--mocha); }
.cbtn-f { background: var(--cherry); color: var(--cream); }
/* Step 04 swipes on its own: Jordan, Leah, You, back to Maya (9s loop) */
.ctrack { position: absolute; left: 49px; top: 0; height: 100%; transform: translateX(-304px); }
.cc { transition: none; }
.ctrack .c0 { left: 0px; opacity: 0.45; transform: scale(0.92); }
.ctrack .c1 { left: 304px; opacity: 1; transform: scale(1); }
.ctrack .c2 { left: 608px; opacity: 0.45; transform: scale(0.92); }
.ctrack .c3 { left: 912px; opacity: 0.45; transform: scale(0.92); }
.car-av .av.a1 { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--cherry); }
.car-av .cnt { position: relative; margin-left: 6px; width: 38px; height: 16px; font-size: 12px; color: var(--muted); }
.car-av .cnt span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; }
.car-av .cnt .n1 { opacity: 1; }
@keyframes swipeTrack { 0.00%, 12.22% { transform: translateX(-304px); } 16.67%, 28.89% { transform: translateX(-608px); } 33.33%, 45.56% { transform: translateX(-912px); } 50.00%, 62.22% { transform: translateX(-608px); } 66.67%, 78.89% { transform: translateX(-304px); } 83.33%, 95.56% { transform: translateX(0px); } 100% { transform: translateX(-304px); } }
.app.on .ctrack { animation: swipeTrack 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeCard0 { 0.00%, 12.22% { opacity: 0.45; transform: scale(0.92); } 16.67%, 28.89% { opacity: 0.45; transform: scale(0.92); } 33.33%, 45.56% { opacity: 0.45; transform: scale(0.92); } 50.00%, 62.22% { opacity: 0.45; transform: scale(0.92); } 66.67%, 78.89% { opacity: 0.45; transform: scale(0.92); } 83.33%, 95.56% { opacity: 1; transform: scale(1); } 100% { opacity: 0.45; transform: scale(0.92); } }
.app.on .ctrack .c0 { animation: swipeCard0 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeRing0 { 0.00%, 12.22% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 16.67%, 28.89% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 33.33%, 45.56% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 50.00%, 62.22% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 66.67%, 78.89% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 83.33%, 95.56% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--cherry); } 100% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } }
.app.on .car-av .a0 { animation: swipeRing0 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeNum0 { 0.00%, 12.22% { opacity: 0; } 16.67%, 28.89% { opacity: 0; } 33.33%, 45.56% { opacity: 0; } 50.00%, 62.22% { opacity: 0; } 66.67%, 78.89% { opacity: 0; } 83.33%, 95.56% { opacity: 1; } 100% { opacity: 0; } }
.app.on .car-av .n0 { animation: swipeNum0 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeCard1 { 0.00%, 12.22% { opacity: 1; transform: scale(1); } 16.67%, 28.89% { opacity: 0.45; transform: scale(0.92); } 33.33%, 45.56% { opacity: 0.45; transform: scale(0.92); } 50.00%, 62.22% { opacity: 0.45; transform: scale(0.92); } 66.67%, 78.89% { opacity: 1; transform: scale(1); } 83.33%, 95.56% { opacity: 0.45; transform: scale(0.92); } 100% { opacity: 1; transform: scale(1); } }
.app.on .ctrack .c1 { animation: swipeCard1 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeRing1 { 0.00%, 12.22% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--cherry); } 16.67%, 28.89% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 33.33%, 45.56% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 50.00%, 62.22% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 66.67%, 78.89% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--cherry); } 83.33%, 95.56% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 100% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--cherry); } }
.app.on .car-av .a1 { animation: swipeRing1 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeNum1 { 0.00%, 12.22% { opacity: 1; } 16.67%, 28.89% { opacity: 0; } 33.33%, 45.56% { opacity: 0; } 50.00%, 62.22% { opacity: 0; } 66.67%, 78.89% { opacity: 1; } 83.33%, 95.56% { opacity: 0; } 100% { opacity: 1; } }
.app.on .car-av .n1 { animation: swipeNum1 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeCard2 { 0.00%, 12.22% { opacity: 0.45; transform: scale(0.92); } 16.67%, 28.89% { opacity: 1; transform: scale(1); } 33.33%, 45.56% { opacity: 0.45; transform: scale(0.92); } 50.00%, 62.22% { opacity: 1; transform: scale(1); } 66.67%, 78.89% { opacity: 0.45; transform: scale(0.92); } 83.33%, 95.56% { opacity: 0.45; transform: scale(0.92); } 100% { opacity: 0.45; transform: scale(0.92); } }
.app.on .ctrack .c2 { animation: swipeCard2 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeRing2 { 0.00%, 12.22% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 16.67%, 28.89% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--cherry); } 33.33%, 45.56% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 50.00%, 62.22% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--cherry); } 66.67%, 78.89% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 83.33%, 95.56% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 100% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } }
.app.on .car-av .a2 { animation: swipeRing2 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeNum2 { 0.00%, 12.22% { opacity: 0; } 16.67%, 28.89% { opacity: 1; } 33.33%, 45.56% { opacity: 0; } 50.00%, 62.22% { opacity: 1; } 66.67%, 78.89% { opacity: 0; } 83.33%, 95.56% { opacity: 0; } 100% { opacity: 0; } }
.app.on .car-av .n2 { animation: swipeNum2 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeCard3 { 0.00%, 12.22% { opacity: 0.45; transform: scale(0.92); } 16.67%, 28.89% { opacity: 0.45; transform: scale(0.92); } 33.33%, 45.56% { opacity: 1; transform: scale(1); } 50.00%, 62.22% { opacity: 0.45; transform: scale(0.92); } 66.67%, 78.89% { opacity: 0.45; transform: scale(0.92); } 83.33%, 95.56% { opacity: 0.45; transform: scale(0.92); } 100% { opacity: 0.45; transform: scale(0.92); } }
.app.on .ctrack .c3 { animation: swipeCard3 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeRing3 { 0.00%, 12.22% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 16.67%, 28.89% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 33.33%, 45.56% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--cherry); } 50.00%, 62.22% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 66.67%, 78.89% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 83.33%, 95.56% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } 100% { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px transparent; } }
.app.on .car-av .a3 { animation: swipeRing3 9.0s var(--ease) 0.6s infinite; }
@keyframes swipeNum3 { 0.00%, 12.22% { opacity: 0; } 16.67%, 28.89% { opacity: 0; } 33.33%, 45.56% { opacity: 1; } 50.00%, 62.22% { opacity: 0; } 66.67%, 78.89% { opacity: 0; } 83.33%, 95.56% { opacity: 0; } 100% { opacity: 0; } }
.app.on .car-av .n3 { animation: swipeNum3 9.0s var(--ease) 0.6s infinite; }
@media (prefers-reduced-motion: reduce) { .ctrack, .ctrack .cc, .car-av .av, .car-av .cnt span { animation: none !important; } }
/* Step 07: tap Share, pick Film, send to Instagram (plays once when shown) */
.a-share { position: relative; }
.sh-chat { position: absolute; inset: 0; display: flex; flex-direction: column; }
.a-share .ctrack, .a-share .ctrack .cc, .a-share .car-av .av, .a-share .car-av .cnt span { animation: none !important; }
.sheet { position: absolute; inset: 0; background: var(--cream); transform: translateY(100%); z-index: 3; }
.sh-head { position: absolute; left: 24px; right: 24px; top: 26px; display: flex; justify-content: space-between; align-items: flex-start; }
.sh-ttl { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 26px; }
.sh-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.sh-done { font-size: 15px; color: var(--muted); padding-top: 6px; }
.sh-prev { position: absolute; left: 60px; top: 112px; width: 270px; height: 480px; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 30px rgba(61, 43, 31, 0.18); }
.sh-prev .f-film { opacity: 0; }
.sh-chips { position: absolute; left: 16px; top: 616px; display: flex; gap: 6px; white-space: nowrap; }
.ch { flex-shrink: 0; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--mocha); }
.c-pol { width: 92px; background: var(--mocha); border-color: var(--mocha); color: var(--cream); }
.c-cov { width: 70px; } .c-film { width: 58px; } .c-rec { width: 80px; } .c-mine { width: 92px; }
.sh-dest { position: absolute; left: 41px; top: 668px; display: flex; gap: 28px; }
.dt { width: 56px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dt b { width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--border); background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--cherry); font-size: 15px; font-weight: 700; }
.dt b svg { width: 20px; height: 20px; fill: none; stroke: var(--cherry); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dt small { font-size: 12px; color: var(--muted); }
.sh-toast { position: absolute; left: 50%; top: 556px; transform: translate(-50%, 8px); display: flex; align-items: center; gap: 6px; white-space: nowrap; background: var(--mocha); color: var(--cream); padding: 10px 16px; border-radius: 999px; font-size: 13px; opacity: 0; }
.sh-toast svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tap { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(61, 43, 31, 0.2); border: 2px solid rgba(61, 43, 31, 0.55); opacity: 0; z-index: 5; pointer-events: none; }
.t1 { left: 287px; top: 776px; } .t2 { left: 219px; top: 633px; } .t3 { left: 69px; top: 696px; }
@keyframes tapPulse { 0% { opacity: 0; transform: scale(0.5); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes chipOff { to { background: transparent; border-color: var(--border); color: var(--mocha); } }
@keyframes chipOn { to { background: var(--mocha); border-color: var(--mocha); color: var(--cream); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes toastIn { to { opacity: 1; transform: translate(-50%, 0); } }
.app.on .t1 { animation: tapPulse 0.6s ease-out 0.6s both; }
.app.on.a-share .cbtn-f { animation: press 0.3s 0.7s; }
.app.on .sheet { animation: sheetUp 0.55s var(--ease) 1.05s both; }
.app.on .t2 { animation: tapPulse 0.6s ease-out 2.4s both; }
.app.on .c-pol { animation: chipOff 0.25s ease 2.6s both; }
.app.on .c-film { animation: chipOn 0.25s ease 2.6s both; }
.app.on .sh-prev .f-film { animation: fadeIn 0.45s ease 2.6s both; }
.app.on .t3 { animation: tapPulse 0.6s ease-out 4.0s both; }
.app.on .d-ig b { animation: press 0.3s 4.1s; }
.app.on .sh-toast { animation: toastIn 0.4s var(--ease) 4.6s both; }
@media (prefers-reduced-motion: reduce) { .a-share .sheet { transform: none; animation: none !important; } .a-share .tap { display: none; } }
/* Home: a fit you haven't opened yet, and one you have */
.stt.new { color: var(--cherry); font-weight: 600; }
.stt.new::before { background: currentColor; }
.stt.seen { color: var(--mocha); }
.stt.seen::before { display: none; }
.nm2 small.new { font-weight: 600; }
/* Squad share frames: real exports shown as images */
.fwrap .frimg { width: 100%; height: 100%; object-fit: cover; display: block; }
.app.on .cd span:nth-child(1) { animation-delay: 0.3s; }
.app.on .cd span:nth-child(2) { animation-delay: 1.2s; }
.app.on .cd span:nth-child(3) { animation-delay: 2.1s; }
.app.on .flash { animation: flash 0.7s 3.05s both; }
.app.on .shutter { animation: press 0.3s 2.95s; }
.app.on .timer { background: rgba(106, 27, 41, 0.95); }
.app.on .chk { animation: pop 0.4s var(--ease) both; animation-delay: calc(var(--i) * 0.45s + 0.4s); }
.app.on .band { animation: wipe 0.7s var(--ease) both; animation-delay: calc(var(--i) * 0.14s + 0.15s); }
.app.on .cal-g i { animation: pop 0.3s var(--ease) both; animation-delay: calc(var(--i) * 0.03s + 0.2s); }
.app.on .cal-th img { animation: rowIn 0.5s var(--ease) both; }
.app.on .cal-th img:nth-child(1) { animation-delay: 1.1s; }
.app.on .cal-th img:nth-child(2) { animation-delay: 1.2s; }
.app.on .cal-th img:nth-child(3) { animation-delay: 1.3s; }
.app.on .sk-n { animation: rowIn 0.6s var(--ease) both; }
.app.on .wd.on .wt { animation: pop 0.45s var(--ease) both; animation-delay: calc(var(--i) * 0.15s + 0.35s); }

/* ---------- Share frames (360 x 640, shown at scale --k) ---------- */
.fwrap { --k: 0.5; position: relative; width: calc(360px * var(--k)); height: calc(640px * var(--k)); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(61, 43, 31, 0.2); }
.fr { position: absolute; top: 0; left: 0; width: 360px; height: 640px; transform: scale(var(--k)); transform-origin: 0 0; overflow: hidden; background: var(--cream); color: var(--mocha); font-family: var(--text); }
.fr .full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; max-width: none; }
.wm { font-family: var(--display); font-style: italic; font-weight: 600; }
.fr-min .lbl { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); background: var(--cream); padding: 5px 18px; border-radius: 8px; font-size: 22px; }
.fr-str .top { position: absolute; top: 24px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; }
.fr-str .lbl { background: var(--cream); padding: 4px 14px; border-radius: 8px; font-size: 22px; }
.spill { display: flex; align-items: baseline; gap: 6px; background: var(--cherry); color: var(--cream); padding: 7px 14px; border-radius: 999px; }
.spill b { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1; }
.spill small { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.fr-str .bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px 22px; background: rgba(61, 43, 31, 0.8); color: var(--cream); display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.fr-str .dt { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 20px; }
.fr-pol { background: var(--sand); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; }
.print { width: 264px; background: var(--paper); padding: 14px 14px 0; border-radius: 4px; box-shadow: 0 18px 36px rgba(61, 43, 31, 0.18); transform: rotate(-2.5deg); }
.print .ph { position: relative; width: 236px; height: 300px; overflow: hidden; }
.cap { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 4px 20px; }
.cap .wm { font-size: 24px; }
.cap span { font-size: 13px; color: var(--muted); }
.fr-pol .url { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fr-cov .mast { position: absolute; top: 16px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fr-cov .big { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 96px; line-height: 1; color: var(--cherry); text-shadow: 0 2px 16px rgba(234, 229, 217, 0.6); }
.fr-cov .mast small, .fr-cov .line, .fr-cov .foot { text-shadow: 0 1px 8px rgba(234, 229, 217, 0.9); }
.fr-cov .mast small { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.fr-cov .line { position: absolute; left: 22px; top: 250px; width: 120px; display: flex; flex-direction: column; gap: 10px; }
.fr-cov .line b { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 20px; line-height: 1.15; }
.fr-cov .line small { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.fr-cov .foot { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.fr-week { background: var(--mocha); color: var(--cream); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 18px; }
.fr-week .hd { display: flex; justify-content: space-between; align-items: baseline; }
.fr-week .hd .wm { font-size: 26px; }
.fr-week .hd small { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #D6CDBB; }
.fr-week .main { position: relative; flex: 1; border-radius: 10px; overflow: hidden; }
.row7 { display: flex; justify-content: space-between; }
.row7 .t { display: block; width: 38px; height: 52px; border-radius: 6px; overflow: hidden; }
.row7 .t img { width: 100%; height: 100%; object-fit: cover; }
.row7 .t.today { border: 2px solid var(--cream); }
.row7 .t.e { border: 1px dashed rgba(234, 229, 217, 0.4); }
.fr-week .ft { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(234, 229, 217, 0.3); padding-top: 14px; font-size: 13px; }
.fr-week .ft b { font-family: var(--display); font-style: italic; font-size: 24px; }
.fr-tag .string { position: absolute; right: 62px; top: 330px; width: 120px; height: 120px; fill: none; stroke: var(--cream); stroke-width: 1.5; }
.tag { position: absolute; right: 26px; bottom: 40px; width: 132px; height: 196px; background: var(--paper); border-radius: 10px 10px 8px 8px; box-shadow: 0 12px 24px rgba(61, 43, 31, 0.28); transform: rotate(-6deg); padding: 34px 16px 14px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.tag .hole { position: absolute; top: 12px; left: 57px; width: 14px; height: 14px; border-radius: 50%; background: #C9B8A6; border: 2px solid var(--border); }
.tag .wm { font-size: 30px; line-height: 1; }
.tag hr { width: 100%; border: 0; border-top: 1px solid var(--border); margin: 2px 0; }
.tag small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tag b { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1; color: var(--cherry); }
.tag span { font-size: 12px; }
.tag em { margin-top: auto; font-style: normal; font-size: 10px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero .wrap { padding-top: 32px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 36px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-badge { display: flex; align-items: center; gap: 14px; }
.app-icon { border-radius: 22.5%; box-shadow: 0 8px 20px rgba(61, 43, 31, 0.18), 0 0 0 1px rgba(61, 43, 31, 0.06); }
.app-icon.big { width: 120px; height: 120px; animation: bob 5s ease-in-out infinite; }
.app-icon.tiny { width: 28px; height: 28px; box-shadow: 0 0 0 1px rgba(61, 43, 31, 0.1); align-self: center; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.pill { align-self: flex-start; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cherry); background: var(--cherry-tint); padding: 7px 12px; border-radius: 999px; }
.hero h1 { font-size: 46px; line-height: 1.05; }
.hero h1 .line { display: block; }
.hero h1 .w { display: inline-block; }
.lead { font-size: 17px; line-height: 1.6; color: var(--body); }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.note { font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; width: 100%; max-width: 420px; height: 560px; align-self: center; }
.hero-device { --k: 0.58 !important; position: absolute; left: 50%; top: 50%; margin-left: calc((390px * 0.58 + 20px) / -2); margin-top: calc((844px * 0.58 + 20px) / -2); }
.pcard { position: absolute; z-index: 2; width: 104px; background: var(--paper); padding: 6px 6px 8px; border-radius: 6px; box-shadow: 0 16px 30px rgba(61, 43, 31, 0.22); will-change: transform; }
.pcard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 3px; }
.pcard figcaption { font-size: 10px; color: var(--muted); margin-top: 5px; }
.pcard.c1 { left: 0; top: 34px; transform: rotate(-6deg); }
.pcard.c2 { right: 0; top: 210px; transform: rotate(5deg); }
.pcard.c3 { left: 8px; bottom: 26px; transform: rotate(4deg); }

/* ---------- Photo marquee ---------- */
.marquee { background: var(--mocha); padding: 24px 0; overflow: hidden; }
.mq-track { display: flex; gap: 14px; padding-right: 14px; width: max-content; animation: mq 60s linear infinite; }
.mq { position: relative; flex-shrink: 0; width: 110px; }
.mq img { width: 110px; height: 146px; object-fit: cover; object-position: 50% 30%; border-radius: 8px; }
.mq figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--cream); color: var(--mocha); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Pinned story ---------- */
.story { padding: 72px 0; background: var(--sand); }
.story-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.story h2, .diary h2, .hscroll h2 { font-size: 38px; line-height: 1.08; }
.story-steps { display: flex; flex-direction: column; gap: 64px; }
.story-step { display: flex; flex-direction: column; gap: 12px; }
.story-step .num { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 36px; color: var(--cherry); }
.story-step h3 { font-size: 24px; font-weight: 600; }
.story-step p { font-size: 17px; line-height: 1.6; color: var(--body); max-width: 460px; }
.step-device { margin-top: 14px; align-self: center; }
.story-stage { display: none; }

/* ---------- Diary (pinned; the month fills in as you scroll) ---------- */
.diary { height: 260vh; background: var(--cream); }
.diary .pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.diary-grid { display: grid; gap: 22px; }
.diary-copy { display: flex; flex-direction: column; gap: 14px; }
.diary .body { display: none; }
.diary-count { display: flex; align-items: baseline; gap: 10px; }
.dn { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 52px; line-height: 1; color: var(--cherry); font-variant-numeric: tabular-nums; min-width: 1.3em; }
.diary-count small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.diary-cal { width: 100%; max-width: min(100%, calc((100vh - 360px) / 1.2)); justify-self: center; background: var(--paper); border: 1px solid var(--border); border-radius: 20px; padding: 14px; box-shadow: 0 20px 40px rgba(61, 43, 31, 0.08); }
.dh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.dh b { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 22px; }
.dh span { font-size: 13px; color: var(--muted); }
.dw, .dg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.dw { margin-bottom: 6px; }
.dw span { text-align: center; font-size: 11px; color: var(--muted); }
.dc { position: relative; aspect-ratio: 3 / 4; border-radius: 7px; background: var(--cream); overflow: hidden; }
.dc.e { background: transparent; }
.dc em { position: absolute; top: 3px; left: 5px; z-index: 2; font-style: normal; font-size: 10px; color: var(--muted); transition: color 0.3s; }
.dc i { position: absolute; inset: 0; background-size: cover; background-position: 50% 30%; opacity: 0; transform: scale(1.2); transition: opacity 0.35s, transform 0.5s var(--ease); }
.dc.f i { opacity: 1; transform: none; }
.dc.f em { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }

/* ---------- Statement: words light up as you scroll ---------- */
.statement { background: var(--mocha); padding: 110px 0; }
.big-words { font-size: 36px; line-height: 1.22; color: var(--cream); }
.big-words .w { color: rgba(234, 229, 217, 0.2); transition: color 0.35s; }
.big-words .w.lit { color: var(--cream); }

/* ---------- Group photo ---------- */
.cine { background: var(--cream); }
.cine-frame { position: relative; overflow: hidden; }
.cine-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transform: scale(var(--z, 1.12)); will-change: transform; }
.cine-copy { position: relative; margin: -36px 16px 0; background: var(--mocha); color: var(--cream); padding: 24px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
.cine-copy h2 { font-size: 34px; line-height: 1.1; }
.cine-copy p { font-size: 16px; line-height: 1.55; color: #D6CDBB; }

/* ---------- Photo wall ---------- */
.together { background: var(--cream); padding: 72px 0 40px; overflow: hidden; }
.tg-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.tg-head h2 { font-size: 38px; line-height: 1.08; }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 16px; }
.mcol { display: flex; flex-direction: column; gap: 12px; will-change: transform; }
.mcol:nth-child(even) { margin-top: 60px; }
.mcol:nth-child(n+3) { display: none; }
.mcol img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; box-shadow: 0 14px 30px rgba(61, 43, 31, 0.14); }

/* ---------- Share frames: pinned sideways scroll ---------- */
.hscroll { height: 300vh; background: var(--cream); }
.hscroll .pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-top: 60px; }
.hs-head { display: flex; flex-direction: column; gap: 12px; }
.hscroll .body { display: none; }
.hs-track { display: flex; align-items: flex-start; gap: 22px; padding: 10px 24px 30px; width: max-content; will-change: transform; }
.fcard { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fcard:nth-child(odd) .fwrap { transform: rotate(-2deg); }
.fcard:nth-child(even) .fwrap { transform: rotate(2deg) translateY(14px); }
.fcard:nth-child(even) figcaption { margin-top: 14px; }
.fcard figcaption { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 { font-size: 40px; }
.streak-count { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--cherry); }
.streak-count span { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 76px; line-height: 1; font-variant-numeric: tabular-nums; }
.streak-count small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.site-footer .brand { display: flex; align-items: baseline; gap: 10px; }
.site-footer .brand .logo { font-size: 24px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .links a { color: var(--mocha); }
.site-footer .illus { font-size: 12px; color: var(--muted); padding-bottom: 24px; margin: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; display: flex; flex-direction: column; gap: 32px; font-size: 17px; line-height: 1.7; color: #4A3A2D; }
.legal h1 { font-size: 44px; line-height: 1.05; color: var(--mocha); }
.legal .updated { font-size: 15px; color: var(--muted); margin-top: 10px; display: block; }
.legal .draft { background: var(--cherry-tint); color: var(--cherry-dark); border-radius: 12px; padding: 16px 20px; font-size: 15px; line-height: 1.55; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal h2 { font-size: 22px; font-weight: 600; color: var(--mocha); }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal strong { color: var(--mocha); }

/* ---------- Load and reveal motion (only when JavaScript runs) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .load { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 0.12s + 0.1s); }
.js .load-w { opacity: 0; animation: fadeUp 0.8s var(--ease) forwards; animation-delay: calc(var(--i) * 0.08s + 0.15s); }
.js .line + .line .load-w { animation-delay: calc(var(--i) * 0.08s + 0.45s); }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 0.1s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .site-header .wrap { height: 80px; }
  .logo { font-size: 34px; }
  .nav .hide-mobile { display: inline; }
  .section { padding: 120px 0; }
  .eyebrow { font-size: 14px; }
  .body { font-size: 19px; line-height: 1.65; }

  .hero .wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 96px; }
  .hero-copy { max-width: 600px; gap: 28px; }
  .pill { font-size: 14px; padding: 8px 14px; }
  .hero h1 { font-size: 68px; }
  .lead { font-size: 20px; }
  .hero-visual { max-width: 540px; height: 700px; flex-shrink: 0; }
  .hero-device { --k: 0.74 !important; margin-left: calc((390px * 0.74 + 20px) / -2); margin-top: calc((844px * 0.74 + 20px) / -2); }
  .pcard { width: 168px; padding: 8px 8px 10px; }
  .pcard figcaption { font-size: 12px; }
  .pcard.c1 { left: 0; top: 40px; }
  .pcard.c2 { right: 0; top: 250px; }
  .pcard.c3 { left: 20px; bottom: 30px; }

  .marquee { padding: 32px 0; }
  .mq { width: 150px; }
  .mq img { width: 150px; height: 200px; }

  .story { padding: 120px 0 40px; }
  .story-head { margin-bottom: 0; }
  .story h2, .diary h2, .hscroll h2 { font-size: 60px; }
  .story-grid { display: grid; grid-template-columns: 1fr 360px; gap: 80px; }
  .story-steps { gap: 0; }
  .story-step { min-height: 82vh; justify-content: center; gap: 16px; opacity: 0.25; transition: opacity 0.5s var(--ease); }
  .story-step.active { opacity: 1; }
  .story-step .num { font-size: 52px; }
  .story-step h3 { font-size: 38px; font-family: var(--display); font-style: italic; }
  .story-step p { font-size: 20px; }
  .step-device { display: none; }
  .story-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; position: sticky; top: calc(50vh - 375px); height: 750px; }
  .stage-device .app.layer { opacity: 0; transform: scale(var(--k)) translateY(40px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
  .stage-device .app.layer.on { opacity: 1; transform: scale(var(--k)); z-index: 2; }
  .story-dots { display: flex; gap: 8px; }
  .story-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--border); transition: width 0.4s var(--ease), background 0.4s; }
  .story-dots span.active { width: 26px; background: var(--cherry); }

  .diary { height: 280vh; }
  .diary-grid { grid-template-columns: 1fr min(540px, calc((100vh - 140px) / 1.2)); gap: 80px; align-items: center; }
  .diary-copy { gap: 20px; max-width: 520px; }
  .diary .body { display: block; }
  .dn { font-size: 88px; }
  .diary-cal { padding: 22px; max-width: none; }
  .dw, .dg { gap: 8px; }
  .dc em { font-size: 12px; top: 4px; left: 7px; }

  .statement { padding: 180px 0; }
  .big-words { font-size: 72px; line-height: 1.12; max-width: 1100px; }

  .cine-frame { height: 92vh; min-height: 560px; }
  .cine-img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .cine-copy { position: absolute; margin: 0; left: 40px; bottom: 40px; max-width: 520px; padding: 32px; background: rgba(61, 43, 31, 0.86); }
  .cine-copy h2 { font-size: 52px; }
  .cine-copy p { font-size: 18px; }

  .together { padding: 120px 0 60px; }
  .tg-head h2 { font-size: 60px; }
  .tg-head .body { max-width: 620px; }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
  .mcol { gap: 20px; }
  .mcol:nth-child(n+3) { display: flex; }
  .mcol:nth-child(even) { margin-top: 120px; }
  .hscroll { height: 320vh; }
  .hscroll .pin { padding-top: 80px; gap: 36px; }
  .hscroll .body { display: block; max-width: 620px; }
  .hs-track { gap: 40px; padding: 10px 40px 40px; }
  .fwrap { --k: 0.72; }

  .cta h2 { font-size: 66px; }
  .streak-count span { font-size: 120px; }

  .site-footer { font-size: 15px; }
  .site-footer .wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }

  .legal { padding: 80px 24px 96px; gap: 36px; }
  .legal h1 { font-size: 64px; }
  .legal h2 { font-size: 24px; }
}

/* Shorter laptop screens: shrink the pinned phone and frames so they fit */
@media (min-width: 900px) and (max-height: 820px) {
  .hscroll .body { display: none; }
}

/* Respect people who turn off motion in their device settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .load, .js .load-w, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .app.on *, .mq-track, .app-icon.big { animation: none !important; }
  .pcard, .hs-track, .cine-img, .mcol { transform: none !important; }
  .hscroll { height: auto; }
  .hscroll .pin { position: static; height: auto; padding: 80px 0; }
  .hs-track { width: auto; overflow-x: auto; }
  .diary .dc i { opacity: 1; transform: none; }
}

/* ---------- Invite fallback (/add/<username>) ---------- */
.invite .lead { font-size: 18px; color: var(--body); margin-top: 12px; }
.invite .handle { font-weight: 600; color: var(--mocha); }
