:root {
  color-scheme: dark;
  --canvas: #101316;
  --panel: #171b20;
  --raised: #232a30;
  --line: #46515b;
  --ink: #f2f4f5;
  --muted: #bec8ce;
  --accent: #83e6eb;
  --selected: #18353b;
  --on-accent: #09272b;
}
body {background:var(--canvas);color:var(--ink);font-family:Inter,"Helvetica Neue",Arial,sans-serif}
header,footer {background:#101316;border-color:var(--line)}
header nav a,.site-header nav {font-size:.94rem}
.brand-logo {width:2.5rem;height:2.5rem;object-fit:contain;margin-inline-end:.4rem;border-radius:5px}
.eyebrow,.social-heading .eyebrow,footer h3 {color:var(--accent);letter-spacing:.12em;font-size:.76rem}
button,.button,.link-button,.file-button,.card,.social-card,.app-shell,input,textarea,select,dialog,
.conversation,.context-switch button,.social-nav button,.intro,.space-card,.notice-card,.supervision-banner,.seg {border-radius:5px}
button,.file-button,.link-button {min-height:42px}
button {color:var(--ink);background:var(--raised);border:1px solid var(--line)}
.primary,.button.primary {background:var(--accent);color:var(--on-accent);border:1px solid var(--accent)}
.secondary,.quiet,.button.secondary {color:var(--ink);background:var(--panel);border:1px solid var(--line)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {outline:3px solid var(--accent);outline-offset:3px}
button:not(:disabled):hover,.button:hover {border-color:var(--accent)}
.link,.text-link,.privacy-label,.interest-tags {color:var(--accent)}
button:disabled {opacity:.6}
h1,h2,h3 {letter-spacing:-.04em}
.site-header {padding-block:.85rem}
.hero {max-width:none;display:flex;align-items:center;min-height:clamp(34rem,77vh,58rem);padding:5vw;background:linear-gradient(90deg,#080a0cf2 0%,#080a0cbd 30%,transparent 70%),url('/conversation.webp') center 46%/cover}
.hero h1 {font-size:clamp(3.6rem,6.6vw,7.8rem);font-weight:560;line-height:1;letter-spacing:-.067em}
.hero .lead {color:#e3e9eb;max-width:32ch;font-size:1.18rem}
.space-grid,.install-options {gap:1rem}
.space-card {border:1px solid var(--line);background:var(--panel);min-height:265px}
.space-card a,.spaces a,.info-page a:not(.button) {color:var(--accent)}
.privacy-section,.how-section,.faq-section {background:var(--canvas)}
footer {background:#111519}
footer>div>a:not(.brand),footer>div>p,.footer-bottom {font-size:.9rem}
.install-page {max-width:1500px;margin:auto;padding:clamp(1rem,4vw,4rem)}
.install-heading,.social-heading,.intro {background:linear-gradient(90deg,#0b1015fa,#101316ce 48%,#11161b40),url('/architecture.webp') center/cover}
.install-heading {padding:clamp(2rem,7vw,8rem);border:1px solid var(--line)}
.install-options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:1rem 0}
.install-options article {display:flex;flex-direction:column;align-items:start;padding:2rem;background:var(--panel);border:1px solid var(--line)}
.install-options h2 {font-size:2rem}.install-options a {margin-top:auto}
.welcome {align-items:stretch;gap:clamp(1rem,3vw,4rem)}
.intro {display:flex;flex-direction:column;justify-content:end;padding:clamp(1.5rem,4vw,4rem);background-position:65% center}
.intro h1 {font-size:clamp(2.6rem,5.4vw,6rem)}
#entry {max-width:38rem;width:100%;justify-self:center}
#entry-title {font-size:clamp(2rem,4vw,3.6rem)}
#entry section[aria-label] {border-block:1px solid var(--line);padding:.85rem 0;margin:1rem 0}
#entry section[aria-label] h2 {font-size:1rem}
#entry section[aria-label] p {margin:0}
.card input,.card textarea,input,textarea,select {background:#101519;color:var(--ink);border-color:#60707d}
input::placeholder,textarea::placeholder {color:#aab5be}
input,select,textarea {accent-color:var(--accent)}
.seg label:has(:checked) {background:var(--selected);box-shadow:inset 0 -2px var(--accent)}
#center-login {color:var(--accent);font-weight:650}
body:has(#app:not([hidden])) main {max-width:1680px;padding:0}
.app-shell {border-radius:0;border-width:0 1px;min-height:80vh;grid-template-columns:minmax(220px,19rem) minmax(0,1fr)}
.sidebar {background:#15191d;padding:1.25rem}.app-content,.app-shell {background:var(--canvas)}
.social-nav button,.appnav button,.conversation {color:var(--ink);min-height:44px}
.social-nav button:hover,.appnav button:hover,.conversation:hover {background:var(--raised)}
.social-nav button[aria-current=true],.appnav button[aria-current=true],.context-switch button[aria-current=true],.conversation.active {background:var(--selected);color:var(--ink);border-color:var(--accent)}
#social-content {max-width:78rem}
.social-heading {padding:clamp(1.3rem,3vw,3rem);border-block-end:1px solid var(--line)}
.social-heading h1 {font-size:clamp(2.2rem,4vw,4rem);margin:0}
.social-heading p:last-child {margin:.75rem 0 0;color:#dbe3e7}
.social-heading .eyebrow {margin:0 0 .65rem}
.social-card,.card {background:var(--panel);border-color:var(--line)}
.social-card .social-card,.row,.post-author {border-color:var(--line)}
.post-author {padding-bottom:.75rem;border-bottom:1px solid var(--line)}
.avatar,.pill {border-radius:4px;background:var(--selected);color:var(--accent)}
#social-content[data-screen=stories] .story-card,.story-stage {background:linear-gradient(90deg,#080b10ed,#101316ae),url('/architecture.webp') center/cover;padding:clamp(1.25rem,4vw,3rem)}
.story-stage .post-text {font-size:clamp(1.5rem,3vw,2.8rem);min-height:15vh}
.story-card time {display:block;color:var(--muted);margin-bottom:.6rem}
.story-card .post-text {font-size:1.25rem}
.dealer-post {border-inline-start:2px solid var(--accent)}
.dealer-photo {display:block;width:100%;max-height:65vh;object-fit:contain;background:#0d1012;margin:.8rem 0}
.dealer-post .post-text {font-size:1.15rem}
.supervision-banner,.notice-card,#notice:not(:empty) {background:var(--selected);color:var(--ink);border-inline-start:3px solid var(--accent)}
.talk-empty-art {width:100%;max-height:7rem;object-fit:cover}
.managed-message,#messages article {background:#252d34;color:var(--ink);border-radius:5px}
.managed-message.own,#messages article.mine {background:#19373c}
#messages p {background:transparent}
#room .roomhead,.app-content #calls>h1,.app-content #settings>h1 {padding:1rem 0;border-bottom:1px solid var(--line)}
#history .row,#devices .row,#block-list .row {padding:1rem;gap:1rem}
.roomhead h1 {margin:0}
#room-status {margin:.35rem 0}
#messages {height:clamp(16rem,45vh,42rem)}
#call:not([hidden]),#incoming-call:not([hidden]) {background:#10151b;color:var(--ink);border:1px solid var(--line);padding:clamp(1rem,3vw,2rem)}
#call .actions {margin:1rem 0 0}
#hangup {background:#57262e;border-color:#ac646b;color:#fff}
#streams {align-items:center;justify-content:center;flex-wrap:wrap}
#group-streams {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr));width:100%}
#group-streams figure {max-width:none}
#group-streams video {aspect-ratio:16/9;object-fit:contain;background:#080a0b}
dialog {background:#171b20;color:var(--ink)}
dialog::backdrop {background:#05080be6}
.qr {background:white}
@media(min-width:1050px){
 #social-content:is([data-screen=review],[data-screen=family],[data-screen=access]) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
 #social-content:is([data-screen=review],[data-screen=family],[data-screen=access])>:is(.social-heading,h2,p,label){grid-column:1/-1}
 #social-content:is([data-screen=review],[data-screen=family],[data-screen=access])>.social-card {margin:0}
}
@media(max-width:760px){
 .hero {min-height:38rem;align-items:end;background-position:64% center;background-image:linear-gradient(0deg,#080a0c 0%,#080a0cbb 40%,transparent 85%),url('/conversation.webp')}
 .hero-copy {padding:11rem 0 1rem}
 .hero h1 {font-size:clamp(3rem,11vw,5rem)}
 .hero-actions {flex-wrap:wrap}
 .intro {min-height:12rem}
 .intro h1 br:after {content:' '}
 .intro h1 br {display:block}
 .install-options,.app-shell {grid-template-columns:1fr}
 .app-content {padding:.85rem}
 .sidebar {border:0}
 .social-heading {padding:1.2rem}
 header {gap:.6rem}
 .row {flex-wrap:wrap}
 #messages {height:42vh}
 button,.file-button {min-height:44px}
}
.install-heading {min-height:clamp(16rem,44vh,34rem);display:flex;flex-direction:column;justify-content:center;background-image:linear-gradient(90deg,#101316eb,transparent 78%),url('/devices.webp')}
.install-heading p {max-width:26ch}
@media(max-width:760px){.install-heading {background-position:62% center}.install-heading h1 {max-width:6ch}}
