/* Smart Profile public identity. API and consent flows remain in app.js. */
:root{--bg:#f6f5f1;--card:#fff;--ink:#151b2d;--muted:#687080;--border:#dbdedf;--primary:#4b63f3;--primary-strong:#344bdd;--tint:#eef0ff;--teal:#4b63f3;--shadow:0 18px 55px -34px #151b2d55;--focus:#4b63f3}
:root[data-theme=dark]{--bg:#101421;--card:#1a2031;--ink:#f4f4fa;--muted:#b2b8c7;--border:#353d50;--primary:#8e9dff;--primary-strong:#a9b5ff;--tint:#292e4f;--teal:#8e9dff;--shadow:0 18px 55px -30px #0008;--focus:#a7b1ff}
html[lang=en] body{font-family:'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}h1,h2,h3{letter-spacing:-.035em}html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{letter-spacing:0}.section,#header .header-inner,.footer-inner{width:min(1216px,calc(100% - 80px));max-width:none;margin-inline:auto}.section{margin-bottom:72px}.card{border-radius:20px;box-shadow:none}.button{border-radius:12px;font-weight:650}.primary{background:#4b63f3;box-shadow:0 5px 14px -8px #4b63f3aa}.primary:hover{background:#354ce0}.secondary{color:var(--ink)}.icon-button{border-radius:11px;color:var(--ink);min-width:42px;min-height:42px}.icon-button:hover{background:var(--tint);border-color:var(--primary)}.icon-button .icon{width:20px;height:20px}.quiet-link{display:inline-flex;gap:8px;align-items:center}.quiet-link:hover{text-decoration:underline}#header{background:transparent;border:0}#header .header-inner{height:92px;padding:0;border-bottom:1px solid var(--border);gap:24px}.brand{gap:11px;flex:none}.brand img{width:42px;height:42px;border-radius:0;box-shadow:none}.brand b{font-family:'Segoe UI',Arial,sans-serif;font-size:18px;font-weight:750;letter-spacing:-.5px}.brand small{font-size:10px;line-height:1.4;display:block;margin-top:4px}.header-nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:600;color:var(--muted)}.header-nav a:hover{color:var(--primary)}.header-login .icon{width:17px;height:17px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}html[lang=ar] .eyebrow{letter-spacing:0;font-size:12px}.eyebrow:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--primary)}
.hero{grid-template-columns:1.03fr 1fr;gap:68px;padding:66px 0 0;margin-bottom:54px}.hero-copy{text-align:start}.hero-copy h1{font-size:clamp(42px,4.3vw,62px);line-height:1.13;margin:23px 0;max-width:650px;font-weight:750;letter-spacing:-.055em}.hero-copy h1 em{font-style:normal;color:var(--primary)}html[lang=ar] .hero-copy h1{font-size:clamp(36px,3.7vw,54px);line-height:1.5;margin:15px 0 16px;letter-spacing:-1.5px}.hero .lead{font-size:16px;line-height:1.85;max-width:480px;margin:0}.hero-actions{gap:24px;margin-top:28px;flex-wrap:wrap;justify-content:flex-start}.hero-actions>.button{min-width:154px}.trust-line{margin-top:24px;font-size:12px;justify-content:flex-start}.identity-stage{height:445px;position:relative;border-radius:26px;background:#151b2d;overflow:hidden;color:#fff;isolation:isolate;box-shadow:0 28px 48px -33px #151b2d90}.identity-stage:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#ffffff05 1px,transparent 1px),linear-gradient(#ffffff05 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,#000,transparent)}.stage-heading{position:absolute;inset:24px 26px auto;display:flex;justify-content:space-between;align-items:center;font:600 10px/1.4 'Segoe UI',sans-serif;letter-spacing:1.8px;color:#aeb8d0;direction:ltr}.stage-heading .icon{width:19px;height:19px;color:#edb45b}.connection-ring{position:absolute;left:50%;top:49%;width:332px;height:332px;border:1px solid #7586b92f;border-radius:50%;transform:translate(-50%,-50%)}.connection-ring:before,.connection-ring:after{content:'';position:absolute;border:1px solid #7586b925;border-radius:50%;inset:28px}.connection-ring:after{inset:-35px;border-style:dashed}.stage-card{width:270px;position:absolute;left:50%;top:51%;transform:translate(-50%,-50%) rotate(-7deg);border-radius:19px;padding:24px;background:#f5f4ee;color:#151b2d;box-shadow:14px 18px 0 -5px #414d73,21px 25px 0 -5px #29344d,0 20px 50px #0005;border:1px solid #fff9;direction:ltr}.stage-card-top{display:flex;align-items:center;justify-content:space-between;font:700 11px 'Segoe UI',sans-serif;letter-spacing:.6px}.stage-card-top img{width:32px;height:32px}.stage-person{margin:28px 0 22px;display:flex;align-items:center;gap:15px}.stage-avatar{width:62px;height:70px;display:grid;place-items:center;background:#dee3ff;border-radius:19px 19px 19px 4px;color:#4b63f3}.stage-avatar .icon{height:34px;width:34px}.stage-person b{font:750 22px 'Segoe UI',Cairo,sans-serif}.stage-person small{display:block;margin-top:5px;color:#687080;font-size:11px}.stage-rule{height:1px;background:#d6d8df;margin-bottom:15px}.stage-card-bottom{display:flex;align-items:center;gap:9px;color:#5d6473;font:600 10px 'Segoe UI',sans-serif;letter-spacing:.5px}.stage-card-bottom>.icon{width:16px;height:16px}.stage-qr{margin-inline-start:auto;color:#151b2d}.stage-qr .icon{width:35px;height:35px}.stage-tag{position:absolute;display:flex;align-items:center;gap:9px;border:1px solid #ffffff20;background:#25304a;color:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 10px 25px #0003;font-size:12px;line-height:1.5}.stage-tag .icon{color:#b7c1ff;width:20px;height:20px}.stage-tag.first{top:93px;right:23px;bottom:auto;left:auto;transform:none}.stage-tag.second{bottom:92px;left:22px;right:auto;top:auto;background:#edb45b;color:#312617;border-color:#f3c77f;transform:rotate(3deg)}.stage-tag.second .icon{color:#4a3414}.stage-caption{position:absolute;inset:auto 24px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#aeb8d0;font-size:10px}.stage-caption i{width:7px;height:7px;background:#edb45b;border-radius:50%;display:block}
.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:27px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);gap:28px;margin-bottom:76px}.feature{display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;padding:0;align-items:start}.feature-number{font-size:11px;color:var(--primary);font-weight:700;padding-top:3px;direction:ltr}.feature h2{font-size:17px;margin:0 0 9px;line-height:1.5;letter-spacing:-.3px}.feature p{font-size:13px;line-height:1.85;margin:0}.how-section{padding:0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:30px;text-align:start}.section-heading h2{font-size:32px;margin-top:10px}.section-heading>p{max-width:375px;font-size:14px;line-height:1.8}.steps{gap:24px}.steps article{display:block;border-top:2px solid var(--border);padding:23px 0 0;position:relative}.steps article:before{content:'';position:absolute;top:-5px;inset-inline-start:0;width:8px;height:8px;background:var(--primary);border-radius:50%}.steps .step-number{font-size:12px;font-weight:650;color:var(--muted);letter-spacing:2px;display:block;margin-bottom:12px}.steps h3{font-size:20px;margin-bottom:9px}.steps p{font-size:14px;max-width:320px;line-height:1.8;margin:0}.privacy-grid{grid-template-columns:.85fr 1.15fr;border:1px solid var(--border);border-radius:24px;overflow:hidden;gap:0}.privacy-manifesto{background:#151b2d;color:#fff;padding:42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:28px;position:relative;overflow:hidden}.privacy-manifesto:after{content:'';width:220px;height:220px;border:45px solid #4b63f31f;border-radius:80px;position:absolute;inset-inline-end:-80px;bottom:-90px;transform:rotate(20deg)}.privacy-manifesto .eyebrow{color:#b2badd}.privacy-manifesto .eyebrow:before{background:#edb45b}.privacy-manifesto h2{font-size:clamp(29px,3vw,39px);max-width:340px;line-height:1.45;position:relative;z-index:1}.privacy-manifesto>p{color:#b7bfd0;font-size:13px;max-width:320px;position:relative;z-index:1}.privacy-rules{padding:16px 36px;background:var(--card)}.privacy-rule{display:flex;gap:18px;padding:24px 0;border-bottom:1px solid var(--border)}.privacy-rule:last-child{border:0}.privacy-rule>.icon{color:var(--primary);margin-top:4px}.privacy-rule h3{font-size:17px;margin-bottom:7px;line-height:1.55}.privacy-rule p{font-size:13px;line-height:1.9}.cta-panel{padding:0;border:0;border-radius:0;background:none;text-align:start;margin-top:8px;margin-bottom:64px;gap:30px;display:flex}.cta-panel h2{font-size:28px}.cta-panel p{margin-top:10px;font-size:14px}.cta-panel .button{margin:0}.demo-panel{border-top:1px solid var(--border);padding:45px 0 0;border-radius:0;background:transparent;box-shadow:none}.demo-panel>h2{margin:12px 0 13px;font-size:29px}.demo-panel>p{max-width:750px;font-size:13px;line-height:1.8}.demo-accounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}.demo-account{border-radius:16px;overflow:hidden;display:flex;flex-direction:column;background:var(--card);padding:0;transition:border-color .2s,box-shadow .2s}.demo-account:hover{border-color:var(--primary);box-shadow:var(--shadow)}.demo-account h3{font-size:14px;gap:12px;padding:19px 20px 14px;margin:0}.demo-account h3 .icon{color:var(--primary);width:20px;height:20px}.demo-account dl{padding:0 20px 18px;font-size:12px}.demo-account dl>div{align-items:center;padding:4px 0}.demo-account dt{font-size:11px}.demo-account dd{font:600 12px/1.8 'Segoe UI',Arial,sans-serif}.demo-account .button{border:0;border-top:1px solid var(--border);border-radius:0;min-height:45px;justify-content:space-between;font-size:11px;padding:11px 20px;margin-top:auto;background:var(--tint);color:var(--primary)}.demo-account .button:hover{transform:none}.demo-account .button .icon{width:16px;height:16px}.footer-inner{min-height:86px;padding-block:24px;font-size:11px}.footer-inner>a:first-child{font-weight:650;color:var(--ink)}.footer-inner>a:first-child span{font-weight:400;color:var(--muted);margin-inline-start:10px}
/* Public help is an identity passport, with a high-contrast contact panel. */
.scan-layout{width:min(1080px,calc(100% - 64px));grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:28px;margin-block:46px 70px}.profile-summary{background:#151b2d;border-color:#28334c;color:#fff;padding:32px;overflow:hidden}.profile-summary:before{content:'';position:absolute;width:160px;height:160px;border:32px solid #4b63f31c;border-radius:55px;inset-inline-end:-50px;top:-62px;transform:rotate(20deg);pointer-events:none}.profile-summary .eyebrow{color:#aeb9d5;font-size:11px;position:relative}.profile-summary .eyebrow:before{display:none}.profile-heading{gap:17px;margin:28px 0 22px;position:relative}.profile-emblem{background:#4b63f3;border:1px solid #ffffff2b;border-radius:18px 18px 18px 4px;width:64px;height:72px;color:#fff}.profile-emblem .icon{width:30px;height:30px}.profile-heading h1{font-size:clamp(25px,3vw,34px);overflow-wrap:anywhere;margin:4px 0}.profile-heading p{color:#adb8d0;font-size:12px}.help-message{color:#e2e7f3;background:#252e44;border:1px solid #ffffff12;font-size:14px;line-height:1.85}.profile-summary .secondary{background:#ffffff0b;border-color:#ffffff23;color:#fff}.profile-summary .secondary:hover{background:#ffffff18;border-color:#ffffff50}.profile-summary .text-button{color:#c6d0ff;font-size:12px}.profile-summary .notice{color:#d0daf4;background:#242e45;border-color:#3b4864}.profile-note{border-top:1px solid #ffffff1c;padding-top:21px;color:#aeb9d5;font-size:11px}.updated{color:#aeb9d5;font-size:10px}.info-card h2,.contacts-card h2{font-size:18px}.info-card dl>div{padding-block:13px;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr);gap:18px}.info-card dt{font-size:12px}.info-card dd{font-size:13px}.feature-icon.blue{background:var(--tint);color:var(--primary)}.dialog{border-radius:20px;box-shadow:0 30px 100px #080d2455}.dialog::backdrop{background:#0a1023a6;backdrop-filter:blur(7px)}.dialog-head h2{font-size:20px}.field input,.field select,.field textarea{border-radius:10px;min-height:46px}.check-row input{accent-color:#4b63f3}.location-box{border-radius:14px}.pin-input input{font-size:21px}.notice{border-radius:11px}:root[data-theme=dark] .notice.error{background:#382422;border-color:#68423d;color:#ffc0b6}:root[data-theme=dark] .notice.success{background:#1c3428;border-color:#3d654c;color:#b4e3c5}.state-card{box-shadow:var(--shadow)}
@media(min-width:1600px){.section,#header .header-inner,.footer-inner{width:min(1320px,calc(100% - 140px))}.hero{gap:110px;padding-block:74px 0}.identity-stage{height:465px}.hero-copy h1{font-size:64px}html[lang=ar] .hero-copy h1{font-size:57px}}
@media(max-width:1050px){.section,#header .header-inner,.footer-inner{width:calc(100% - 48px)}.hero{gap:28px;padding-top:46px}.hero-copy h1{font-size:46px}html[lang=ar] .hero-copy h1{font-size:37px}.header-nav{gap:16px}.identity-stage{height:418px}.stage-tag.first{right:12px}.stage-tag.second{left:10px}.stage-card{width:240px;padding:20px}.privacy-manifesto{padding:30px}.privacy-rules{padding-inline:26px}.feature-grid{gap:20px}.feature{gap:8px;grid-template-columns:27px minmax(0,1fr)}.feature h2{font-size:15px}.feature p{font-size:12px}}
@media(max-width:800px){.header-nav{display:none}.hero{gap:35px;grid-template-columns:1fr;max-width:680px}.hero-copy h1{font-size:58px;max-width:560px}html[lang=ar] .hero-copy h1{font-size:44px}.hero-copy .lead{max-width:580px}.hero-actions{margin-top:23px}.identity-stage{height:385px}.stage-card{width:270px}.stage-tag.first{right:32px;top:86px}.stage-tag.second{left:38px;bottom:78px}.feature-grid{margin-top:40px;gap:24px}.feature{display:block}.feature-number{display:block;margin-bottom:12px}.section-heading{align-items:flex-start;flex-direction:column;gap:15px}.section-heading>p{max-width:none}.privacy-grid{grid-template-columns:1fr 1.2fr}.privacy-manifesto h2{font-size:28px}.privacy-manifesto{padding:28px}.privacy-rules{padding-inline:22px}.privacy-rule h3{font-size:15px}.privacy-rule{gap:12px}.demo-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}.scan-layout{grid-template-columns:1fr;max-width:650px}.profile-summary{position:relative;top:0}.profile-heading h1{font-size:33px}}
@media(max-width:580px){.section,#header .header-inner,.footer-inner{width:calc(100% - 36px)}.section{margin-bottom:48px}#header .header-inner{height:77px;padding:0;gap:12px}.brand{gap:8px}.brand img{width:34px;height:34px}.brand b{font-size:15px}.brand small{font-size:8px;max-width:148px}.header-actions{gap:6px}.header-actions .icon-button{min-width:34px;min-height:35px;padding:7px;border-radius:9px}.header-actions .icon{width:18px;height:18px}.header-actions .language .icon{display:none}.header-actions .language{font-size:10px}.header-login{display:none}.hero{padding:33px 0 0;gap:29px}.hero-copy h1{font-size:42px;line-height:1.14;margin-block:18px;letter-spacing:-2px}html[lang=ar] .hero-copy h1{font-size:34px;line-height:1.5;letter-spacing:-1px}.hero .lead{font-size:13px;line-height:1.95;margin:0}.hero-actions{gap:18px;margin-top:22px}.hero-actions>.button{min-width:140px;min-height:46px;font-size:12px;padding:12px 16px}.hero-actions .quiet-link{font-size:12px}.trust-line{font-size:10px;margin-top:19px}.identity-stage{height:335px;border-radius:20px}.stage-heading{inset:20px 21px auto;font-size:9px}.stage-card{width:225px;padding:18px;border-radius:16px;top:52%}.stage-card-top{font-size:9px}.stage-card-top img{width:26px;height:26px}.stage-person{margin:23px 0 16px;gap:12px}.stage-avatar{width:48px;height:57px;border-radius:15px 15px 15px 3px}.stage-person b{font-size:18px}.stage-person small{font-size:9px}.stage-avatar .icon{width:28px;height:28px}.stage-card-bottom{font-size:9px;gap:6px}.stage-qr .icon{width:29px;height:29px}.stage-tag{padding:9px 10px;font-size:10px;gap:7px;border-radius:10px}.stage-tag .icon{width:17px;height:17px}.stage-tag.first{top:75px;right:12px}.stage-tag.second{bottom:62px;left:10px}.stage-caption{font-size:9px;inset:auto 20px 17px}.connection-ring{width:270px;height:270px}.feature-grid{grid-template-columns:1fr;padding:0;gap:0;margin-top:30px}.feature{display:grid;grid-template-columns:29px minmax(0,1fr);gap:11px;padding:23px 0;border-bottom:1px solid var(--border)}.feature:last-child{border:0}.feature-number{margin:2px 0 0}.feature h2{font-size:17px;margin-bottom:7px}.feature p{font-size:12px}.section-heading{margin-bottom:23px}.section-heading h2{font-size:27px}.section-heading>p{font-size:13px}.steps{grid-template-columns:1fr;gap:0}.steps article{display:flex;gap:20px;padding:21px 0;border-top:1px solid var(--border)}.steps article:before{display:none}.steps .step-number{padding-top:4px;font-size:11px;flex:none;margin:0}.steps h3{font-size:18px;margin-bottom:6px}.steps p{font-size:12px;max-width:none}.privacy-grid{grid-template-columns:1fr;border-radius:19px}.privacy-manifesto{padding:27px;gap:20px}.privacy-manifesto h2{font-size:30px;max-width:100%}.privacy-manifesto>p{font-size:12px}.privacy-rules{padding:4px 24px}.privacy-rule{padding-block:23px;gap:14px}.privacy-rule h3{font-size:16px}.privacy-rule p{font-size:12px}.cta-panel{flex-direction:column;align-items:flex-start;gap:22px;padding:0;text-align:start}.cta-panel h2{font-size:24px;line-height:1.55}.cta-panel p{font-size:12px}.cta-panel .button{width:100%;font-size:13px}.demo-panel{padding:30px 0 0}.demo-panel>h2{font-size:25px;line-height:1.5}.demo-disclaimer{font-size:12px}.demo-accounts{grid-template-columns:1fr;gap:12px;margin-top:22px}.demo-account{padding:0}.demo-account h3{font-size:14px;padding:17px 18px 10px}.demo-account dl{padding:0 18px 15px}.demo-account .button{padding-inline:18px;font-size:11px;min-height:44px}.footer-inner{min-height:104px;flex-wrap:wrap;justify-content:center;text-align:center;gap:9px;padding-block:23px;font-size:10px}.scan-layout{width:calc(100% - 28px);margin-block:25px 42px}.profile-summary{padding:24px 21px}.profile-heading{margin-top:24px;gap:14px}.profile-heading h1{font-size:28px}.profile-emblem{width:54px;height:63px;border-radius:15px 15px 15px 4px}.profile-emblem .icon{width:26px;height:26px}.profile-summary .primary-contact .button{font-size:12px}.profile-summary .primary-contact .text-button{font-size:11px}.help-message{font-size:13px}.info-card dl>div{gap:12px;grid-template-columns:.8fr 1fr;font-size:12px}.info-card dt{font-size:11px}.dialog{border-radius:18px}.dialog-head h2{font-size:18px}}
@media(max-width:359px){.section,#header .header-inner,.footer-inner{width:calc(100% - 28px)}.brand b{font-size:14px}.brand img{width:31px;height:31px}.brand small{max-width:130px;font-size:7px}.header-actions{gap:4px}.header-actions .icon-button{min-width:32px;min-height:33px;padding:6px}.hero-copy h1{font-size:37px}html[lang=ar] .hero-copy h1{font-size:30px}.hero-actions{gap:13px}.hero-actions>.button{min-width:130px;font-size:11px}.hero-actions .quiet-link{font-size:11px}.stage-card{width:209px}.stage-tag.first{right:9px}.stage-tag.second{left:7px}.stage-caption{font-size:8px}.stage-person b{font-size:17px}.profile-heading h1{font-size:24px}.info-card dl>div{grid-template-columns:1fr;gap:5px}}
@media print{.profile-summary{background:#fff;color:#000}.profile-summary p,.profile-summary .eyebrow,.profile-summary .profile-note,.profile-summary .updated{color:#333}.profile-emblem{color:#000;background:none}}

/* Keep action contrast stable while native color-scheme changes. */
:root[data-theme=dark] .demo-account .button{background:#282e4c;color:#d5dcff;border-top-color:#3b4463}
body:has(dialog[open])>.skip{visibility:hidden}

/* Data-free placeholders preserve the profile layout during network loading. */
.scan-skeleton{width:min(1080px,calc(100% - 28px));margin:32px auto 64px}.scan-skeleton>p{margin-bottom:18px;font-size:14px}.skeleton-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:28px}.skeleton-card{padding:28px;border:1px solid var(--border);border-radius:20px;background:var(--card);display:grid;gap:18px;align-content:start;min-height:290px}.skeleton-card i{display:block;height:20px;border-radius:8px;background:linear-gradient(100deg,var(--tint) 20%,var(--border) 45%,var(--tint) 70%);background-size:200% 100%;animation:skeleton-sweep 1.7s linear infinite}.skeleton-card .skeleton-avatar{width:64px;height:70px;border-radius:18px}.skeleton-card .skeleton-action{height:48px;margin-top:12px}@keyframes skeleton-sweep{to{background-position:-200% 0}}@media(max-width:800px){.skeleton-grid{grid-template-columns:1fr}.skeleton-card{min-height:220px}}@media(prefers-reduced-motion:reduce){.skeleton-card i{animation:none}}
