@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700&family=Manrope:wght@500;600;700&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400&display=swap');
/* verify_certificates_homepage.css: Verify page, built on the PhotoZone homepage design (teal, sage, film yellow, soft asymmetric shapes). */
:root{
 --ink:#0f1a17;--ink2:#33433d;--mute:#5b6a64;--paper:#fff;--fog:#ebf3f8;--sage:#d8e9f2;--line:#d0dde6;
 --teal:#0b6e5c;--teal-d:#07493d;--film:#f2c230;--film-t:#fbefc0;--warn:#a63a14;--warn-t:#fbeee7;--good:#0b6e5c;
 --f-d:'Bricolage Grotesque','Segoe UI',system-ui,-apple-system,sans-serif;
 --f-t:'Newsreader',Georgia,'Times New Roman',serif;
 --f-pro:'Manrope','Segoe UI',system-ui,-apple-system,sans-serif;
 --gut:clamp(14px,4.4vw,72px);--ease:cubic-bezier(.22,.68,0,1);
 --shape:26px 26px 26px 6px;--shape-2:26px 6px 26px 26px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:hidden}
body{font-family:var(--f-t);font-size:1.0625rem;line-height:1.65;color:var(--ink);background:var(--fog);-webkit-font-smoothing:antialiased;overflow-x:hidden;min-height:100vh}
img{display:block;max-width:100%}
a{color:var(--teal-d);text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:3px}
h1,h2,h3,button,input{font-family:var(--f-d)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:4px}
.sr,.cert-meta{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}

.wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(28px,6vw,64px) var(--gut) 64px}
.card{width:100%;max-width:480px;background:#fff;border:1px solid var(--line);border-radius:30px 30px 30px 6px;overflow:hidden;box-shadow:0 24px 50px -30px rgba(15,26,23,.4)}
.ch{padding:38px 32px 26px;text-align:center;background:var(--sage)}
.c-icon{width:64px;height:64px;border-radius:50%;background:var(--teal);display:flex;align-items:center;justify-content:center;margin:0 auto 18px;box-shadow:0 0 0 4px #fff,0 0 0 7px var(--film)}
.c-icon svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
h1{font:600 clamp(1.7rem,4vw,2.1rem)/1.15 var(--f-t);letter-spacing:-.015em;color:var(--ink);margin-bottom:8px}
.sub{font-size:1.02rem;color:var(--ink2);line-height:1.6;max-width:340px;margin:0 auto}
.cb{padding:28px 32px 34px}
.lbl{display:block;font:700 .78rem var(--f-d);letter-spacing:.05em;text-transform:uppercase;color:var(--teal-d);margin-bottom:9px}
.row{display:flex;gap:10px;margin-bottom:24px}
.inp{flex:1;min-width:0;min-height:50px;padding:0 18px;border:2px solid var(--line);border-radius:999px;background:#fff;font:700 1rem var(--f-pro);letter-spacing:.08em;color:var(--ink);outline:none;text-transform:uppercase;transition:border-color .2s,box-shadow .2s}
.inp::placeholder{font:500 .92rem var(--f-pro);letter-spacing:0;text-transform:none;color:var(--mute)}
.inp:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(11,110,92,.14)}
.btn-go{min-height:50px;padding:0 24px;border:2px solid var(--teal);border-radius:999px;background:var(--teal);color:#fff;font:600 .95rem var(--f-d);cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s,transform .2s}
.btn-go:hover{background:var(--teal-d);border-color:var(--teal-d)}.btn-go:active{transform:translateY(1px)}
.div{display:flex;align-items:center;gap:12px;color:var(--mute);font:600 .8rem var(--f-d);margin:0 0 20px}
.div::before,.div::after{content:'';flex:1;height:2px;background:var(--fog)}
.scan-blk{background:var(--fog);border:2px dashed var(--teal);border-radius:22px 22px 22px 6px;padding:24px 20px;text-align:center}
.scan-t{font:700 1.05rem var(--f-d);color:var(--ink);margin-bottom:4px}
.scan-s{font-size:.98rem;color:var(--ink2);margin-bottom:16px;line-height:1.5}
.btn-scan{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 22px;border:2px solid var(--teal);border-radius:999px;background:#fff;color:var(--teal);font:600 .92rem var(--f-d);cursor:pointer;transition:background .2s,color .2s}
.btn-scan:hover{background:var(--teal);color:#fff}
.btn-scan svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.note{font-size:.95rem;color:var(--mute);text-align:center;margin-top:22px;line-height:1.6;max-width:360px}

/* ---- modals (QR scanner / follow) ---- */
.ov{position:fixed;inset:0;z-index:2000;background:rgba(7,73,61,.5);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;padding:20px}
.ov.active{opacity:1;visibility:visible}
.modal{position:relative;width:100%;max-width:380px;background:#fff;border-radius:28px 28px 28px 6px;padding:24px;box-shadow:0 24px 60px -16px rgba(15,26,23,.5)}
.mh{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.mt{font:700 1.12rem var(--f-d);color:var(--ink);letter-spacing:-.01em}
.cx{width:34px;height:34px;border-radius:50%;border:2px solid var(--teal);background:#fff;color:var(--teal);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.8rem;transition:background .2s,color .2s}
.cx:hover{background:var(--teal);color:#fff}
.vp{position:relative;width:100%;aspect-ratio:1;border-radius:20px;overflow:hidden;background:#0d1a17}
#sv,#lsv{width:100%;height:100%;object-fit:cover;display:block}
.corners{position:absolute;inset:0;pointer-events:none}
.qc{position:absolute;width:28px;height:28px;border:0 solid var(--film)}
.qc.tl{top:14px;left:14px;border-top-width:3px;border-left-width:3px;border-radius:6px 0 0 0}
.qc.tr{top:14px;right:14px;border-top-width:3px;border-right-width:3px;border-radius:0 6px 0 0}
.qc.bl{bottom:14px;left:14px;border-bottom-width:3px;border-left-width:3px;border-radius:0 0 0 6px}
.qc.br{bottom:14px;right:14px;border-bottom-width:3px;border-right-width:3px;border-radius:0 0 6px 0}
.sweep{position:absolute;left:14px;right:14px;height:2px;background:linear-gradient(90deg,transparent,var(--film),transparent);animation:sw 2s ease-in-out infinite}
@keyframes sw{0%{top:14px;opacity:0}10%,90%{opacity:1}100%{top:calc(100% - 16px);opacity:0}}
.ss{margin-top:14px;text-align:center;font:500 .9rem var(--f-d);min-height:1.4rem;color:var(--mute)}
.ss.scanning{color:var(--teal-d)}.ss.ok{color:var(--good);font-weight:600}.ss.err{color:var(--warn);font-weight:600}
.denied{display:none;flex-direction:column;align-items:center;justify-content:center;gap:10px;aspect-ratio:1;text-align:center;padding:20px;border-radius:20px;background:var(--warn-t)}
.denied p{font-size:.95rem;color:var(--ink2);line-height:1.55}

@media(max-width:540px){.ch{padding:30px 22px 22px}.cb{padding:24px 22px 28px}.row{flex-direction:column}.btn-go{width:100%}.scan-blk{padding:20px 16px}}
