:root{font-family:'DM Sans',system-ui,sans-serif;color:#172c32;background:#f5f6ef;font-synthesis:none;--ink:#172c32;--muted:#738078;--line:#e3e7df;--lime:#c9f465;--paper:#f5f6ef;--white:#fff;--red:#a33b32}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent }button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #789b37;outline-offset:3px}a{color:inherit}svg{width:22px;height:22px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.brand-word{font-family:Manrope,system-ui,sans-serif;font-size:34px;font-weight:800;letter-spacing:-2px;line-height:1}.brand-dot{color:#95bb42}.brand-link{text-decoration:none;display:flex;align-items:center;gap:9px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;background:var(--lime);border-radius:11px;font-weight:800;font-size:21px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.boot{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center}.boot p{color:var(--muted);font-size:14px}.button{border:1px solid transparent;border-radius:12px;background:var(--ink);color:white;padding:14px 20px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;min-height:46px}.button.lime{background:var(--lime);color:var(--ink)}.button.outline{background:transparent;border-color:#d8ddd2;color:var(--ink)}.button.danger{background:#fff0ed;color:var(--red)}.button.block{width:100%}.icon-button{border:0;background:transparent;color:var(--ink);padding:10px;border-radius:11px;display:grid;place-items:center;min-width:42px;min-height:42px}.icon-button:hover{background:#e9eee2}.text-button{background:none;border:0;color:var(--ink);font-size:12px;font-weight:600;padding:10px 0;text-decoration:underline;text-underline-offset:4px}.error{background:#fff0ed;color:var(--red);padding:12px 14px;border-radius:10px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.hint{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 0}.field{display:flex;flex-direction:column;gap:8px;margin:20px 0}.field label{font-size:12px;font-weight:700}.field input{border:1px solid #dce2d5;border-radius:11px;padding:14px 15px;background:#fff;color:var(--ink);width:100%;font-size:14px;min-height:48px}.field input::placeholder{color:#9da79d}.field small{color:var(--muted);line-height:1.5;font-size:11px}.password-note{display:flex;align-items:flex-start;gap:9px;background:#edf2e6;border-radius:11px;padding:13px;font-size:11px;line-height:1.6;margin:18px 0}.password-note svg{width:17px;height:17px;margin-top:2px}.gate{min-height:100dvh;max-width:1480px;margin:auto;padding:38px 5.5vw;display:flex;flex-direction:column}.gate-nav{display:flex;align-items:center;justify-content:space-between}.gate-nav>a:last-child{font-size:12px;text-decoration:none;display:flex;align-items:center;gap:7px}.gate-nav>a:last-child svg{width:15px;height:15px}.gate-content{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:10vw;flex:1;max-width:1080px;width:100%;margin:54px auto}.gate-story .eyebrow{display:flex;align-items:center;gap:8px;color:#52654e}.status-dot{width:7px;height:7px;background:#98c445;border-radius:50%;display:inline-block}.gate-story h1{font-family:Manrope,system-ui,sans-serif;font-size:clamp(45px,5vw,68px);line-height:1.08;letter-spacing:-3.5px;font-weight:500;margin:25px 0}.gate-story h1 span{font-family:Georgia,serif;font-style:italic;font-weight:400}.gate-story>p{font-size:15px;line-height:1.8;color:#6b786e;max-width:360px}.gate-art{margin:35px 0;display:flex;align-items:center;gap:12px}.art-icon{width:62px;height:62px;display:grid;place-items:center;border:1px solid #dce4d1;border-radius:19px;background:#eef2e6;transform:rotate(-6deg)}.art-icon:nth-child(2){background:var(--lime);transform:rotate(5deg)}.art-icon:nth-child(3){transform:rotate(-4deg)}.art-icon svg{width:25px;height:25px}.gate-foot{font-size:11px;color:#7d887f;display:flex;justify-content:space-between;gap:20px}.gate-form{background:#fff;border:1px solid var(--line);border-radius:23px;padding:34px;box-shadow:0 12px 45px #243b1810}.gate-form h2{font-family:Manrope,system-ui,sans-serif;font-size:26px;font-weight:600;letter-spacing:-1px;margin:0 0 10px}.gate-form>p{font-size:13px;color:var(--muted);line-height:1.65;margin:0 0 22px}.form-footer{margin-top:16px;text-align:center;font-size:11px;color:var(--muted)}.workspace{height:100dvh;display:grid;grid-template-columns:320px 1fr;max-width:1800px;margin:auto;background:#fff;border-left:1px solid var(--line);border-right:1px solid var(--line)}.sidebar{background:var(--paper);border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.side-brand{height:95px;padding:30px 28px 25px;display:flex;align-items:center;justify-content:space-between}.side-brand .brand-word{font-size:30px}.side-label{padding:23px 26px 13px;display:flex;align-items:center;justify-content:space-between}.side-label h2{font-size:12px;margin:0;font-weight:600}.side-label .icon-button{background:var(--lime);width:34px;height:34px;min-height:34px;min-width:34px;padding:6px}.side-label svg{width:17px;height:17px}.people-list{overflow-y:auto;flex:1;padding:5px 12px}.people-empty{padding:22px 13px;color:#8b958c;font-size:12px;line-height:1.7}.person{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:13px;background:transparent;padding:14px;color:var(--ink);margin-bottom:5px}.person:hover{background:#ebefe4}.person.active{background:#e7eedb}.avatar{width:42px;height:42px;border-radius:14px;background:#dce7cc;display:grid;place-items:center;font-size:15px;font-weight:600;flex-shrink:0;text-transform:uppercase}.person:nth-child(3n+2) .avatar{background:#e8dfce}.person:nth-child(3n+3) .avatar{background:#d7e4e7}.person-info{overflow:hidden;min-width:0}.person strong{display:block;font-size:13px;font-weight:600;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.person small{display:block;font-size:10px;color:#7b8777;margin-top:5px}.self{border-top:1px solid var(--line);padding:20px 20px;display:flex;align-items:center;gap:11px}.self .avatar{width:37px;height:37px;border-radius:50%;background:var(--ink);color:var(--lime);font-size:12px}.self-info{flex:1;min-width:0}.self-info strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis}.self-info small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.self .icon-button svg{width:18px;height:18px}.main{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.topbar{height:95px;flex-shrink:0;padding:22px 35px;border-bottom:1px solid #edf0e8;display:flex;align-items:center;justify-content:space-between;gap:14px}.topbar-title{display:flex;align-items:center;gap:13px;min-width:0}.topbar h1{font-size:14px;font-weight:600;margin:0;overflow-wrap:anywhere}.topbar p{font-size:10px;color:var(--muted);margin:5px 0 0;display:flex;align-items:center;gap:5px}.topbar p svg{width:12px;height:12px}.topbar-actions{display:flex;align-items:center;gap:8px}.privacy-pill{display:flex;align-items:center;gap:7px;font-size:10px;border:1px solid #e4e9dc;border-radius:30px;padding:9px 13px;background:#f9fbf5}.privacy-pill svg{width:13px;height:13px}.welcome{margin:auto;text-align:center;padding:45px 30px;max-width:560px}.welcome-symbol{width:86px;height:86px;background:var(--lime);border-radius:29px;display:grid;place-items:center;margin:0 auto 28px;transform:rotate(-7deg)}.welcome-symbol svg{width:39px;height:39px;transform:rotate(7deg)}.welcome h2{font-family:Manrope,system-ui,sans-serif;font-size:33px;font-weight:500;letter-spacing:-1.5px;margin:0 0 14px}.welcome>p{font-size:13px;line-height:1.8;color:var(--muted);max-width:330px;margin:0 auto 24px}.welcome-features{display:flex;justify-content:center;gap:27px;padding-top:40px;margin-top:18px;border-top:1px solid var(--line)}.welcome-features>span{font-size:10px;color:#7e897b;display:flex;flex-direction:column;align-items:center;gap:10px}.welcome-features svg{width:19px;height:19px;color:#778969}.main-bottom{text-align:center;color:#98a18f;font-size:10px;padding:18px}.chat-body{display:flex;flex-direction:column;flex:1;min-height:0}.verify-banner{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;color:#6f795d;font-size:10px;padding:12px;background:#f7f9f1;border-bottom:1px solid #edf0e7;text-align:center}.verify-banner svg{width:14px;height:14px}.verify-banner button{border:0;background:none;text-decoration:underline;text-underline-offset:3px;color:#465b2d;font:inherit;font-weight:600;padding:2px}.messages{flex:1;overflow-y:auto;padding:28px 36px 15px;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}.message{max-width:min(76%,490px);align-self:flex-start}.message.outgoing{align-self:flex-end}.bubble{background:#f0f3ec;padding:13px 17px;border-radius:15px 15px 15px 3px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.outgoing .bubble{background:#e0f4bc;border-radius:15px 15px 3px 15px}.bubble.media{padding:5px;line-height:0;white-space:normal}.bubble img,.bubble video{display:block;max-width:100%;max-height:330px;border-radius:11px;object-fit:contain}.message-time{font-size:9px;color:#98a18f;margin:6px 3px 0;text-align:left}.outgoing .message-time{text-align:right}.message-error{font-size:11px;color:var(--red);padding:12px;text-align:center;background:#fff4f1;border-radius:10px}.chat-empty{margin:auto;padding:30px;text-align:center;font-size:12px;line-height:1.8;color:#8a9583}.chat-empty strong{color:#64755b;font-size:14px;display:block;margin-bottom:7px}.composer-wrap{padding:17px 30px 20px;border-top:1px solid #edf0e8}.composer{display:flex;align-items:center;gap:10px;padding:8px;border-radius:15px;background:#f5f7f0;border:1px solid #e8ecdf}.composer textarea{resize:none;min-height:38px;max-height:130px;flex:1;width:0;border:0;background:transparent;padding:9px 4px;color:var(--ink);outline:none;font-size:13px;line-height:1.5}.composer textarea::placeholder{color:#98a18e}.composer .send{background:var(--ink);color:var(--lime);border-radius:11px}.composer .send svg{width:18px;height:18px}.composer-note{margin:9px 0 0;text-align:center;font-size:9px;color:#99a28e}.attachment-preview{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:11px;color:#607051}.attachment-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.attachment-preview .icon-button{min-height:30px;min-width:30px;padding:5px}.attachment-preview svg{width:17px;height:17px}.back-button{display:none}.network-bar{font-size:11px;text-align:center;background:#fff0d7;padding:9px;color:#806334}.security-alert{background:#fff0ed;color:var(--red);padding:12px;font-size:12px;line-height:1.6}dialog{border:1px solid #e4e9db;border-radius:22px;padding:30px;color:var(--ink);width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 24px 100px #172c3230;background:#fff}dialog::backdrop{background:#172c3270;backdrop-filter:blur(5px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:9px}.modal-header h2{font-family:Manrope,system-ui,sans-serif;font-size:23px;letter-spacing:-.7px;font-weight:600;margin:0}.modal-header .icon-button{margin-right:-9px}.modal-description{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 22px}.modal-actions{display:flex;gap:9px;margin-top:22px}.modal-actions>*{flex:1}.settings-item{width:100%;display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:15px;text-align:left;color:var(--ink);margin:10px 0}.settings-item>svg{width:20px;height:20px}.settings-item span{flex:1}.settings-item strong{font-size:12px;display:block;font-weight:600}.settings-item small{display:block;font-size:10px;color:var(--muted);line-height:1.5;margin-top:4px}.privacy-list{font-size:12px;line-height:1.75;padding-left:19px;color:#65715e}.privacy-list li{margin:9px 0}.preview-note{background:#fff4da;border:1px solid #eee1b8;color:#7f6839;border-radius:11px;padding:13px;font-size:11px;line-height:1.7;margin:17px 0}.safety-code{font-family:ui-monospace,monospace;text-align:center;font-size:16px;letter-spacing:2px;line-height:2;background:#f3f6ec;border-radius:12px;padding:22px 15px;overflow-wrap:anywhere}.verified-note{font-size:11px;color:#54762b;display:flex;align-items:center;gap:7px;margin:14px 0}.install-note{font-size:11px;color:#748267;line-height:1.7;padding:12px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:11px;padding:13px 20px;font-size:12px;box-shadow:0 5px 20px #0002;z-index:100;width:max-content;max-width:calc(100vw - 30px);text-align:center}.check-field{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.65;color:#6b7761;margin:18px 0}.check-field input{accent-color:#567e21;margin-top:4px}.danger-description{color:var(--red)}
@media(min-width:1500px){.workspace{height:calc(100dvh - 60px);margin:30px auto;border:1px solid var(--line);border-radius:20px;overflow:hidden;max-width:1400px}.topbar{height:92px}}
@media(max-width:900px){.gate-content{gap:6vw}.gate-story h1{font-size:49px;letter-spacing:-2.5px}.gate-form{padding:27px}.workspace{grid-template-columns:280px 1fr}.topbar{padding:20px 23px}.messages{padding:24px}.privacy-pill{display:none}.composer-wrap{padding:15px 19px}.welcome h2{font-size:29px}}
@media(max-width:650px){.gate{padding:24px}.gate-nav .brand-word{font-size:30px}.gate-content{display:block;margin:40px auto 26px;max-width:410px}.gate-story .eyebrow{font-size:9px;letter-spacing:1.5px}.gate-story h1{font-size:42px;letter-spacing:-2px;margin:19px 0 16px}.gate-story>p{font-size:12px;line-height:1.7;max-width:310px;margin-bottom:24px}.gate-art{display:none}.gate-form{border-radius:19px;padding:26px 23px}.gate-form h2{font-size:24px}.gate-foot{display:block;text-align:center;line-height:1.8}.gate-foot span{display:block}.workspace{grid-template-columns:1fr;height:100dvh;border:0}.sidebar{border-right:0}.side-brand{height:86px;padding:25px}.side-label{padding-top:15px}.person{padding:16px 14px}.self{padding-bottom:max(20px,env(safe-area-inset-bottom))}.main{display:none}.workspace.chat-open .sidebar{display:none}.workspace.chat-open .main{display:flex}.back-button{display:grid;min-width:30px;padding:4px;margin-left:-8px}.topbar{height:82px;padding:15px 20px;gap:8px}.topbar-title{gap:9px}.topbar-title .avatar{width:36px;height:36px;border-radius:12px}.topbar h1{font-size:13px}.topbar-actions{gap:0}.topbar-actions .icon-button{min-width:35px;padding:7px}.messages{padding:20px 17px}.message{max-width:85%}.bubble{font-size:13px;padding:12px 15px}.composer-wrap{padding:12px 12px max(14px,env(safe-area-inset-bottom))}.composer{gap:6px}.composer textarea{font-size:16px}.composer-note{font-size:8px}.verify-banner{font-size:9px;padding:10px 15px;gap:6px}.side-mobile-welcome{padding:18px 25px;border-bottom:1px solid var(--line);color:#758467;font-size:12px;line-height:1.7}.side-mobile-welcome strong{display:block;font-size:20px;color:var(--ink);font-weight:500;font-family:Manrope,system-ui,sans-serif;letter-spacing:-.5px;margin-bottom:6px}.people-empty{padding:25px 14px}.welcome-features{gap:20px}.field input{font-size:16px}dialog{padding:24px}.safety-code{font-size:14px}.button{min-height:48px}}
@media(min-width:651px){.side-mobile-welcome{display:none}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s ease,opacity .15s ease}.gate-form,.welcome{animation:arrive .4s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
.brand-universe{display:block;width:40px;height:40px;object-fit:contain;flex-shrink:0}.side-brand .brand-universe{width:35px;height:35px}.bubble.sealed{padding:0;min-width:190px;border:1px solid #dce5d2;background:#f1f5e9}.open-message{display:flex;align-items:center;gap:12px;width:100%;padding:18px 20px;border:0;background:transparent;color:var(--ink);text-align:left;font-size:13px;font-weight:600;border-radius:14px;min-height:62px}.open-message:hover{background:#e7efd9}.open-message svg{width:20px;height:20px;color:#5e7837}.message-countdown{font-variant-numeric:tabular-nums}.message:has(.sealed) .message-time{color:#6b7d5d}

/* Black messenger surfaces with light gray conversation text. */
:root {
  color-scheme: dark;
  color: #d1d1d1;
  background: #000;
  --ink: #d1d1d1;
  --muted: #a3a3a3;
  --line: #282828;
  --paper: #080808;
  --white: #111;
  --red: #f2aaa3;
}
body, .workspace, .main, .messages { background: #000; color: var(--ink); }
.sidebar { background: var(--paper); }
.topbar, .composer-wrap, .verify-banner { border-color: var(--line); }
.gate-form, dialog, .field input, .settings-item { background: #111; border-color: var(--line); }
.button { background: #292929; color: var(--ink); }
.button.lime, .side-label .icon-button, .welcome-symbol, .art-icon:nth-child(2) { background: var(--lime); color: #142014; }
.button.outline { border-color: #444; color: var(--ink); }
.button.danger, .error, .security-alert, .message-error { background: #2b1717; color: var(--red); }
.icon-button:hover, .person:hover, .open-message:hover { background: #1c1c1c; }
.person.active { background: #242424; }
.avatar, .person:nth-child(3n+2) .avatar, .person:nth-child(3n+3) .avatar { background: #292929; color: var(--ink); }
.self .avatar { background: #242c1c; color: var(--lime); }
.privacy-pill, .password-note, .verify-banner, .art-icon, .safety-code { background: #111; border-color: var(--line); color: var(--ink); }
.verify-banner button, .verified-note, .open-message svg { color: var(--lime); }
.bubble, .outgoing .bubble { color: #d1d1d1; background: #161616; border: 1px solid #303030; }
.outgoing .bubble { background: #222; border-color: #414141; }
.bubble.sealed { background: #101010; border-color: #303030; }
.composer { background: #111; border-color: #353535; }
.composer textarea { color: #d1d1d1; caret-color: #d1d1d1; }
.composer .send { background: var(--lime); color: #142014; }
.gate-story .eyebrow, .gate-story > p, .gate-foot, .people-empty,
.person small, .welcome-features > span, .welcome-features svg, .main-bottom,
.message-time, .message:has(.sealed) .message-time, .chat-empty,
.chat-empty strong, .composer-note, .attachment-preview, .privacy-list,
.install-note, .check-field, .side-mobile-welcome { color: var(--muted); }
.composer textarea::placeholder, .field input::placeholder { color: #919191; }
.preview-note, .network-bar { background: #292214; color: #dfc997; border-color: #55482c; }
dialog::backdrop { background: #000b; }
#toast { background: #262626; color: var(--ink); border: 1px solid #444; }
::selection { background: #465b29; color: #f1f1f1; }

/* A background privacy cover is not screenshot or recording prevention. */
.privacy-cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: #000;
  color: #d1d1d1;
  text-align: center;
}
.privacy-cover img { width: 58px; height: 58px; }
.privacy-cover h1 { font: 500 28px Manrope, system-ui, sans-serif; margin: 24px 0 10px; }
.privacy-cover p { color: #a3a3a3; font-size: 13px; line-height: 1.8; max-width: 320px; margin: 0 0 24px; }
body.privacy-covered #root, body.privacy-covered #modal, body.privacy-covered #toast { visibility: hidden !important; }
