/* Shared public identity; environments differ by section, routes and functionality remain intact. */
body.pub{--editorial-cream:#f7f2e9;--editorial-champagne:#dfc8a7;--editorial-copper:#986032;--editorial-midnight:#101b25;--r:22px;--gold:#ad703b;--gold2:#8c4c28;--cream:#f2dfc3;--bg:#f7f2e9;--bg2:#f0e8db;--panel:#fffbf5;--text:#30251f;--muted:#73675d;--dim:#776a60;--silver:#706357;--line:#ded1c1;--line2:#cdb89d;background:var(--bg);color:var(--text)}
body.pub[data-section="home"],body.pub[data-section="tech"],body.pub[data-section="create"]{--bg:#101820;--bg2:#17222b;--panel:#202a30;--text:#f7efe4;--muted:#c7c1b9;--dim:#b6ada1;--silver:#d4c9bb;--line:#37404a;--line2:#78634d;--gold:#e3b87e;--gold2:#d09557}
.pub h1,.pub .h2,.pub .unc-editorial h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em}.pub h1{font-size:clamp(44px,6.2vw,88px);line-height:1.05}.pub h2.h2{font-size:clamp(32px,4vw,58px);line-height:1.12}.pub .gold,.pub .silver{background:none;color:var(--gold)}.pub .eyebrow{letter-spacing:.24em;color:var(--gold);font-size:11px}.pub .site-head{background:color-mix(in srgb,var(--bg) 90%,transparent);border-color:var(--line)}.pub .mega,.pub .m-menu,.pub .search-card,.pub .modal-card{background:var(--bg);color:var(--text);border-color:var(--line)}.pub .gold-btn{background:linear-gradient(135deg,#9a663b,#6e3f23);color:#fff8ed;border:1px solid #c0996d;box-shadow:0 7px 20px #3f261319;border-radius:40px;padding:13px 23px}.pub[data-section="home"] .gold-btn,.pub[data-section="tech"] .gold-btn,.pub[data-section="create"] .gold-btn{background:linear-gradient(135deg,#f2d4a2,#c99251);color:#22160e}.pub .dark-btn,.pub .outline-btn,.pub .brain-btn{border-radius:30px;border-color:var(--line2);color:var(--text);background:color-mix(in srgb,var(--panel) 75%,transparent)}.pub .band{border-color:var(--line);padding:72px 0}.pub .card,.pub .plan,.pub .related>a{background:color-mix(in srgb,var(--panel) 90%,transparent);border-color:var(--line);box-shadow:0 9px 28px #29170b05}.pub .card b{font-size:20px;font-weight:500}.pub .hero .env.photo-env{position:absolute;inset:0;overflow:hidden}.photo-env img{width:100%;height:100%;object-fit:cover;object-position:center;opacity:1}.photo-env:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7f2e9f5 4%,#f7f2e9e0 24%,#f7f2e960 60%,#f7f2e908),linear-gradient(0deg,#f7f2e9,transparent 30%)}.pub[data-section="home"] .photo-env:after,.pub[data-section="tech"] .photo-env:after,.pub[data-section="create"] .photo-env:after{background:linear-gradient(90deg,#101820e8 0%,#101820b5 35%,#10182008 80%),linear-gradient(0deg,#101820,transparent 32%)}.pub .hero .lens{display:none}.pub .hero-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);min-height:620px}.pub .hero-copy{max-width:650px}.pub .world .w-vis{overflow:hidden;border-radius:20px}.pub .world .w-vis img{width:100%;height:100%;object-fit:cover}.pub .earth{background:var(--bg2);opacity:.6}.pub .site-foot{background:var(--bg2);border-color:var(--line)}.pub .earth-glow{opacity:.15}.pub .fs-img{overflow:hidden;border-radius:22px}.pub .fs-img img{width:100%;height:100%;object-fit:cover}.pub .plate-overlay,.pub .env-shade{display:none}.pub .guardians-mini span{background:var(--panel);color:var(--text);border-color:var(--line)}.pub .green{--green:#53755d}.pub .people-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:28px}.pub .people-strip figure{margin:0}.people-strip img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:20px}.people-strip figcaption{font-size:12px;margin:8px 0;color:var(--muted)}
.unc-section{background:linear-gradient(135deg,#fffaf2,#eee1cf);color:#39281e}.unc-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px}.unc-editorial h2{font-size:clamp(34px,4vw,58px);line-height:1.12;margin:16px 0 22px}.unc-editorial em{font-style:normal;color:#a76938}.unc-editorial h3{font-size:18px;font-weight:500;line-height:1.5}.unc-editorial p{color:#776556;max-width:500px;margin:20px 0 28px}.unc-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:34px}.unc-principles div{border-top:1px solid #d9c6ae;padding-top:14px}.unc-principles b,.unc-principles span{display:block}.unc-principles span{font-size:12px;color:#766658;margin-top:6px}.unc-demo{border:1px solid #d5bea1;border-radius:28px;background:#fffdf8;box-shadow:0 25px 70px #6b422b1c;overflow:hidden}.unc-demo header{display:flex;align-items:center;gap:12px;padding:20px;background:#efe3d1}.unc-demo h3{font:23px Georgia,serif;margin:0}.unc-demo small{font-size:11px;color:#776556}.unc-demo button{margin-left:auto;border:1px solid #b99b79;background:#fff9f0;border-radius:20px;color:#6a4328;padding:9px 13px;font-size:12px;min-height:40px}.unc-stack{display:flex;padding-right:10px}.unc-stack img{width:30px;height:30px;border-radius:50%;border:2px solid #fff5e7;margin-right:-10px}.unc-label{font-size:10px;letter-spacing:.04em;text-align:center;color:#806c57;margin:12px}.unc-messages{padding:8px 22px 20px;min-height:405px}.unc-message{display:flex;gap:10px;margin:14px 0;animation:unc-arrive .3s ease-out}.unc-message[hidden],.unc-typing[hidden]{display:none!important}.unc-message img{border-radius:50%;width:36px;height:36px;object-fit:cover;flex-shrink:0;margin-top:10px}.unc-message b{font-size:10px;letter-spacing:.08em;color:#97633d}.unc-message p{margin:5px 0 0;background:#f1ebe3;border:1px solid #e8dfd2;border-radius:0 17px 17px 17px;padding:12px 15px;font-size:13px;line-height:1.6}.unc-you{justify-content:flex-end;text-align:right;padding-left:40px}.unc-you p{background:#e8caa4;border-color:#e3c395;border-radius:17px 0 17px 17px}.unc-demo footer{text-align:center;padding:15px;font-size:10px;background:#f8f0e5;color:#8a745e}.unc-typing{color:#ae855f;letter-spacing:6px;font-size:9px;margin:12px 0 0 45px}.pub[data-section="home"] .hero-home h1{font-family:Inter,Arial,sans-serif;font-weight:800;letter-spacing:-.065em}.pub .hero-home .hero-grid{grid-template-columns:1fr 1fr;min-height:720px}.pub .hero-home .hero-copy .lede{max-width:560px}.pub .hero-home .hero-env{opacity:1}@keyframes unc-arrive{from{transform:translateY(6px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:900px){.pub .hero-grid,.pub .hero-home .hero-grid{grid-template-columns:1fr;min-height:580px;padding-top:65px}.photo-env:after{background:linear-gradient(90deg,#f7f2e9e6,#f7f2e970),linear-gradient(0deg,#f7f2e9,transparent 45%)}.unc-layout{grid-template-columns:1fr;gap:35px}.unc-messages{min-height:0}.pub .band{padding:45px 0}.pub .people-strip{grid-template-columns:repeat(3,1fr)}}@media(max-width:480px){.unc-demo header{padding:16px 12px;gap:8px}.unc-demo h3{font-size:20px}.unc-stack img{width:26px;height:26px}.unc-messages{padding:6px 12px 15px}.unc-message p{font-size:12px;padding:11px}.unc-principles{font-size:13px}.pub .hero-grid,.pub .hero-home .hero-grid{min-height:560px}.pub .people-strip{gap:8px}}@media(prefers-reduced-motion:reduce){.unc-message{animation:none!important}.pub *{scroll-behavior:auto!important}}
/* Clear editorial contrast replaces the previous dark-scene text treatment. */
.pub .hero-copy,.pub .hero-copy h1,.pub .hero-copy .lede,.pub .eyebrow,.pub .crumbs{text-shadow:none!important;filter:none!important}.pub .hero-copy h1{text-transform:none!important}.pub .hero-copy .lede{color:var(--muted)!important;opacity:1!important}.pub .nav-top{color:var(--muted);opacity:1}.pub .nav-item.active .nav-top,.pub .nav-top:hover{color:var(--gold)}.pub .note{color:var(--muted);background:color-mix(in srgb,var(--panel) 70%,transparent);border-color:var(--line2)}.pub .crumbs,.pub .mega-col span{color:var(--muted)}.pub .hero .hero-copy h1{max-width:780px}.pub[data-section="green"] .hero-copy h1{font-size:clamp(40px,5vw,70px)}.pub .unc-section .unc-editorial h2{color:#39281e}.pub .unc-section .eyebrow{color:#986032}
.unc-layout>*{min-width:0}.unc-demo{max-width:100%;min-width:0}.unc-demo header{flex-wrap:wrap}.unc-demo header>div:last-of-type{flex:1;min-width:100px}.unc-message>div{min-width:0;overflow-wrap:anywhere}.unc-principles{grid-template-columns:repeat(3,minmax(0,1fr))}.unc-principles div{overflow-wrap:anywhere}@media(max-width:380px){.unc-demo header button{margin-left:0}.unc-editorial h2{font-size:32px}.unc-demo header{padding:14px 10px}.unc-stack{display:none}.unc-principles{gap:8px}}
@media(max-width:380px){.pub .head-inner{padding-left:14px;padding-right:14px;gap:10px}.pub .head-actions{gap:7px}.pub .head-actions .brain-btn{padding:7px 10px}.pub .head-actions .icon-btn{width:30px;min-width:30px}.pub .logo{font-size:22px;letter-spacing:.12em}}

/* Dark copper remains readable as small text on the shared cream surfaces. */
body.pub{--gold:#875024;--gold2:#6e3f23;--editorial-copper:#875024;--muted:#62554b;--dim:#62554b;--silver:#62554b}
.pub input::placeholder,.pub textarea::placeholder{color:var(--muted);opacity:1}
