*{box-sizing:border-box} :root{--p:#7657e8;--pink:#f06ca8;--ink:#28233f;--muted:#817c94;--line:#eee9fa;--bg:#fbfaff}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--p);text-decoration:none}.wrap{width:min(1000px,calc(100% - 32px));margin:auto}
.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(16px,calc((100% - 1000px)/2))}
.brand{font-size:24px;font-weight:900;letter-spacing:-1px;color:var(--ink)}.brand span{color:var(--p)}.brand i{color:var(--pink);font-style:normal}
nav{display:flex;gap:18px;align-items:center}nav a{font-size:13px;font-weight:750;color:#69647e}
main{min-height:calc(100vh - 125px);padding:40px 0 55px}
.hero{display:grid;grid-template-columns:1fr .8fr;gap:35px;align-items:center;min-height:550px}
.tag{display:inline-block;padding:8px 13px;border-radius:30px;background:#f1edff;color:var(--p);font-size:12px;font-weight:800}
h1{font-size:clamp(42px,6vw,64px);line-height:1.05;letter-spacing:-2.8px;margin:18px 0 14px}
.gradient{background:linear-gradient(100deg,var(--p),var(--pink));color:transparent;background-clip:text;-webkit-background-clip:text}
.lead{font-size:16px;line-height:1.7;color:var(--muted);max-width:490px}
.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:0 15px 45px #4a347b10}
label{display:block;font-size:13px;font-weight:800;margin:15px 0 7px}
input,textarea{width:100%;border:1.5px solid #e7e1f1;border-radius:12px;padding:13px 14px;font:inherit;outline:none;background:#fff;color:var(--ink)}
input:focus,textarea:focus{border-color:var(--p);box-shadow:0 0 0 3px #7657e81a}
textarea{min-height:140px;resize:vertical}
.btn{display:inline-flex;align-items:center;justify-content:center;width:100%;border:0;border-radius:12px;background:linear-gradient(110deg,var(--p),#9673f3);color:#fff;font:inherit;font-weight:850;padding:14px 17px;cursor:pointer;margin-top:16px}
.btn.secondary{background:#f1edff;color:var(--p)}.muted{color:var(--muted);font-size:13px;line-height:1.6}.small{font-size:11px;color:#9993a9;line-height:1.6}
.art{background:linear-gradient(145deg,#eee8ff,#ffe5f1);border-radius:48% 52% 61% 39%/43% 40% 60% 57%;padding:38px;max-width:370px;margin:auto;transform:rotate(-3deg)}
.preview{background:#fff;border:7px solid var(--ink);border-radius:30px;padding:20px;box-shadow:0 20px 50px #4b367b20;transform:rotate(3deg)}
.bubble{padding:13px;border-radius:14px;margin:10px 0;font-size:12px;line-height:1.5}.bubble:nth-child(2){background:#fff0f6}.bubble:nth-child(3){background:#f2efff}.bubble:nth-child(4){background:#fff8e7}
.panel{max-width:560px;margin:15px auto}.panel h1{font-size:30px;letter-spacing:-1px}.flash{padding:12px 15px;border-radius:12px;margin:15px 0;font-size:13px}.flash.success{background:#eaf8f1;color:#247b5b}.flash.error{background:#fff0f2;color:#bd4057}
.info{background:#faf8ff;border:1px solid var(--line);border-radius:13px;padding:14px;margin:15px 0;overflow-wrap:anywhere}.row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.row:last-child{border:0}
.message{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;margin:12px 0;box-shadow:0 5px 18px #33216b06}.message p{margin:0 0 10px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.message small{color:var(--muted)}.message-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end}.inline-btn{border:0;background:#f1edff;color:var(--p);padding:8px 12px;border-radius:9px;font-weight:750;cursor:pointer}
footer{text-align:center;padding:18px;color:#a09bb0;font-size:11px;border-top:1px solid var(--line)}
@media(max-width:760px){.hero{grid-template-columns:1fr;gap:20px;min-height:auto}.hero>div:first-child{text-align:center}.lead{margin-left:auto;margin-right:auto}.art{max-width:300px;padding:25px}h1{font-size:44px}.topbar{padding:0 16px}nav{gap:11px}nav a{font-size:12px}}

/* Private inbox message cards */
.inbox-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 22px}
.inbox-count{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px 19px;text-align:center;min-width:88px}
.inbox-count b{display:block;font-size:25px;color:var(--p)}.inbox-count span{font-size:11px;color:var(--muted)}
.share-link-box{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(110deg,#f1edff,#fff0f6);border:1px solid #eee5ff;border-radius:18px;padding:19px 21px;margin:18px 0 28px}
.share-url{font-size:12px;color:var(--p);overflow-wrap:anywhere;margin-top:7px}.share-link-actions{display:flex;gap:8px;flex-wrap:wrap}.inline-btn{display:inline-flex;border:0;background:#fff;color:var(--p);padding:9px 12px;border-radius:10px;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.messages-heading h2{margin:0 0 4px;font-size:21px}.messages-heading{margin-bottom:14px}
.message-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.received-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:18px 18px 13px;box-shadow:0 8px 25px #33216b07;min-width:0}
.received-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.anonymous-label{font-size:10px;letter-spacing:1px;font-weight:900;color:var(--p)}.new-pill,.read-pill{font-size:9px;font-weight:900;letter-spacing:.6px;padding:5px 8px;border-radius:20px;background:#fff0f6;color:#d65d92}.read-pill{background:#f1edff;color:#8873d7}
.received-body{font-size:17px;font-weight:650;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;min-height:85px;padding:20px 0 15px}
.received-bottom{display:flex;justify-content:space-between;gap:10px;color:#9993a9;font-size:10px;border-top:1px solid #f2eff8;padding:10px 0}
.card-actions{display:flex;gap:7px;flex-wrap:wrap}.card-actions form{margin:0}.card-action{border:0;border-radius:9px;background:#f1edff;color:var(--p);padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer}.card-action.subtle{background:#f7f6fb;color:#716b86}.card-action.delete-action{background:#fff0f2;color:#d75a70}.empty-inbox{background:#fff;border:1px dashed #ded5f3;border-radius:19px;text-align:center;padding:40px 20px}.empty-icon{font-size:38px}.empty-inbox h3{margin:8px 0}
.share-modal{display:none;position:fixed;inset:0;background:#211a3c88;z-index:20;align-items:center;justify-content:center;padding:16px}.share-modal.open{display:flex}.share-modal-card{position:relative;background:#fff;border-radius:21px;padding:22px;width:min(440px,100%);max-height:92vh;overflow:auto;box-shadow:0 20px 65px #17102e35}.modal-close{position:absolute;right:14px;top:12px;border:0;background:#f2eff8;border-radius:50%;width:32px;height:32px;font-size:21px;cursor:pointer;color:#6e6883}
.share-preview{border-radius:17px;padding:25px 22px;min-height:270px;background:linear-gradient(145deg,#eee8ff,#fff0f6,#fff8e8);display:flex;flex-direction:column;justify-content:space-between;margin:18px 0}
.share-preview-brand{font-size:21px;font-weight:900;color:var(--p)}.share-preview-brand span{color:var(--pink)}.share-preview-label{font-size:9px;font-weight:900;letter-spacing:1.5px;color:#9389a8;margin-top:18px}.share-preview-message{font-size:20px;line-height:1.5;font-weight:800;color:#28233f;overflow-wrap:anywhere;white-space:pre-wrap;margin:17px 0}.share-preview-footer{font-size:11px;color:#8d849e}
.share-modal-card>.btn{margin-top:9px}.share-modal-card .muted{font-size:12px}.share-modal-card .small{text-align:center;margin-top:10px}
@media(max-width:700px){.inbox-head{align-items:flex-start}.share-link-box{align-items:flex-start;flex-direction:column}.message-grid{grid-template-columns:1fr}.received-body{min-height:unset}.inbox-count{min-width:70px;padding:9px 12px}}
