/* UProject landing page: static, brand colours (ink #1E2421, paper, UP yellow #F2B33D), the app's own fonts */
@font-face{font-family:'Bricolage Grotesque';font-weight:800;font-display:swap;src:url(fonts/bricolage-grotesque.woff2) format('woff2')}
@font-face{font-family:'Geist';font-weight:400 600;font-display:swap;src:url(fonts/geist.woff2) format('woff2')}
@font-face{font-family:'Geist Mono';font-weight:400 500;font-display:swap;src:url(fonts/geist-mono.woff2) format('woff2')}

:root{--ground:#FCFCFA;--paper:#F6F5F1;--under:#EFEEEA;--ink:#1E2421;--ink2:#2A312D;--muted:#5B605A;--faint:#8A8F88;
  --rule:#E8E6E0;--sun:#F2B33D;--sun-soft:#FFF2D6;--leaf:#2F7D4F;
  --sans:'Geist',-apple-system,system-ui,sans-serif;--mono:'Geist Mono',ui-monospace,Menlo,monospace;--display:'Bricolage Grotesque',var(--sans);
  color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit}
a:focus-visible,.btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}
h1,h2,h3{margin:0;font-family:var(--display);font-weight:800;letter-spacing:-.035em;line-height:1.02}
p{margin:0}
section[id]{scroll-margin-top:72px}
.wrap{max-width:1160px;margin:0 auto;padding:0 16px}
@media (min-width:720px){.wrap{padding:0 32px}}
.lbl{font-family:var(--mono);font-size:12px;color:var(--muted);letter-spacing:.01em}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--sun);flex:none}

/* header */
.top{position:sticky;top:0;z-index:10;background:rgba(252,252,250,.82);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);border-bottom:1px solid transparent;transition:border-color .2s}
.top-in{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:-.035em;line-height:1}
.brand svg{flex:none}.brand b{font-weight:800}.brand i{font-style:normal;color:var(--faint)}
.brand.small{font-size:18px;gap:7px}
.top nav{display:flex;align-items:center;gap:6px}
.top nav a{text-decoration:none;font-size:15px;font-weight:500;color:var(--muted);padding:8px 12px;border-radius:999px}
.top nav a:hover{color:var(--ink);background:var(--under)}
.top nav a.pill{color:var(--ink);box-shadow:inset 0 0 0 1px #DCDCD7}
@media (max-width:620px){.top nav a:not(.pill){display:none}}

/* buttons */
.ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;transition:transform .15s,background .15s}
.btn.primary{background:var(--ink);color:#fff}
.btn.primary:hover{transform:translateY(-1px);background:#2C3430}
.btn.ghost{color:var(--ink);box-shadow:inset 0 0 0 1px #D6D5CF}
.btn.ghost:hover{background:var(--under)}
.btn.disabled{cursor:default;background:var(--sun);color:var(--ink)}
.btn.disabled:hover{transform:none;background:var(--sun)}

/* hero */
.hero{padding:40px 0 64px;background:radial-gradient(1100px 520px at 80% 10%,#FBF3E2 0%,rgba(251,243,226,0) 60%)}
.hero-in{display:grid;gap:48px;align-items:center}
@media (min-width:920px){.hero{padding:72px 0 96px}.hero-in{grid-template-columns:1.1fr .9fr;gap:40px}}
.kicker{display:inline-flex;align-items:center;gap:10px;padding:7px 14px 7px 12px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--rule);font-size:13.5px;font-weight:500;color:var(--ink2)}
.hero h1{margin-top:22px;font-size:clamp(48px,10vw,88px);letter-spacing:-.05em;line-height:.92}
.lede{margin-top:22px;max-width:520px;font-size:clamp(17px,2.2vw,19.5px);line-height:1.55;color:var(--muted)}

/* the phone: a picture of the chat, made of HTML */
.phone{justify-self:center;width:min(340px,100%);aspect-ratio:340/690;padding:10px;border-radius:52px;background:#1E2421;
  box-shadow:0 1px 0 1px #3A423E inset,0 40px 80px -30px rgba(30,36,33,.45),0 18px 36px -24px rgba(30,36,33,.35)}
.screen{position:relative;height:100%;overflow:hidden;border-radius:43px;background:var(--ground);padding:54px 16px 0;display:flex;flex-direction:column;gap:12px;font-size:14px}
.screen::before{content:"";position:absolute;top:12px;left:50%;width:96px;height:28px;margin-left:-48px;border-radius:20px;background:#1E2421}
.p-top{position:absolute;top:50px;left:0;right:0;display:none}
.p-brand{display:inline-flex;align-items:center;gap:6px}
.me{align-self:flex-end;max-width:82%;padding:9px 14px;border-radius:18px 18px 6px 18px;background:var(--under);font-weight:500;line-height:1.35}
.card{flex:none;border-radius:20px;background:#fff;box-shadow:0 0 0 1px var(--rule),0 10px 24px -18px rgba(30,36,33,.35);overflow:hidden}
.card .scene{padding:10px 18px 0}
.card-b{padding:6px 14px 14px}
.card ul{list-style:none;margin:6px 0 0;padding:0}
.card li{display:flex;gap:10px;padding:7px 0;border-top:1px solid var(--rule);font-size:13px;line-height:1.35}
.card li:first-child{border-top:0}
.card li b{flex:none;width:70px;font-weight:600}
.screen::after{content:"";position:absolute;left:0;right:0;bottom:0;height:96px;background:linear-gradient(rgba(252,252,250,0),var(--ground) 55%);pointer-events:none}
.composer{position:absolute;z-index:1;left:12px;right:12px;bottom:14px;display:flex;align-items:center;justify-content:space-between;padding:6px 6px 6px 16px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--rule),0 8px 18px -12px rgba(30,36,33,.3);color:var(--faint)}
.composer i{width:32px;height:32px;border-radius:50%;background:var(--ink);position:relative}
.composer i::after{content:"";position:absolute;inset:0;margin:auto;width:8px;height:8px;border-radius:50%;background:var(--sun)}

/* how people earn */
.earn{padding:72px 0;background:var(--paper)}
.earn-in{display:grid;gap:16px}
@media (min-width:820px){.earn-in{grid-template-columns:1fr 1fr;gap:20px}}
.earn-card{padding:26px 26px 28px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px var(--rule)}
.tag{display:inline-block;padding:4px 10px;border-radius:999px;font-family:var(--mono);font-size:12px}
.tag.live{background:#DDEFE3;color:#1F5A37}
.tag.soon{background:var(--sun-soft);color:#5C4000}
.earn-card h3{margin-top:14px;font-size:26px}
.earn-card ul{margin:14px 0 0;padding:0;list-style:none}
.earn-card li{position:relative;padding:10px 0 10px 20px;border-top:1px solid var(--rule);color:var(--muted);font-size:16px}
.earn-card li:first-child{border-top:0}
.earn-card li::before{content:"";position:absolute;left:2px;top:19px;width:7px;height:7px;border-radius:50%;background:var(--sun)}
.half{margin-top:16px;height:40px;border-radius:12px;background:var(--under);overflow:hidden}
.half span{display:flex;align-items:center;width:50%;height:100%;padding:0 12px;background:var(--sun);font-size:12.5px;font-weight:600;line-height:1.2;color:var(--ink)}

/* the answer card's credit lines (in the phone) */
.av{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--sun);color:var(--ink);font-style:normal;font-size:12px;font-weight:600}
.cc-b .tip{margin-top:8px;padding:8px 10px;border-radius:10px;background:var(--sun-soft);font-size:12.5px;line-height:1.35;color:#3E3210}
.cc-b .tip b{font-weight:600;margin-right:3px}
.cc-b .by{margin-top:10px;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;font-size:12.5px;font-weight:600;line-height:1.3}
.cc-b .by .av{grid-row:span 2;box-shadow:none}
.cc-b .by em{font-style:normal;font-weight:400;color:var(--leaf);font-size:11.5px}

/* everyone wins */
.wins{padding:80px 0}
.wins-in{max-width:760px;text-align:center}
.wins h2{font-size:clamp(34px,5.4vw,54px)}
.wins p{margin:16px auto 0;max-width:600px;font-size:17.5px;color:var(--muted)}

/* sections */
.sec-head{max-width:640px;margin-bottom:36px}
.sec-head h2,.beta h2{margin-top:10px;font-size:clamp(34px,5.4vw,54px)}
.sec-head p{margin-top:14px;font-size:17.5px;color:var(--muted)}
.what{padding:80px 0 24px}
.grid{display:grid;gap:16px;grid-template-columns:1fr}
@media (min-width:640px){.grid{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.grid{grid-template-columns:repeat(3,1fr);gap:20px}}
.feat{padding:22px 24px 26px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px var(--rule);transition:transform .2s,box-shadow .2s}
.feat:hover{transform:translateY(-2px);box-shadow:0 0 0 1px var(--rule),0 18px 36px -24px rgba(30,36,33,.3)}
.feat .scene{width:100%;max-width:150px;margin:0 0 12px;aspect-ratio:200/130}
.feat h3{font-size:24px}
.feat p{margin-top:6px;color:var(--muted);font-size:15.5px}



.beta{padding:0 0 72px}
.beta-in{display:grid;gap:28px;padding:44px 28px;border-radius:32px;background:var(--ink);color:#F3F3F1}
@media (min-width:820px){.beta-in{grid-template-columns:1.4fr 1fr;align-items:end;padding:64px 56px}}
.big-dot{width:14px;height:14px}
.beta h2{margin-top:18px;color:#fff}
.beta p{margin-top:12px;max-width:520px;font-size:17px;color:#B9BCB5}
.beta-act{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
@media (min-width:820px){.beta-act{align-items:flex-end}}
.beta .fine{font-size:13px;color:#8A8F88}
.beta .fine a{color:#D8DAD4}
.btn.sun{border:0;cursor:pointer;font-family:inherit;background:var(--sun);color:var(--ink)}
.btn.sun:hover{transform:translateY(-1px);background:#F5C058}
.btn.sun:disabled{cursor:default;transform:none;opacity:.7}

/* waitlist: "soon" until config.js has a Supabase project, then the form, then "you're on the list" */
.beta-in .when-live,.beta-in.live .when-soon,.wl-done{display:none}
.beta-in.live .when-live{display:block}
.beta-in.live .wl{display:flex}
.beta-in.live.joined .wl{display:none}
.beta-in.joined .wl-done{display:flex}
.wl{flex-direction:column;gap:12px;width:100%}
.wl-fields{display:grid;gap:10px}
.wl-field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500;color:#D8DAD4}
.wl-field i{font-style:normal;color:#8A8F88;font-weight:400}
.wl-field input{width:100%;min-height:50px;padding:0 16px;border-radius:14px;border:1px solid #444C47;background:#262D29;color:#fff;font:inherit;font-size:16px}
.wl-field input::placeholder{color:#7D827B}
.wl-field input:focus{outline:2px solid var(--sun);outline-offset:1px;border-color:transparent}
.wl-field input[aria-invalid="true"]{border-color:#F08A6E}
.wl .btn{width:100%}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.beta .wl-msg{margin:0;font-size:14.5px;color:#D8DAD4;max-width:none}
.beta .wl-msg:empty{display:none}
.beta .wl-msg.bad{color:#F7A58E}
.beta .wl .fine{margin-top:0;max-width:none}
.wl-done{align-items:flex-start;gap:12px;padding:18px 20px;border-radius:18px;background:#262D29;outline:none}
.wl-done svg{flex:none;margin-top:2px}
.beta .wl-done p{margin:0;color:#D8DAD4;font-size:16px}
.wl-done b{color:#fff}
@media (min-width:820px){.wl-fields{grid-template-columns:1.4fr 1fr}.beta-in.live{align-items:center}}

/* footer */
.foot{border-top:1px solid var(--rule);padding:32px 0 40px}
.foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 20px}
.foot nav a{text-decoration:none;font-size:14.5px;color:var(--muted)}
.foot nav a:hover{color:var(--ink);text-decoration:underline}
.foot p{width:100%;font-size:13px;color:var(--faint)}

/* legal pages */
.doc-wrap{max-width:760px;padding-top:40px;padding-bottom:72px;display:flex;flex-direction:column;gap:22px}
.legal h1{margin-top:6px;font-size:clamp(38px,6vw,56px)}
.legal .draft{padding:14px 18px;border-radius:14px;background:var(--sun-soft);color:#5C4000;font-size:14.5px}
.legal .doc{display:flex;flex-direction:column;gap:16px;font-size:16.5px;line-height:1.7}
.legal .doc h2{margin-top:18px;font-size:26px}
.legal .doc p,.legal .doc ul{margin:0}
.legal .doc ul{padding-left:22px}
.legal .doc li{margin:4px 0}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
