/* Promi Labs public visual consistency hotfix — 2026-10-11.
   Explicitly scoped to public pages. Never applied to the employee workspace.
   Reuses approved logo image and existing site type system. */
:root {--v9-bg:#0a080e;--v9-surface:#121016;--v9-panel:#17121e;--v9-ink:#f7f4fc;--v9-muted:#bcb2c9;--v9-accent:#9b72eb;--v9-border:rgba(193,159,233,.20)}
html {scroll-padding-top:88px}
body.v9-public {background:var(--v9-bg);color:var(--v9-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:clip}
.v9-public :is(h1,h2,h3,h4,h5,h6,p,li,small,button,input,textarea,select,summary,blockquote) {font-family:inherit}
.v9-public :is(h1,h2,h3,h4) {text-wrap:balance;letter-spacing:-.045em}
.v9-public :is(p,li,blockquote) {overflow-wrap:break-word}
.v9-public :is(a,button,input,textarea,select):focus-visible {outline:2px solid #caa9ff!important;outline-offset:4px}
.v9-public [hidden] {display:none!important}

/* Shared navigation: logo left, four links beside it, account icon on right. */
.v9-public .v9-header {box-sizing:border-box!important;position:sticky!important;top:0;z-index:100!important;height:76px!important;min-height:76px!important;width:100%;max-width:none!important;padding:0 clamp(20px,5vw,68px)!important;margin:0!important;border-bottom:1px solid var(--v9-border)!important;background:rgba(18,16,22,.93)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.v9-public .v9-header :is(.v7-header-left,.v7-header-right){display:flex;align-items:center;flex-shrink:0;min-width:0;gap:0}
.v9-public .v9-header .v7-header-left {gap:clamp(24px,3.6vw,56px)!important;flex:1;min-width:0}
.v9-public .v9-header .v7-header-left nav {display:flex;align-items:center;gap:clamp(16px,2.3vw,34px)!important;margin:0!important;min-width:0;flex-wrap:nowrap}
.v9-public .v9-header .v7-header-left nav a {font-size:13px!important;line-height:1.3!important;letter-spacing:0!important;color:#c4b9d0!important;text-decoration:none!important;white-space:nowrap!important;font-weight:480!important}
.v9-public .v9-header .v7-header-left nav a:hover,.v9-public .v9-header .v7-header-left nav a[aria-current="page"] {color:#fff!important}
.v9-public .v9-header .v8-brand {flex:0 0 auto;display:inline-flex!important;align-items:center!important;padding:0!important;line-height:1!important;overflow:hidden!important;max-width:166px;min-width:0}
.v9-public .v9-header .v8-brand-logo {display:block!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center left!important;width:166px!important;max-width:166px!important;height:50px!important;max-height:50px!important;min-height:0!important;aspect-ratio:1071/321!important;border:0!important;margin:0!important;padding:0!important;border-radius:0!important}
.v9-public .v9-header .v7-account {width:41px!important;height:41px!important;min-width:41px;display:grid;place-items:center;color:#e0c6f8!important;border-radius:50%;background:#21182a!important;border:1px solid #6a4d83!important;transition:background .2s,border-color .2s,transform .2s}
.v9-public .v9-header .v7-account:hover {background:#372449!important;border-color:#bd8df5!important;transform:translateY(-2px)}
.v9-public .v9-header .v7-account svg {width:21px;height:21px}
.v9-public .v9-header .v5-menu-toggle {display:none}
.v9-public .v9-mobile-nav{position:fixed!important;z-index:99!important;top:76px!important;left:12px!important;right:12px!important;max-height:calc(100dvh - 88px);overflow:auto;padding:15px!important;border:1px solid #6c4d85;border-radius:15px;background:#181120!important;box-shadow:0 30px 70px #0009}
.v9-public .v9-mobile-nav a{display:block;color:#e9dcf7;text-decoration:none;padding:12px 15px;border-radius:8px;font-size:15px}
.v9-public .v9-mobile-nav a:hover {background:#362347}

/* Directory: same editorial hierarchy as the homepage and detailed project pages. */
.v9-public.v9-projects {background:radial-gradient(ellipse 65% 34% at 73% 16%,rgba(76,38,130,.16),transparent 75%),var(--v9-bg)}
.v9-projects .v5-main {max-width:1170px!important;width:100%!important;margin:0 auto!important;padding:0 clamp(22px,5.5vw,72px) 52px!important;box-sizing:border-box}
.v9-projects .v5-directory-hero {padding:clamp(80px,10vw,135px) 0 clamp(55px,7vw,85px)!important}
.v9-projects .v5-directory-hero h1 {font-size:clamp(64px,9.1vw,121px)!important;line-height:1.01!important;letter-spacing:-.075em!important;font-weight:700!important;margin:15px 0 24px!important}
.v9-projects .v5-directory-hero .v5-lead {max-width:750px;color:#c3b8cf;font-size:clamp(17px,1.9vw,23px);line-height:1.6}
.v9-projects .v5-directory-tools{display:grid!important;grid-template-columns:130px minmax(220px,430px) 1fr;align-items:center;gap:24px;border-color:var(--v9-border);padding:25px 0!important}
.v9-projects .v5-directory-tools label {font-size:13px;line-height:1.4;color:#aa99bb}
.v9-projects .v5-directory-tools input{max-width:none!important;width:100%;min-width:0;border:1px solid #5d4773;border-radius:100px;background:#191320;padding:13px 19px;color:#fbf7ff;transition:border-color .18s,box-shadow .18s}
.v9-projects .v5-directory-tools input:focus{border-color:#b88af9;box-shadow:0 0 0 3px #b88af925}
.v9-projects .v5-featured-title{padding:74px 0 29px;gap:55px}
.v9-projects .v5-featured-title h2,.v9-projects .v5-more-block h2{font-weight:670!important;line-height:1.14!important}
.v9-projects .v5-featured-title p{max-width:400px;line-height:1.75}
.v9-projects .v5-project-row{min-height:107px;transition:background .2s,padding .2s;padding:22px 9px;border-color:var(--v9-border)}
.v9-projects .v5-project-row:where(:hover,:focus-visible){background:#1a1322;padding-left:18px}
.v9-projects .v5-project-name{font-size:clamp(18px,2vw,23px)!important;line-height:1.3;font-weight:650}
.v9-projects .v5-project-desc{color:#ad9fb9;font-size:13px;line-height:1.55}
.v9-projects .v5-link-mark{display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;border:1px solid #664881;border-radius:50%;background:#22182b;color:#c5a4f0}
.v9-projects .v5-link-mark svg{width:16px;height:16px}
.v9-projects .v5-more-block{padding:90px 0 85px}
.v9-projects .v5-more-row{border-color:var(--v9-border);min-height:75px}
.v9-projects .v5-more-row strong{font-size:16px}
.v9-projects .v5-more-row>span{color:#a491b4}

/* Cohesive footer without dropping public privacy/team-privacy destinations. */
.v9-public footer.v9-footer {padding:45px clamp(22px,7vw,115px)!important;background:#0b0910!important;border-top:1px solid var(--v9-border)!important;display:grid!important;grid-template-columns:minmax(150px,1fr) auto;gap:26px 32px;align-items:center;text-align:left!important;min-height:0;color:#ada0ba}
.v9-footer .v9-footer-mark img{display:block;width:147px;height:auto;max-width:100%;object-fit:contain}
.v9-footer nav {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:clamp(12px,2vw,27px)}
.v9-footer nav a {color:#c6b9d4!important;font-size:12px;text-decoration:none!important;white-space:nowrap}
.v9-footer nav a:hover {color:#fff!important}
.v9-footer>p {grid-column:1/-1;color:#897a97;font-size:11px;margin:0!important;line-height:1.6}

/* The original Promi marketing page mixes light sections with dark. Restore one visual system. */
.v9-public-promi{background:#0b0910!important;color:#f7f4fc!important}
.v9-public-promi main{background:#0b0910!important;color:#f7f4fc!important}
.v9-public-promi main > :is(section,article,div){color:var(--v9-ink)!important}
.v9-public-promi main > :is(section,article):not(:first-child) {background:#100d16!important;color:#f4eff9!important;border-color:var(--v9-border)!important}
.v9-public-promi main > :is(section,article):not(:first-child):nth-of-type(2n) {background:#15101e!important}
.v9-public-promi main :is([class*="panel"],[class*="card"],[class*="surface"],[class*="grid"]) {color:#eee8f6}
.v9-public-promi main :is(h1,h2,h3,h4,h5,h6) {color:#f7f4fc!important}
.v9-public-promi main :is(p,li,small,blockquote) {color:#bfb5cb}
.v9-public-promi main :is(input,textarea,select) {color:#fbf7ff;background:#191420;border-color:#604d70}
.v9-public-promi main :is([style*="background: white"],[style*="background:#fff"],[style*="background: #fff"],[class*="bg-white"],[class*="light-section"]) {background:#15111e!important;color:#f5effa!important}
.v9-public-promi main :is([style*="background: white"],[style*="background:#fff"],[style*="background: #fff"]) :is(p,h1,h2,h3,h4,li){color:#ddd3e7!important}
.v9-public-promi .v9-survey-handoff{padding:55px clamp(20px,6vw,85px);margin:38px 0;border:1px solid #654982;border-radius:22px;background:linear-gradient(130deg,#24192f,#120e1b);color:#f7f3fc}
.v9-survey-handoff h2{font-size:clamp(28px,3.3vw,46px)!important;line-height:1.17;margin:10px 0 16px}
.v9-survey-handoff p{max-width:630px;color:#c6bbd2!important;line-height:1.75}
.v9-survey-handoff a{display:inline-flex;margin-top:14px;text-decoration:none;background:#fbf8ff;color:#171020!important;font-size:14px;font-weight:700;border-radius:99px;padding:13px 24px}

/* Non-homepage public page type discipline: use the same title and body faces. */
.v9-public :is(.v5-kicker,.v8-kicker,.v6-eyebrow){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
.v9-public :is(.v5-lead,.v8-hero-description){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
@media(max-width:1000px){.v9-public .v9-header{padding:0 23px!important}.v9-public .v9-header .v7-header-left{gap:22px!important}.v9-public .v9-header .v7-header-left nav{gap:17px!important}.v9-public .v9-header .v8-brand-logo{width:143px!important;height:44px!important}.v9-public .v9-header .v8-brand{max-width:143px}}
@media(max-width:930px){.v9-public .v9-header .v7-header-left nav{display:none!important}.v9-public .v9-header .v5-menu-toggle{display:block!important;width:43px;height:43px;padding:10px;background:transparent;border:0;color:#eee3f7;cursor:pointer}.v9-public .v9-header .v7-header-right{gap:12px!important}.v9-public .v9-header .v7-header-left{flex:1}.v9-public .v9-header .v8-brand-logo{width:155px!important;height:46px!important}.v9-public .v9-header .v8-brand{max-width:155px}}
@media(max-width:670px){.v9-public .v9-header{height:68px!important;min-height:68px!important;padding:0 17px!important}.v9-public .v9-mobile-nav{top:68px!important}.v9-projects .v5-directory-hero{padding:69px 0 49px!important}.v9-projects .v5-directory-hero h1{font-size:clamp(60px,12vw,87px)!important}.v9-projects .v5-directory-tools{display:grid!important;grid-template-columns:1fr!important;gap:10px;padding:23px 0!important}.v9-projects .v5-directory-tools input{max-width:none;width:100%}.v9-projects .v5-featured-title{padding:56px 0 18px}.v9-projects .v5-featured-title h2{font-size:clamp(25px,7vw,37px)}.v9-projects .v5-project-row{padding:19px 3px;min-height:94px}.v9-projects .v5-project-desc{font-size:12px}.v9-projects .v5-more-block{padding-top:65px}.v9-public footer.v9-footer{grid-template-columns:1fr;gap:17px}.v9-footer nav{justify-content:flex-start}.v9-footer>p{grid-column:1}.v9-public-promi .v9-survey-handoff{margin:24px 0}}
@media(max-width:375px){.v9-public .v9-header .v8-brand-logo{width:133px!important;height:41px!important}.v9-public .v9-header .v8-brand{max-width:133px}}
@media(prefers-reduced-motion:reduce){.v9-public *,.v9-public *::before,.v9-public *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
.v9-public-promi main .v9-light-recast{background-color:#17111f!important;background-image:none!important;color:#f4ecf9!important}
.v9-public-promi main .v9-light-recast :is(h1,h2,h3,h4,h5,h6){color:#f7f4fc!important}
.v9-public-promi main .v9-light-recast :is(p,li,blockquote,small,label){color:#c5b9cf!important}

.v9-public :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,small,button,input,textarea,select,summary){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important}
.v9-public-promi main :is(p,li,small,blockquote){color:#c4b9cf!important}
