/* V3 staged visual integration — does not alter scanner, payments or account logic */
:root{--orange:#ff6a00;--orange2:#ff842a;--ink:#f4f6f8;--panel:#ffffff;--panel2:#f4f6f9;--line:#dfe5ec;--text:#263443;--muted:#667585;--green:#188951;--yellow:#ad7900;--red:#b83c48;color-scheme:light}
body{background:#f5f6f8;color:var(--text)}nav{background:#fff;color:var(--text);border-bottom:1px solid var(--line);box-shadow:0 3px 20px #26344308}.brand{color:var(--text)}.navlinks a,.actions a{color:#475464}.ghost{background:#f8f9fb;color:var(--text);border-color:#d9e0e7}.hero{background:linear-gradient(115deg,#fff 25%,#fff5ea 95%);min-height:unset!important;padding:42px 7vw 38px!important}.hero:before{opacity:.18}.hero h1{font-size:clamp(42px,4.5vw,65px)!important;line-height:1.05!important;max-width:720px}.lead{color:#526275;max-width:640px}.trust{color:#738191}.scanner-card{background:#fff;border:1px solid #dfe5ec;box-shadow:0 16px 45px #2833401c;transform:none;border-radius:16px}.scanner-card p{color:#657381}.fakeicon.old{background:#f1f3f6;color:#45505f}.section{border-color:var(--line);padding:46px 7vw!important}.section h2,.identity h2{font-size:clamp(30px,3.3vw,40px)!important;letter-spacing:-1.2px}.grid3 article,.prices article{background:#fff;border-color:var(--line);box-shadow:0 6px 22px #25364708}.grid3 p,.identity p,.prices p{color:#697787}.identity{background:#f0f3f6;padding:44px 7vw!important;gap:35px}.checks{background:#fff;border-color:var(--line)}.checks span{border-color:var(--line)}.security-strip span{background:#fff!important;border-color:var(--line)!important}.security-copy p,.security-foot{color:#718090!important}.app{background:#f5f6f8}.app aside{background:#fff;border-color:var(--line)}.side{color:#576577}.side.active{background:#fff0e5;color:#a95309}.asidefoot{color:#81909f}.workspace header{border-color:var(--line)}.back{color:#526376}.wizard>p{color:#667585}.uploadbox,.fields input,.fields textarea,.fields select,.authfield{background:#fff;color:var(--text);border-color:#cfd8e1}.uploadbox small{color:#647589}.uploadbox:focus-within{outline:2px solid #ff9f51}.scorebox,.finding,.identity-report>div,.icon-proof,.provenance,.dashnotice,.progress,.modalcard{background:#fff;border-color:var(--line)}.finding{border-left-width:5px}.finding p,.finding small,.icon-proof span,.identity-report span{color:#647385}.icon-proof img{background:#f4f5f7}.autherror{color:#b63946}.modal{background:#1c263599}.textbtn{color:#d75c00}.historyrow,.approw{background:#fff;color:var(--text);border-color:var(--line)}.toast{background:#263442;color:white}.report .finding header{border:0}.psc-theme{padding:9px 10px;background:#f4f6f9;border:1px solid #d2dbe4;border-radius:9px;color:#283744;cursor:pointer;font:700 12px system-ui,sans-serif;white-space:nowrap}.psc-theme:focus-visible{outline:2px solid var(--orange)}
/* Compact marketing layout without crowding the scan workflow */
#home .section{padding:42px 7vw!important}#home .security-compact{gap:15px 26px}#home .hero .actions{margin:16px 0}#home .hero .lead{margin:10px 0;font-size:17px}#home .hero .scanner-card{bottom:18px}#home .identity{padding:40px 7vw!important}.prices article{padding:19px!important}
:root[data-psc-theme="dark"]{color-scheme:dark;--panel:#212b36;--panel2:#19232c;--line:#35424e;--text:#eaf0f6;--muted:#afbecb;--green:#31cc86;--yellow:#f1bd52;--red:#ff697c}
:root[data-psc-theme="dark"] body,:root[data-psc-theme="dark"] .app{background:#131b23;color:var(--text)}
:root[data-psc-theme="dark"] nav,:root[data-psc-theme="dark"] .app aside,:root[data-psc-theme="dark"] .modalcard{background:#202b35}
:root[data-psc-theme="dark"] .hero{background:linear-gradient(105deg,#18242e,#2b241d)}
:root[data-psc-theme="dark"] .section{background:#131b23}
:root[data-psc-theme="dark"] .identity{background:#1a2630}
:root[data-psc-theme="dark"] .scanner-card,:root[data-psc-theme="dark"] .grid3 article,:root[data-psc-theme="dark"] .prices article,:root[data-psc-theme="dark"] .checks,:root[data-psc-theme="dark"] .security-strip span,:root[data-psc-theme="dark"] .uploadbox,:root[data-psc-theme="dark"] .fields input,:root[data-psc-theme="dark"] .fields textarea,:root[data-psc-theme="dark"] .fields select,:root[data-psc-theme="dark"] .authfield,:root[data-psc-theme="dark"] .scorebox,:root[data-psc-theme="dark"] .finding,:root[data-psc-theme="dark"] .identity-report>div,:root[data-psc-theme="dark"] .icon-proof,:root[data-psc-theme="dark"] .provenance,:root[data-psc-theme="dark"] .dashnotice,:root[data-psc-theme="dark"] .progress,:root[data-psc-theme="dark"] .historyrow,:root[data-psc-theme="dark"] .approw{background:#212b35;color:var(--text);border-color:var(--line)}
:root[data-psc-theme="dark"] .psc-theme,:root[data-psc-theme="dark"] .ghost{background:#2a3743;color:#f0f4fa;border-color:#566270}
:root[data-psc-theme="dark"] .navlinks a,:root[data-psc-theme="dark"] .actions a,:root[data-psc-theme="dark"] .brand,:root[data-psc-theme="dark"] .lead,:root[data-psc-theme="dark"] .grid3 p,:root[data-psc-theme="dark"] .identity p,:root[data-psc-theme="dark"] .prices p,:root[data-psc-theme="dark"] .scanner-card p,:root[data-psc-theme="dark"] .wizard>p,:root[data-psc-theme="dark"] .finding p{color:#bdcbd9}
:root[data-psc-theme="dark"] .fakeicon.old{background:#364451;color:#f1f4f8}
nav .psc-mobile-menu{display:none}
@media(max-width:850px){nav:not(.hidden){height:auto;min-height:64px;flex-wrap:wrap;padding:10px 5vw}nav .navlinks{flex-wrap:wrap;gap:8px;max-width:100%}nav .psc-mobile-menu{display:block;position:relative;order:3}nav .psc-mobile-menu summary{list-style:none;cursor:pointer;white-space:nowrap;padding:10px;border:1px solid var(--line);border-radius:9px;font-weight:700;font-size:13px;color:var(--text);background:var(--panel)}nav .psc-mobile-menu summary::-webkit-details-marker{display:none}nav .psc-mobile-panel{position:fixed;top:100%;left:5vw;right:5vw;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:0 12px 30px #0003;max-height:60vh;overflow:auto}nav .psc-mobile-panel a,nav .psc-mobile-panel .ghost{display:block;width:100%;padding:12px;text-align:left;color:var(--text);font-size:15px}nav .psc-mobile-panel a:focus-visible,nav .psc-mobile-menu summary:focus-visible{outline:2px solid var(--orange)}nav .navlinks>.orange{padding:10px 12px;font-size:13px}}
@media(max-width:850px){#home .hero{padding:36px 5vw!important}#home .hero .scanner-card{position:relative;bottom:auto;width:100%}#home .section{padding:32px 5vw!important}nav{gap:7px}.psc-theme{padding:8px 7px}}
/* Marketing readability; preserve application layout and theme controls. */
#home p,#home .lead{font-size:17px;line-height:1.65}#home .grid3 p,#home .prices p,#home .identity p,#home .security-copy p,#home .security-foot{color:#475569!important}#home details{border-top:1px solid var(--line);padding:16px 0;max-width:960px}#home summary{cursor:pointer;font-size:18px;font-weight:700}#home details p{margin:12px 0;color:var(--muted)}#home a:focus-visible,#home button:focus-visible,#home summary:focus-visible{outline:3px solid var(--orange);outline-offset:4px}:root[data-psc-theme="dark"] #home .grid3 p,:root[data-psc-theme="dark"] #home .prices p,:root[data-psc-theme="dark"] #home .identity p,:root[data-psc-theme="dark"] #home .security-copy p,:root[data-psc-theme="dark"] #home .security-foot{color:#c5d2e1!important}
/* Mobile conversion fixes, scoped to public marketing. */
#home .prices .pricebtn{display:block;width:100%;min-height:44px;padding:12px 16px}#home .prices .pricebtn.ghost{background:transparent;color:var(--text);border:1px solid var(--muted)}#home .prices .pricebtn.orange{color:#151515}#home h1,#home h2,#home .eyebrow{text-wrap:balance}#home .eyebrow,#home .security-strip b{color:#b45309}#home .psc-founder a,#home details a{color:#b45309;text-underline-offset:3px}#home .eyebrow{text-transform:none;letter-spacing:.02em;font-size:14px}#home .security-strip small{font-size:14px}:root[data-psc-theme="dark"] #home .eyebrow,:root[data-psc-theme="dark"] #home .security-strip b,:root[data-psc-theme="dark"] #home .psc-founder a,:root[data-psc-theme="dark"] #home details a{color:#ffb16a}nav .psc-mobile-panel .psc-theme{display:block;width:100%;min-height:44px;text-align:left}
@media(max-width:850px){nav:not(.hidden){flex-wrap:nowrap;justify-content:space-between;min-height:60px;padding:8px 5vw}nav .brand{font-size:clamp(16px,4.5vw,22px);white-space:nowrap}nav .brand .mark{flex-shrink:0}nav .navlinks{flex-wrap:nowrap;width:auto}nav .navlinks>.psc-theme,nav .navlinks>.orange{display:none}nav .psc-mobile-menu summary{min-height:44px;display:flex;align-items:center}#home .hero h1{font-size:clamp(32px,8vw,42px)!important;text-wrap:balance}#home .hero h1 br{display:none}#home .hero h1 em{display:block}#home .prices .ghost.pricebtn{display:block!important}#home .hero .actions button{min-height:44px}}
/* Dashboard accessibility: explicit contrast in both themes. */
#customerJourneyBar .customer-journey-credits .psc-pilot-balance{color:#eaf0f6!important;font-size:14px;font-weight:650;line-height:1.5;opacity:1;margin-top:6px}
#app aside .side{color:#263443;font-size:15px;font-weight:650;line-height:1.4;min-height:44px;cursor:pointer}
#app aside .side:hover{background:#edf1f5;color:#182634}
#app aside .side.active{background:#fff0e5;color:#8a3900;font-weight:750;box-shadow:inset 3px 0 #ff6a00}
#app aside .side:focus-visible{outline:2px solid #b45309;outline-offset:2px}
:root[data-psc-theme="dark"] #app aside .side{color:#e1eaf3}
:root[data-psc-theme="dark"] #app aside .side:hover{background:#344454;color:#fff}
:root[data-psc-theme="dark"] #app aside .side.active{background:#403326;color:#ffd0a3;box-shadow:inset 3px 0 #ff8a30}
:root[data-psc-theme="dark"] #app aside .side:focus-visible{outline-color:#ffad69}
/* Dashboard top-bar navigation, matched to sidebar contrast. */
#app .workspace>header .back{color:#263443;font-size:15px;font-weight:650;line-height:1.4;min-height:44px;padding:8px 10px;border-radius:8px;cursor:pointer}
#app .workspace>header .back:hover{background:#edf1f5;color:#182634}
#app .workspace>header .back:focus-visible{outline:2px solid #b45309;outline-offset:2px}
:root[data-psc-theme="dark"] #app .workspace>header .back{color:#e1eaf3}
:root[data-psc-theme="dark"] #app .workspace>header .back:hover{background:#344454;color:#fff}
:root[data-psc-theme="dark"] #app .workspace>header .back:focus-visible{outline-color:#ffad69}
@media(max-width:600px){#app .workspace>header .back{font-size:13px;padding:6px}}
/* Public navigation readability, matching dashboard navigation. */
nav .navlinks>a:not(.orange),nav .psc-mobile-panel a{color:#263443;font-size:15px;font-weight:650;line-height:1.4}
nav .navlinks>a:not(.orange):hover,nav .psc-mobile-panel a:hover{color:#8a3900;text-decoration:underline;text-underline-offset:4px}
nav .navlinks>a:focus-visible,nav .psc-mobile-panel a:focus-visible{outline:2px solid #b45309;outline-offset:3px}
:root[data-psc-theme="dark"] nav .navlinks>a:not(.orange),:root[data-psc-theme="dark"] nav .psc-mobile-panel a{color:#e1eaf3}
:root[data-psc-theme="dark"] nav .navlinks>a:not(.orange):hover,:root[data-psc-theme="dark"] nav .psc-mobile-panel a:hover{color:#ffd0a3}
:root[data-psc-theme="dark"] nav .navlinks>a:focus-visible{outline-color:#ffad69}
@media(min-width:851px) and (max-width:1200px){nav .navlinks>a:not(.orange){font-size:13px}nav .navlinks{gap:10px}}
/* Compact mobile pricing; keep existing purchase handlers. */
@media(max-width:720px){#home #pricing .prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}#home #pricing .prices article{min-width:0;min-height:0;height:auto;padding:14px 10px!important;display:flex;flex-direction:column;gap:8px;justify-content:flex-start}#home #pricing .prices h3{font-size:16px;line-height:1.2;margin:0}#home #pricing .prices strong{font-size:clamp(20px,5.4vw,27px);line-height:1.2;margin:0;white-space:normal}#home #pricing .prices p{font-size:14px;line-height:1.4;margin:0 0 4px;flex:1}#home #pricing .prices .pricebtn{font-size:12px;line-height:1.2;padding:8px 4px;min-height:44px;margin:0;white-space:normal}#home #pricing .prices label{position:static;align-self:flex-start;font-size:10px;padding:3px 6px;margin:0}#home #pricing .prices article:not(.featured){padding-top:14px!important}}

