:root{--bg:#0b0d1a;--bg-2:#14162b;--surface:#14172a;--ink:#f5f4ff;--ink-dim:#d0cde4;--ink-muted:#b4b1ca;--uv:#aa8afc;--uv-deep:#6c42cc;--uv-bright:#c6afff;--uv-soft:#d5c4ff;--line:#30354d;--line-2:#424661;--danger:#ff9caa;--success:#78edc0;color-scheme:dark}
body>nav{background:#101222;border-color:#33364d;position:sticky;top:0}
.nav-cta,.btn-primary{background:#5732a9;border-color:#936bed;color:#fff}
.nav-cta:hover,.btn-primary:hover{background:#633bbd}
.status-icon.prompt,.status-icon.loading{background:#472989}
.status-icon.error{background:#782749}
.cert-number-display{overflow-wrap:anywhere}
.verify-demo-link{display:inline-block;margin-top:20px;color:#d8c8ff}
[hidden]{display:none!important}
#digital-verification{display:block;padding:0 18px 40px;width:min(100%,940px);margin:0 auto}
.credential{text-align:left;line-height:1.55;color:#f5f4ff}
.credential-head{position:relative;padding:27px clamp(16px,5vw,52px) 30px;margin:25px 0 16px;overflow:hidden;border:1px solid #484466;border-radius:24px;background:radial-gradient(ellipse at 50% 0,#302151 0%,transparent 68%),#14162a;text-align:center}
.credential-kicker,.credential-index{font:700 .72rem/1.5 system-ui,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#d9c3ff}
.credential h1{font-size:clamp(2rem,8vw,4rem);font-weight:400;margin:0 0 .24em;color:#fff}
.credential h2{font-family:Georgia,serif;font-size:clamp(1.4rem,4vw,2rem);font-weight:400;line-height:1.15;margin:0 0 14px}
.credential-head p{color:#d1cbea}
.credential-state{display:table;margin:12px auto 0;padding:5px 12px;border:1px solid #7954bb;border-radius:999px;color:#ece2ff;font-weight:700;font-size:.83rem}
.credential-state[data-state=demo]{position:sticky;top:72px}
.credential-state[data-state=verified],.credential-state[data-state=historical]{border-color:#367e68;color:#86f4cc}
.credential-state[data-state=revoked],.credential-state[data-state=unable]{border-color:#903f57;color:#ffc1cd}
.credential-shield{width:100px;height:100px;margin:12px auto;color:#c2a5ff;filter:drop-shadow(0 0 20px #8c62d873)}
.credential-shield.verified{color:#85f3c7;filter:drop-shadow(0 0 18px #43d5a273)}
.credential-demo{position:sticky;top:74px;z-index:2;padding:8px 14px;margin-top:0;background:#493077;border:1px solid #c095ff;color:#fff;font-weight:700;text-align:center;border-radius:0 0 12px 12px;font-size:.85rem}
.credential-badges,.credential-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:16px 0}
.credential-badge{font-size:.79rem;border:1px solid #655380;border-radius:50px;padding:4px 11px;color:#efe6ff}
.credential-code{font:400 .82rem/1.6 ui-monospace,monospace;overflow-wrap:anywhere;color:#ddd0ff}
.credential-panel{background:#14172a;border:1px solid #333951;border-radius:17px;padding:clamp(15px,4vw,25px);margin:12px 0;overflow-wrap:anywhere}
.credential-panel p{color:#d0cde4;margin:5px 0}
.credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0}
.credential-metric{padding:12px 9px;background:linear-gradient(145deg,#262346,#171b31);border:1px solid #454560;border-radius:12px}
.credential-metric dt{font-size:.82rem;color:#d2c9e8}
.credential-metric dd{color:#fff;font-family:Georgia,serif;font-size:clamp(1.45rem,5vw,2rem);line-height:1.3}
.credential-list,.credential-history{list-style:none;display:grid;gap:8px}
.credential-list li,.credential-history li,.credential-panel details{padding:10px 12px;border:1px solid #383e58;border-radius:9px;background:#101325}
.credential-panel details+details{margin-top:7px}
.credential-panel summary{cursor:pointer;font-weight:650;min-height:28px}
.credential-list b{color:#d8c4ff}
.credential-history{position:relative;border-left:2px solid #8467bb;padding-left:12px}
.credential a{color:#dbcaff;text-underline-offset:3px}
.credential-actions{justify-content:flex-start}
.credential .credential-control{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border:1px solid #746297;border-radius:7px;font:inherit;font-size:.87rem;font-weight:650;text-decoration:none;background:#251d43;color:#f5efff;cursor:pointer}
.credential .credential-control:hover{background:#39275d}
.credential :focus-visible, a:focus-visible{outline:2px solid #dbcaff;outline-offset:4px}
.credential-footer{text-align:center;margin-top:20px}
.credential-footer .credential-control{margin:10px}
@media(min-width:660px){.credential-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.credential-metric{padding:14px}.credential-list{grid-template-columns:1fr 1fr}}
@media screen and (max-width:600px){
  body>nav{min-height:64px;padding:9px 16px;gap:8px}
  .brand{min-height:44px;gap:6px}
  .brand img{width:30px;height:30px}
  .brand-mark{font-size:21px}
  .nav-cta{display:inline-flex;align-items:center;min-height:44px;padding:7px 10px;text-align:center;font-size:.8rem}
  #legacy-verification{padding:22px 16px}
  #legacy-verification .card{padding:24px 16px;border-radius:16px}
  .status-icon{width:64px;height:64px;margin-bottom:16px;border-radius:16px}
  .status-icon svg{width:34px;height:34px}
  .input-row input{min-width:0;width:100%;font-size:1rem}
  .input-row .btn,.verify-demo-link{min-height:44px}
  .verify-demo-link{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;margin-top:0}
  .credential-demo{top:64px}
  .credential-head{border-radius:16px;overflow-wrap:anywhere}
  .credential-metric dd{margin-inline-start:0}
  .credential-panel summary{min-height:44px;padding-block:.5rem}
  .credential-actions .credential-control{flex:1 1 100%}
}
@media screen and (pointer:coarse){.input-row input{font-size:1rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{body{background:#fff!important;color:#12152a!important}.credential-panel,.credential-head,.credential-metric,.credential-list li,.credential-history li,.credential-panel details,.credential-demo{background:#fff!important;border-color:#bbb!important;position:static;break-inside:avoid}.credential *{color:#12152a!important;text-shadow:none!important}.credential-actions,body>nav,.credential-footer,body>footer,.bg-glow,.credential-panel:not(.credential-print),.credential-print button{display:none!important}}
