/* Mucurabwenge Brand Kit application layer. */
.brand-lockup { display:block; width:188px; height:auto; max-height:46px; object-fit:contain; object-position:left center; }
.brand-lockup-dark { display:none; }
.auth-illustration .brand-lockup-light { display:none; }
.auth-illustration .brand-lockup-dark { display:block; width:190px; }
.dashboard-brand .brand-lockup, .workspace-sidebar .brand-lockup { width:160px; max-height:38px; }
.inline-brand-emblem { display:inline-block; width:1.15em; height:1.15em; vertical-align:-.22em; object-fit:contain; }
.mini-mark, .assistant-symbol, .welcome-emblem, .research-graphic { font-size:0; }
.mini-mark:before, .assistant-symbol:before, .welcome-emblem:before, .research-graphic:before { content:''; display:block; width:70%; height:70%; background:url("../Mucurabwenge_Brand_Kit/logo/emblem-terracotta.996db3e53366.svg") center/contain no-repeat; }
.auth-stars { font-size:0; display:block; width:52px; height:52px; background:url("../Mucurabwenge_Brand_Kit/logo/emblem-terracotta.996db3e53366.svg") center/contain no-repeat; }
.story-ornament { font-size:0; width:76px; height:100px; background:url("../Mucurabwenge_Brand_Kit/logo/emblem-white.1d8a78ad5316.svg") center/contain no-repeat; }
.story-banner:after { content:''; width:300px; height:300px; bottom:-95px; background:url("../Mucurabwenge_Brand_Kit/logo/emblem-white.1d8a78ad5316.svg") center/contain no-repeat; }
.tiny-spark, .composer-spark { font-size:0; width:18px; height:18px; display:inline-block; background:url("../Mucurabwenge_Brand_Kit/logo/emblem-terracotta.996db3e53366.svg") center/contain no-repeat; }
.dash-welcome h1 span { font-size:0; display:inline-block; width:25px; height:25px; vertical-align:-.15em; background:url("../Mucurabwenge_Brand_Kit/logo/emblem-terracotta.996db3e53366.svg") center/contain no-repeat; }
.mini-mark:before, .assistant-symbol:before, .welcome-emblem:before, .research-graphic:before { display:none; }
.mini-mark, .assistant-symbol, .welcome-emblem, .research-graphic, .auth-stars, .tiny-spark, .composer-spark, .dash-welcome h1 span { background:none; }
.mini-mark .inline-brand-emblem { width:18px; height:18px; }
.assistant-symbol .inline-brand-emblem { width:22px; height:22px; }
.welcome-emblem .inline-brand-emblem { width:42px; height:42px; }
.research-graphic .inline-brand-emblem { width:30px; height:30px; }
.auth-stars .inline-brand-emblem { width:52px; height:52px; }
.tiny-spark .inline-brand-emblem, .composer-spark .inline-brand-emblem { width:18px; height:18px; }
.dash-welcome h1 span .inline-brand-emblem { width:25px; height:25px; }
.brand-mark { background:var(--muc-terracotta); }
.theme-toggle { width:34px; height:34px; display:grid; place-items:center; border:1px solid var(--line); border-radius:9px; background:transparent; color:var(--muted); }
.theme-toggle:hover { color:var(--primary); border-color:var(--primary); }
.theme-toggle svg { width:16px; height:16px; }
.assistant-avatar img { width:20px; height:20px; object-fit:contain; }
.hero { background-image:url("../Mucurabwenge_Brand_Kit/patterns/hero-line-art.d10d6e201919.svg"); background-position:right 8% top 24px; background-repeat:no-repeat; background-size:min(520px,48%); }
.hero .eyebrow { display:none; }
.site-header { position:sticky; top:0; background:color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.site-footer { padding-top:34px; border-top:1px solid var(--line); }
.site-footer .brand-lockup { width:205px; max-height:50px; }
.site-footer .footer-links { gap:15px 24px; flex-wrap:wrap; }
.site-footer .footer-links a { color:var(--muted); transition:color .2s; }
.site-footer .footer-links a:hover { color:var(--primary); }
.research-intro { background-image:url("../Mucurabwenge_Brand_Kit/patterns/diamond-grid.347ed06b97df.svg"); background-position:right center; background-repeat:no-repeat; background-size:280px; }
.standard-main .page-hero { background:url("../Mucurabwenge_Brand_Kit/patterns/weave-light.0bda9dfaad94.svg") right top/220px repeat-y; padding-right:60px; }
.empty-collection, .list-placeholder { background-image:url("../Mucurabwenge_Brand_Kit/patterns/weave-light.0bda9dfaad94.svg"); background-repeat:repeat; background-size:180px; }
.site-footer { position:relative; }
.site-footer:after { content:''; position:absolute; right:0; bottom:18px; width:120px; height:44px; opacity:.28; background:url("../Mucurabwenge_Brand_Kit/patterns/weave-light.0bda9dfaad94.svg") center/contain no-repeat; pointer-events:none; }
[data-theme="dark"] { --ink:var(--muc-cream); --muted:#c7bbb4; --cream:#24211F; --warm:#302824; --line:#55453d; --surface:#302b28; --sidebar:#2d2825; --shadow:0 12px 30px rgba(0,0,0,.24); color-scheme:dark; }
[data-theme="dark"] .brand-lockup-light { display:none; }
[data-theme="dark"] .brand-lockup-dark { display:block; }
[data-theme="dark"] body, [data-theme="dark"] .app-page { background:var(--cream); color:var(--ink); }
[data-theme="dark"] .site-header, [data-theme="dark"] .chat-header, [data-theme="dark"] .dashboard-header { border-color:var(--line); }
[data-theme="dark"] .desktop-nav a, [data-theme="dark"] .nav-text, [data-theme="dark"] .breadcrumb { color:#c7bbb4; }
[data-theme="dark"] .preview-card, [data-theme="dark"] .library-card, [data-theme="dark"] .dash-card, [data-theme="dark"] .composer, [data-theme="dark"] .auth-card { background:var(--surface); border-color:var(--line); }
[data-theme="dark"] .workspace-sidebar, [data-theme="dark"] .dashboard-sidebar { background:var(--sidebar); border-color:var(--line); }
[data-theme="dark"] .new-chat-button, [data-theme="dark"] .message-block.user .message-body, [data-theme="dark"] .ref-tag { background:#3a332f; border-color:var(--line); color:var(--ink); }
[data-theme="dark"] .hero { background-image:url("../Mucurabwenge_Brand_Kit/patterns/hero-line-art.d10d6e201919.svg"); opacity:.98; }
[data-theme="dark"] .empty-collection, [data-theme="dark"] .list-placeholder, [data-theme="dark"] .site-footer:after { background-image:url("../Mucurabwenge_Brand_Kit/patterns/weave-dark.7c90db671dbb.svg"); }
[data-theme="dark"] .form-fields input:not([type=checkbox]):not([type=file]), [data-theme="dark"] .form-fields textarea, [data-theme="dark"] .form-fields select { background:#3a332f; border-color:var(--line); color:var(--ink); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) { color-scheme:dark; } }
@media (max-width:510px) { .brand-lockup { width:174px; max-height:42px; } .dashboard-brand .brand-lockup, .workspace-sidebar .brand-lockup { width:150px; } }

/* Auth pages use one explicit dark wordmark and a quiet emblem; no decorative emoji. */
.auth-illustration:after { content:none !important; }
.auth-brand .brand-lockup { width:190px; }
.auth-emblem { display:block; width:52px; height:52px; background:url("../Mucurabwenge_Brand_Kit/logo/emblem-terracotta.996db3e53366.svg") center/contain no-repeat; }

/* Rich, structured public footer. */
.site-footer { display:block; padding-top:42px; padding-bottom:28px; }
.footer-main { display:grid; grid-template-columns:minmax(240px,1.7fr) repeat(3,minmax(120px,.7fr)); gap:42px; padding-bottom:38px; }
.footer-brand-column { max-width:310px; }
.footer-brand-column .brand-lockup { width:205px; }
.footer-brand-column p { color:var(--muted); line-height:1.75; max-width:270px; }
.footer-status { display:flex; align-items:center; gap:8px; margin-top:20px; color:var(--muted); font-size:11px; }
.footer-status span { width:7px; height:7px; border-radius:50%; background:#6ea57d; box-shadow:0 0 0 4px #6ea57d20; }
.footer-column { display:flex; flex-direction:column; align-items:flex-start; gap:11px; }
.footer-column a { color:var(--muted); font-size:12px; transition:color .2s, transform .2s; }
.footer-column a:hover { color:var(--primary); transform:translateX(2px); }
.footer-heading { color:var(--ink); font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; margin-bottom:4px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
@media (max-width:780px) { .footer-main { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px; } .footer-brand-column { grid-column:1/-1; max-width:none; } .footer-bottom { flex-direction:column; gap:7px; } }
@media (max-width:510px) { .footer-main { grid-template-columns:1fr 1fr; } .footer-column { gap:9px; } }

/* Premium AI-first homepage */
.premium-home { overflow:hidden; }
.premium-home .site-header { background:color-mix(in srgb,var(--cream) 88%,transparent); }
.ai-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr); gap:clamp(40px,8vw,125px); align-items:center; min-height:650px; padding-top:86px; padding-bottom:70px; }
.ai-hero-copy { max-width:680px; }
.ai-hero .eyebrow { display:inline-flex; align-items:center; gap:9px; border:0; background:none; padding:0; margin:0 0 27px; color:var(--primary); letter-spacing:.18em; text-transform:uppercase; font-size:11px; }
.eyebrow-mark { display:grid; place-items:center; width:22px; height:22px; }
.eyebrow-mark img { width:22px; height:22px; object-fit:contain; }
.ai-hero h1 { max-width:680px; font-size:clamp(45px,5.25vw,76px); line-height:1.02; letter-spacing:-.065em; }
.typing-caret { display:inline-block; width:3px; height:.82em; margin-left:7px; vertical-align:-.04em; background:var(--primary); animation:typing-caret-blink 1s steps(2,start) infinite; }
@keyframes typing-caret-blink { 50% { opacity:0; } }
.hero-lede { max-width:540px; margin-top:27px; color:var(--ink); font-size:19px; line-height:1.65; }
.hero-lede.quiet { margin-top:9px; color:var(--muted); font-size:15px; }
.hero-text-link { display:inline-flex; align-items:center; gap:8px; color:var(--primary); font-size:13px; font-weight:800; margin-top:29px; }
.hero-text-link svg { width:16px; height:16px; transition:transform .2s; }
.hero-text-link:hover svg { transform:translate(3px,-3px); }
.hero-composer-wrap { position:relative; }
.hero-composer { position:relative; padding:25px; border:1px solid #d9c7ba; border-radius:22px; background:var(--surface); box-shadow:0 25px 70px rgba(105,68,44,.13); }
.hero-composer:before { content:''; position:absolute; width:160px; height:160px; right:-42px; top:-45px; z-index:-1; background:url("../Mucurabwenge_Brand_Kit/patterns/diamond-grid.347ed06b97df.svg") center/contain no-repeat; opacity:.5; }
.hero-composer label { display:block; color:var(--muted); font-size:12px; font-weight:700; margin-bottom:13px; }
.hero-composer textarea { width:100%; min-height:126px; border:0; outline:0; resize:none; color:var(--ink); background:transparent; font-size:18px; line-height:1.55; }
.hero-composer textarea::placeholder { color:#aaa29a; }
.composer-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:16px; border-top:1px solid var(--line); }
.composer-language { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; }
.composer-language svg { width:15px; height:15px; color:var(--primary); }
.composer-submit { display:inline-flex; align-items:center; gap:9px; border:0; border-radius:10px; padding:11px 14px; color:#fff; background:var(--primary); font-size:12px; font-weight:800; transition:background .2s,transform .2s; }
.composer-submit:hover { background:var(--primary-dark); transform:translateY(-2px); }
.composer-submit svg { width:15px; height:15px; }
.composer-note { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; margin:14px 8px 0; }
.composer-note svg { width:14px; height:14px; color:var(--primary); }
.prompt-section { padding:0 0 104px; }
.prompt-heading { display:flex; align-items:center; gap:18px; margin-bottom:17px; }
.prompt-rule { height:1px; flex:1; background:var(--line); }
.prompt-row { display:flex; flex-wrap:wrap; gap:9px; }
.prompt-chip { display:inline-flex; align-items:center; gap:9px; border:1px solid var(--line); border-radius:99px; padding:10px 13px; color:var(--muted); background:transparent; text-align:left; font-size:12px; transition:color .2s,border-color .2s,background .2s,transform .2s; }
.prompt-chip:hover { color:var(--ink); border-color:var(--primary); background:var(--surface); transform:translateY(-2px); }
.prompt-chip svg { width:13px; height:13px; color:var(--primary); }
.editorial-section { padding:113px 0 125px; border-top:1px solid var(--line); }
.editorial-intro { display:grid; grid-template-columns:1fr 1.45fr; gap:50px; align-items:end; margin-bottom:48px; }
.editorial-intro h2 { font-size:clamp(40px,5vw,69px); max-width:600px; }
.editorial-intro p { max-width:390px; color:var(--muted); line-height:1.8; font-size:14px; }
.editorial-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.editorial-feature { min-height:238px; padding:25px; border:1px solid var(--line); border-radius:18px; background:var(--surface); display:flex; flex-direction:column; }
.editorial-feature-large { grid-column:span 2; min-height:300px; background:#f0e0d5; border-color:#e7d0c2; }
.editorial-feature-dark { grid-column:span 2; min-height:300px; background:#292522; border-color:#292522; color:#fbf7f2; }
.editorial-feature-wide { grid-column:span 2; background:#eee8e1; }
.editorial-feature svg { width:22px; height:22px; color:var(--primary); margin:26px 0 auto; }
.editorial-feature h3 { max-width:250px; font-size:26px; }
.editorial-feature p { max-width:290px; margin-top:10px; color:var(--muted); font-size:13px; line-height:1.7; }
.editorial-feature-dark p { color:#c4bcb4; }
.editorial-index { color:var(--primary); font-size:10px; font-weight:800; letter-spacing:.14em; }
.feature-tail { display:flex; align-items:center; gap:7px; margin-top:auto; color:var(--primary); font-size:11px; font-weight:800; }
.feature-tail svg { margin:0; width:14px; height:14px; }
.bilingual-section { padding:105px 0; background:#292522; color:#fbf7f2; }
.bilingual-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:100px; align-items:center; }
.bilingual-copy h2 { max-width:440px; margin-top:15px; font-size:clamp(39px,5vw,68px); }
.bilingual-copy p { max-width:420px; margin-top:24px; color:#c8beb4; line-height:1.8; font-size:14px; }
.bilingual-section .section-kicker { color:#d89472; }
.language-panels { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.language-panel { position:relative; min-height:220px; padding:25px; border-radius:17px; background:#403731; overflow:hidden; }
.language-panel-en { background:#b0613e; }
.language-panel span { font-size:10px; font-weight:800; letter-spacing:.16em; color:#d9c7b9; }
.language-panel-en span { color:#f4ded0; }
.language-panel p { position:relative; z-index:1; max-width:220px; margin-top:70px; font-family:'Outfit',sans-serif; font-size:21px; line-height:1.3; }
.language-panel svg { position:absolute; right:22px; bottom:20px; width:44px; height:44px; opacity:.18; }
.research-section { display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; padding-top:120px; padding-bottom:120px; }
.research-copy h2 { margin-top:14px; font-size:clamp(40px,4.5vw,62px); }
.research-copy p { max-width:420px; color:var(--muted); line-height:1.8; font-size:14px; margin-top:23px; }
.research-stages { display:grid; gap:0; border-top:1px solid var(--line); }
.research-stages article { display:grid; grid-template-columns:105px 145px 1fr; gap:18px; align-items:start; padding:24px 0; border-bottom:1px solid var(--line); }
.research-stages span { color:var(--primary); font-size:10px; font-weight:800; letter-spacing:.12em; }
.research-stages h3 { font-size:18px; }
.research-stages p { color:var(--muted); font-size:12px; line-height:1.7; }
.knowledge-section { display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center; padding-top:26px; padding-bottom:130px; }
.knowledge-art { min-height:300px; display:grid; place-items:center; background:#f0e5dc; border-radius:20px; overflow:hidden; }
.knowledge-art img { width:90%; opacity:.68; }
.knowledge-section h2 { max-width:500px; margin-top:14px; font-size:clamp(38px,4.5vw,60px); }
.knowledge-section p { max-width:470px; color:var(--muted); line-height:1.8; margin-top:21px; font-size:14px; }
.human-section { padding:87px 0; background:#e9d9cc; }
.human-layout { display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:end; }
.human-layout h2 { max-width:500px; margin-top:14px; font-size:clamp(40px,5vw,68px); }
.human-layout p { max-width:500px; color:#68564a; line-height:1.8; font-size:15px; }
[data-theme="dark"] .hero-composer, [data-theme="dark"] .editorial-feature { background:var(--surface); border-color:var(--line); }
[data-theme="dark"] .editorial-feature-large, [data-theme="dark"] .editorial-feature-wide { background:#3a302b; }
[data-theme="dark"] .editorial-feature-dark { background:#171514; }
[data-theme="dark"] .bilingual-section { background:#171514; }
[data-theme="dark"] .language-panel { background:#302823; }
[data-theme="dark"] .language-panel-en { background:#8c4a32; }
[data-theme="dark"] .knowledge-art { background:#3a302b; }
[data-theme="dark"] .human-section { background:#3b2d27; }
[data-theme="dark"] .human-layout p { color:#d8c4b8; }
@media (max-width:900px) { .ai-hero { grid-template-columns:1fr; min-height:0; padding-top:65px; gap:45px; } .ai-hero h1 { max-width:760px; } .editorial-intro,.bilingual-layout,.research-section,.knowledge-section,.human-layout { grid-template-columns:1fr; gap:38px; } .editorial-grid { grid-template-columns:repeat(2,1fr); } .editorial-feature-large,.editorial-feature-dark,.editorial-feature-wide { grid-column:span 2; } .research-section { padding-top:80px; padding-bottom:85px; } }
@media (max-width:560px) { .ai-hero { padding-top:45px; padding-bottom:52px; } .ai-hero h1 { font-size:clamp(39px,11.5vw,58px); } .typing-caret { width:2px; margin-left:4px; } .hero-lede { font-size:16px; } .hero-composer { padding:19px; border-radius:16px; } .hero-composer textarea { min-height:110px; font-size:16px; } .composer-bottom { align-items:flex-end; } .composer-submit span { display:none; } .prompt-section { padding-bottom:72px; } .prompt-chip { width:100%; justify-content:space-between; } .editorial-section { padding-top:75px; padding-bottom:80px; } .editorial-intro { margin-bottom:30px; } .editorial-grid { grid-template-columns:1fr; } .editorial-feature-large,.editorial-feature-dark,.editorial-feature-wide { grid-column:span 1; min-height:245px; } .bilingual-section { padding:75px 0; } .language-panels { grid-template-columns:1fr; } .language-panel { min-height:180px; } .language-panel p { margin-top:46px; font-size:18px; } .research-stages article { grid-template-columns:1fr 1fr; gap:9px; } .research-stages p { grid-column:1/-1; } .knowledge-section { padding-bottom:80px; } .knowledge-art { min-height:200px; } .human-section { padding:70px 0; } }
.service-directory { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.service-directory-card { display:block; padding:24px; border:1px solid var(--line); border-radius:16px; background:var(--surface); transition:transform .2s,border-color .2s,box-shadow .2s; }
.service-directory-card:hover { transform:translateY(-3px); border-color:var(--primary); box-shadow:var(--shadow); }
.service-card-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.verified-badge { display:inline-flex; align-items:center; gap:4px; color:#648b68; font-size:10px; font-weight:800; }
.verified-badge svg { width:14px; height:14px; }
.service-directory-card h2 { font-size:22px; margin-top:23px; }
.service-directory-card p { color:var(--muted); font-size:13px; line-height:1.75; margin:12px 0 20px; }
.service-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:22px; align-items:start; }
.service-action-card { padding:24px; border:1px solid var(--line); border-radius:15px; background:var(--surface); }
.service-action-card h2 { font-size:21px; margin:12px 0 7px; }
.service-action-card p { color:var(--muted); font-size:12px; line-height:1.7; margin-bottom:20px; }
.detail-reading ol { margin:12px 0 28px; padding-left:24px; color:var(--muted); line-height:1.9; }
.detail-reading h2 { font-size:22px; margin-top:25px; }
.verified-notice { display:flex; align-items:center; gap:8px; padding:14px; border-radius:10px; background:#eef6ef; color:#5c8063; font-size:12px; }
.verified-notice svg { width:16px; }
.chat-service-card { margin-top:12px; padding:15px; background:var(--surface); border:1px solid var(--line); border-radius:12px; display:grid; gap:8px; }
.chat-service-card strong { font-size:14px; }
.chat-service-card p { color:var(--muted); font-size:12px; line-height:1.6; }
@media (max-width:780px) { .service-directory,.service-detail-grid { grid-template-columns:1fr; } }
.service-home-callout { display:flex; justify-content:space-between; align-items:center; gap:28px; padding:34px 38px; margin-bottom:88px; border:1px solid var(--line); border-radius:17px; background:var(--surface); }
.service-home-callout h2 { font-size:29px; margin-top:10px; }
.service-home-callout p { max-width:650px; color:var(--muted); font-size:13px; line-height:1.8; margin-top:9px; }
@media (max-width:780px) { .service-home-callout { display:block; padding:27px 24px; margin-bottom:60px; } .service-home-callout .btn { margin-top:22px; } }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.capability-grid-section { padding-top:10px; }
.capability-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:24px; }
.capability-card { min-height:180px; padding:23px; border:1px solid var(--line); border-radius:15px; background:var(--surface); }
.capability-card svg { width:22px; height:22px; color:var(--primary); margin-bottom:22px; }
.capability-card h3 { font-size:17px; margin-bottom:8px; }
.capability-card p { color:var(--muted); font-size:13px; line-height:1.7; }
@media (max-width:780px) { .capability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:510px) { .capability-grid { grid-template-columns:1fr; } }
