/* Torilo Academy: verify.toriloacademy.com certificate checker (standalone, mobile first). */
body.tp-verify{background:#fff}
.tp-verify section{padding:56px 0}
.tp-verify .wrap{padding:0 16px}
.tp-verify .sec-head{margin-bottom:28px}
.tp-verify h2{font-size:clamp(24px,6vw,36px)}

/* Header */
.vf-top{background:#fff;border-bottom:1px solid var(--line)}
.vf-top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;height:64px}
.vf-top .logo img{height:36px;width:auto}
.vf-nav{display:flex;align-items:center;gap:10px}
.vf-main{font-weight:600;font-size:14px;color:var(--navy);text-decoration:none;padding:10px 4px;border-bottom:2px solid transparent}
.vf-main:hover{border-color:var(--amber)}
.vf-long{display:none}
.vf-wa{width:44px;height:44px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;flex:none}
.vf-top .vf-nav a.vf-wa > svg{width:24px;height:24px;color:#fff}

/* Hero + lookup */
.vf-hero{background:var(--navy);color:#DCE8EF;text-align:center;padding:36px 0 40px}
.vf-hero .wrap{max-width:720px}
.vf-hero h1{color:#fff;font-size:clamp(28px,7.4vw,46px);font-weight:800;margin-top:10px}
.vf-sub{font-size:16.5px;margin:14px auto 0;max-width:560px}
.vf-form{background:#fff;border-radius:var(--r);padding:18px 16px;margin:24px auto 0;text-align:left;box-shadow:0 16px 40px rgba(0,0,0,.25);max-width:640px}
.vf-form label{display:block;font:700 14px Sora,sans-serif;color:var(--navy);margin-bottom:8px}
.vf-field{display:grid;gap:10px}
.vf-field input{width:100%;min-height:54px;border:2px solid var(--line);border-radius:12px;padding:0 16px;font:600 18px Poppins,sans-serif;letter-spacing:.04em;color:var(--navy);background:#fff}
.vf-field input::placeholder{color:#8B98A1;font-weight:500;letter-spacing:0}
.vf-field input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 4px rgba(74,198,214,.25)}
.vf-field .btn{width:100%}
.vf-hint{font-size:13.5px;color:var(--body);margin-top:10px}
.vf-hint a{color:var(--navy);font-weight:600}
.vf-actd{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;font-size:13.5px;color:#DCE8EF;text-align:left}
.vf-actd img{width:40px;height:auto;background:#fff;border-radius:50%;padding:3px;flex:none}

/* Results */
.vf-result{background:#fff;color:var(--body);border-radius:var(--r);padding:18px 16px;margin:22px auto 0;text-align:left;max-width:640px;border-top:6px solid var(--teal);box-shadow:0 16px 40px rgba(0,0,0,.25)}
.vf-result:focus{outline:none}
.vf-result.is-miss{border-top-color:var(--coral)}
.vf-res-head{display:flex;gap:12px;align-items:flex-start}
.vf-res-head h2{font-size:21px}
.vf-res-head p{margin-top:6px;font-size:15px}
.vf-res-head b{color:var(--navy);overflow-wrap:anywhere}
.vf-ico{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--teal-soft);color:#0E6F7C}
.is-miss .vf-ico{background:var(--coral-soft);color:#B5482A}
.vf-ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.vf-preview{margin-top:16px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--grey)}
.vf-preview img{width:100%}
/* PDFs: phones can't show a PDF inside a page, so they get a tap-to-open card; bigger screens show the certificate itself */
.vf-pdf{display:none;width:100%;height:auto;aspect-ratio:1.414;border:0}
.vf-pdf-fallback{display:flex;align-items:center;gap:12px;padding:18px;text-decoration:none;color:var(--navy);min-height:72px}
.vf-pdf-fallback svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;flex:none}
.vf-pdf-fallback b{display:block;font-family:Sora,sans-serif}
.vf-pdf-fallback span{font-size:14px}
.vf-note{font-size:14px;margin-top:12px}
.vf-note a{color:var(--navy);font-weight:600}
.vf-result .cta-row{margin-top:14px;gap:10px}
.vf-result .cta-row .btn{flex:1 1 100%}
.vf-copy{background:none;border:0;border-bottom:2px solid var(--line);font:600 15px Poppins,sans-serif;cursor:pointer;min-height:44px;margin:0 auto}
.vf-copy.done{border-color:var(--teal)}
.vf-view{display:none!important}

/* Steps */
.vf-steps{background:var(--tint)}
.vf-step-list{list-style:none;margin:0;padding:0;display:grid;gap:14px;max-width:960px;margin-inline:auto}
.vf-step-list li{background:#fff;border-radius:var(--r);padding:20px;box-shadow:var(--shadow)}
.vf-num{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--amber);color:var(--navy-deep);font:800 16px Sora,sans-serif;margin-bottom:10px}
.vf-step-list p{margin-top:6px;font-size:15px}

/* Trust */
.vf-tiles{display:grid;gap:14px;max-width:960px;margin:0 auto}
.vf-tile{border:1px solid var(--line);border-radius:var(--r);padding:22px 20px}
.vf-tile p{margin-top:6px;font-size:15px}
.vf-tile-actd{width:64px;margin-bottom:12px}
.vf-tile-ico{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:var(--accent-light);color:var(--navy);margin-bottom:12px}
.vf-tile-ico svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Employers */
.vf-hire{padding-top:0!important}
.vf-hire-card{background:var(--navy);color:#DCE8EF;border-radius:20px;padding:28px 20px;display:grid;gap:20px;max-width:960px;margin:0 auto}
.vf-hire-card h2{color:#fff;margin-top:8px}
.vf-hire-card p:not(.eyebrow){margin-top:10px}
.vf-hire-card .cta-row .btn{flex:1 1 100%}

/* FAQ */
.vf-faq{background:var(--tint)}
.vf-faq-list{max-width:760px;margin:0 auto;display:grid;gap:10px}
.vf-faq details{background:#fff;border-radius:14px;box-shadow:0 2px 10px rgba(11,57,84,.06)}
.vf-faq summary{list-style:none;cursor:pointer;padding:16px 48px 16px 18px;font:600 16px Sora,sans-serif;color:var(--navy);position:relative;min-height:44px}
.vf-faq summary::-webkit-details-marker{display:none}
.vf-faq summary:after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--amber);font-weight:700}
.vf-faq details[open] summary:after{content:"\2013"}
.vf-faq details p{padding:0 18px 18px;font-size:15px}

/* Footer */
.vf-foot{background:var(--navy-deep);color:#B9CCD8;padding:36px 0 28px;font-size:14.5px}
.vf-foot .wrap{display:grid;gap:18px}
.vf-foot a{color:#fff}
.vf-foot-logo{height:38px;width:auto;background:#fff;border-radius:10px;padding:6px 10px;box-sizing:content-box}
.vf-foot-links{display:flex;flex-wrap:wrap;gap:4px 18px}
.vf-foot-links a{text-decoration:none;font-weight:500;padding:10px 0;display:inline-block}
.vf-foot-links a:hover{text-decoration:underline;text-decoration-color:var(--amber)}
.vf-rights{font-size:13px;color:#8FA9B9}

/* Tablet and up */
@media (min-width:640px){
  .tp-verify .wrap{padding:0 24px}
  .vf-long{display:inline}
  .vf-short{display:none}
  .vf-field{grid-template-columns:1fr auto}
  .vf-field .btn{width:auto}
  .vf-form,.vf-result{padding:24px}
  .vf-result .cta-row .btn{flex:0 0 auto}
  .vf-copy{margin:0 0 0 6px}
  .vf-pdf{display:block}
  .vf-view{display:inline-flex!important}
  .vf-preview > .vf-pdf-fallback{display:none}
  .vf-hire-card .cta-row .btn{flex:0 0 auto}
}
@media (min-width:900px){
  .tp-verify section{padding:80px 0}
  .vf-hero{padding:64px 0 72px}
  .vf-hero .wrap{max-width:860px}
  .vf-result{max-width:780px}
  .vf-top .wrap{height:72px}
  .vf-top .logo img{height:40px}
  .vf-step-list,.vf-tiles{grid-template-columns:repeat(3,1fr);gap:20px}
  .vf-hire-card{grid-template-columns:1.5fr 1fr;align-items:center;padding:44px 48px}
  .vf-hire-card .cta-row{justify-content:flex-end}
  .vf-foot .wrap{grid-template-columns:auto 1fr auto;align-items:center;gap:24px 40px}
  .vf-rights{grid-column:1/-1}
}
