/* Mo Free Apps
   Concept: the person is ink on paper; the apps bring the colour.
   Hero: seven real phones fanned across the page, each glowing its own accent.
   Then one full-bleed room per app in that app's colour. */
:root {
  --paper: #f4f4f0;
  --ink: #111111;
  --mute: #6a6a66;
  --line: #d9d9d2;
  --display: "Manrope", "Avenir Next", system-ui, sans-serif;
  --body: -apple-system, system-ui, "Segoe UI", sans-serif;
  --max: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; }
.brand img { width: 28px; height: 28px; }
.top nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) { .top nav a.hide-sm { display: none; } }

/* hero */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 8.6vw, 112px); max-width: 11ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--mute); }
.hero .lead { font-size: clamp(18px, 2vw, 22px); max-width: 42ch; margin-top: 26px; color: #333; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; font-family: var(--display); font-weight: 800; font-size: 15px; }
.stats span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); margin-right: 10px; vertical-align: 2px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 16px; padding: 15px 22px; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); min-height: 48px; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:hover { transform: translateY(-1px); }

/* phone fan */
.fan { position: relative; height: 560px; margin-top: 56px; }
.fan .phone { position: absolute; bottom: -120px; left: 50%; width: 236px; transform-origin: 50% 120%; transition: transform .5s ease; }
.fan .phone:nth-child(1) { transform: translateX(-50%) rotate(-22deg); }
.fan .phone:nth-child(2) { transform: translateX(-50%) rotate(-14.67deg); }
.fan .phone:nth-child(3) { transform: translateX(-50%) rotate(-7.33deg); }
.fan .phone:nth-child(4) { transform: translateX(-50%) rotate(0deg); }
.fan .phone:nth-child(5) { transform: translateX(-50%) rotate(7.33deg); }
.fan .phone:nth-child(6) { transform: translateX(-50%) rotate(14.67deg); }
.fan .phone:nth-child(7) { transform: translateX(-50%) rotate(22deg); }
.fan .phone:hover { z-index: 7; }
.phone { aspect-ratio: 640 / 1391; border-radius: 40px; background: #0a0a0a; padding: 9px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.4), 0 0 90px -10px var(--glow, transparent); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
@media (max-width: 760px) {
  .fan { height: auto; margin: 44px -20px 0; padding: 0 20px 36px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .fan .phone { position: static; width: 58vw; max-width: 240px; flex: 0 0 auto; transform: none !important; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .fan .phone { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .fan .phone:nth-child(2) { animation-delay: .06s } .fan .phone:nth-child(3) { animation-delay: .12s }
  .fan .phone:nth-child(4) { animation-delay: .18s } .fan .phone:nth-child(5) { animation-delay: .24s } .fan .phone:nth-child(6) { animation-delay: .3s }
  .fan .phone:nth-child(7) { animation-delay: .36s }
  @keyframes rise { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
}

/* rooms */
.room { color: var(--fg); background: var(--bg); padding: 96px 0; }
.room .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.room.flip .wrap > .copy { order: 2; }
.room h2 { font-size: clamp(44px, 7vw, 88px); }
.room .tag { font-family: var(--display); font-weight: 800; font-size: 18px; margin-top: 10px; opacity: .8; }
.room .copy p.desc { font-size: clamp(18px, 1.8vw, 22px); max-width: 40ch; margin-top: 22px; }
.room .copy .btn { margin-top: 30px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.room .phone { width: min(300px, 70vw); margin: 0 auto; --glow: transparent; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.35); }
.room .shot { display: grid; place-items: center; }
.room.flip .shot .phone { rotate: 4deg; } .room:not(.flip) .shot .phone { rotate: -4deg; }
@media (max-width: 760px) {
  .room { padding: 64px 0; }
  .room .wrap { grid-template-columns: 1fr; gap: 36px; }
  .room.flip .wrap > .copy { order: 0; }
  .room .shot .phone { rotate: 0deg !important; }
}

/* why */
.why { padding: 110px 0; }
.why .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why h2 { font-size: clamp(40px, 5.5vw, 72px); }
.why .prose p { font-size: 19px; margin-top: 18px; max-width: 48ch; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.facts b { font-family: var(--display); font-weight: 800; text-align: right; }
@media (max-width: 760px) { .why { padding: 72px 0; } .why .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* suggest */
.suggest { background: var(--ink); color: var(--paper); padding: 110px 0; }
.suggest h2 { font-size: clamp(40px, 6.5vw, 84px); max-width: 14ch; }
.suggest .lead { font-size: 19px; margin-top: 22px; max-width: 52ch; color: #cfcfc8; }
.suggest form { margin-top: 36px; display: grid; gap: 14px; max-width: 760px; }
.suggest label { font-family: var(--display); font-weight: 800; font-size: 22px; }
.suggest textarea { font: inherit; font-size: 20px; width: 100%; min-height: 120px; padding: 18px 20px; border-radius: 18px; border: 2px solid #3a3a38; background: #1b1b1a; color: var(--paper); resize: vertical; }
.suggest textarea:focus { outline: none; border-color: var(--paper); }
.suggest .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); justify-self: start; }
.suggest .fine { font-size: 15px; color: #a3a39c; max-width: 60ch; }
.suggest .fine a { color: #e6e6df; }
@media (max-width: 760px) { .suggest { padding: 72px 0; } }

/* fund + public */
.pair { padding: 96px 0; }
.pair .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { border: 2px solid var(--ink); border-radius: 28px; padding: 36px; display: grid; gap: 16px; align-content: start; }
.card h2 { font-size: clamp(30px, 3.6vw, 44px); }
.card p { font-size: 18px; max-width: 40ch; }
.card .btn { justify-self: start; }
@media (max-width: 760px) { .pair { padding: 64px 0; } .pair .wrap { grid-template-columns: 1fr; } .card { padding: 26px; } }

/* about */
.about { padding: 110px 0; border-top: 1px solid var(--line); }
.about .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.portrait img { width: 220px; height: 220px; border-radius: 50%; background: var(--ink); padding: 40px; object-fit: contain; }
.portrait img.photo { padding: 0; object-fit: cover; }
.bio h2 { font-size: clamp(40px, 5.5vw, 72px); margin: 8px 0 22px; }
.bio p { font-size: 19px; max-width: 58ch; margin-top: 16px; }
.bio p.links { font-family: var(--display); font-weight: 800; margin-top: 28px; }
@media (max-width: 760px) { .about { padding: 72px 0; } .about .wrap { grid-template-columns: 1fr; gap: 28px; } .portrait img { width: 140px; height: 140px; padding: 26px; } }

/* said */
.said { padding: 0 0 96px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.quotes blockquote { margin: 0; border: 2px solid var(--ink); border-radius: 24px; padding: 28px; display: grid; gap: 14px; align-content: space-between; }
.quotes blockquote p { font-family: var(--display); font-weight: 800; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; letter-spacing: -0.01em; }
.quotes blockquote footer { border: 0; padding: 0; color: var(--mute); font-size: 14px; }
.said .fine, .support .fine { color: var(--mute); font-size: 15px; margin-top: 18px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* next */
.next { background: var(--ink); color: var(--paper); padding: 110px 0; }
.next h2 { font-size: clamp(40px, 6vw, 80px); margin-top: 8px; }
.next .lead { font-size: 19px; color: #cfcfc8; max-width: 52ch; margin-top: 22px; }
.queue { list-style: none; counter-reset: q; margin: 40px 0 0; padding: 0; border-top: 1px solid #3a3a38; }
.queue li { counter-increment: q; display: grid; grid-template-columns: 56px 200px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid #3a3a38; }
.queue li::before { content: counter(q, decimal-leading-zero); font-family: var(--display); font-weight: 800; color: #7a7a74; }
.queue b { font-family: var(--display); font-weight: 800; font-size: 22px; }
.queue span { color: #cfcfc8; }
@media (max-width: 760px) { .next { padding: 72px 0; } .queue li { grid-template-columns: 40px 1fr; } .queue span { grid-column: 2; } }

/* support */
.support { padding: 110px 0; }
.support h2 { font-size: clamp(40px, 5.5vw, 72px); }
.support .lead { font-size: 19px; max-width: 52ch; margin-top: 22px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 36px; }
.way[hidden] { display: none; }
.way { border: 2px solid var(--ink); border-radius: 22px; padding: 24px; text-decoration: none; display: grid; gap: 6px; min-height: 120px; align-content: start; }
.way:hover { background: var(--ink); color: var(--paper); }
.way b { font-family: var(--display); font-weight: 800; font-size: 24px; }
.way span { color: inherit; opacity: .75; font-size: 15px; }
@media (max-width: 760px) { .support { padding: 72px 0; } }

footer { border-top: 1px solid var(--line); padding: 36px 0 60px; color: var(--mute); font-size: 14px; }
footer .wrap { display: grid; gap: 8px; }
footer a { color: var(--mute); }

/* privacy page */
.doc { padding: 72px 0 100px; max-width: 70ch; }
.doc h1 { font-size: clamp(40px, 7vw, 80px); }
.doc h2 { font-size: 26px; margin-top: 44px; }
.doc p { font-size: 18px; margin-top: 14px; }
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.support h1 { font-size: clamp(44px, 7vw, 92px); }
.h2 { font-size: clamp(28px, 3.5vw, 40px); }
.said { padding: 0 0 110px; }
.said .h2 { margin-bottom: 8px; }
.about { border-top: 0; padding-top: 72px; }
/* blog */
.entries{display:grid;gap:28px;margin-top:36px}
.entry a{text-decoration:none;color:inherit}
.entry time,.doc time{font-family:var(--display);font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.entry h2{margin:6px 0 10px;font-size:26px}
.entry h2:hover{text-decoration:underline;text-underline-offset:5px}
.entry p{margin:0;color:var(--mute)}
.entry .more{display:inline-block;margin-top:8px;font-family:var(--display);font-weight:800;color:var(--ink);text-decoration:underline;text-underline-offset:5px}
.doc .eyebrow{margin-bottom:10px}
.doc .eyebrow a{text-decoration:none;color:var(--mute)}
.doc .hero{width:100%;border-radius:14px;margin:24px 0 8px}
.doc .note{color:var(--mute);font-size:15px;margin-top:36px}

/* page bands: every subpage opens on ink with something to look at */
.band{background:var(--ink);color:var(--paper);overflow:hidden;position:relative}
.band .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;min-height:340px;padding-block:48px}
.band h1{font-size:clamp(44px,7vw,92px);line-height:.95}
.band .lede{color:#cfcfc8;font-size:19px;max-width:44ch;margin-top:16px}
.band .art{position:relative;height:300px}
.band .art .phone{position:absolute;width:150px;bottom:-140px;box-shadow:0 30px 60px -20px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.08)}
.band .art .phone:nth-child(1){left:0;rotate:-12deg}
.band .art .phone:nth-child(2){left:120px;rotate:-2deg;bottom:-110px}
.band .art .phone:nth-child(3){left:240px;rotate:9deg}
.band .art img.portrait{position:absolute;right:0;bottom:-48px;width:300px;height:300px;border-radius:50%;object-fit:cover;box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
.band .art .coin{position:absolute;right:20px;top:20px;width:260px;height:260px;border-radius:50%;background:var(--paper);display:grid;place-items:center}
.band .art .coin img{width:150px;height:150px}
@media (max-width:760px){.band .wrap{grid-template-columns:1fr;min-height:0;padding-block:40px}.band .art{height:0}.band .art .phone,.band .art img.portrait,.band .art .coin{display:none}}

/* blog cards */
.cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px}
@media (max-width:760px){.cards{grid-template-columns:1fr}}
.card-post{display:block;text-decoration:none;color:inherit;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff}
.card-post img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top;background:#111}
.card-post .in{padding:18px 20px 22px}
.card-post time{font-family:var(--display);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.card-post h2{font-size:24px;margin:6px 0 8px}
.card-post p{color:var(--mute);margin:0}
.card-post:hover h2{text-decoration:underline;text-underline-offset:5px}

/* post page */
.post-hero{margin:-60px auto 0;max-width:980px;padding:0 20px}
.post-hero img{width:100%;border-radius:18px;box-shadow:0 30px 60px -24px rgba(0,0,0,.6);background:#111}
.post-body{max-width:68ch;margin:0 auto;padding:36px 20px 80px;font-size:19px}
.post-body p{margin:0 0 18px}

/* donate tiles */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-top:-56px;position:relative;z-index:2}
.tile{background:#fff;border-radius:22px;padding:22px;text-decoration:none;color:var(--ink);box-shadow:0 20px 40px -24px rgba(0,0,0,.45);border:1px solid var(--line);display:grid;gap:10px;min-height:170px;align-content:start}
.tile .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-family:var(--display);font-weight:800;color:#fff;font-size:20px}
.tile b{font-family:var(--display);font-weight:800;font-size:22px}
.tile span{color:var(--mute);font-size:15px}
.tile:hover{transform:translateY(-2px)}
.tile[hidden]{display:none}
.goes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
@media (max-width:760px){.goes{grid-template-columns:1fr}}
.goes div{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fff}
.goes b{font-family:var(--display);font-weight:800;display:block;font-size:18px;margin-bottom:6px}
.goes p{color:var(--mute);margin:0;font-size:15px}
