:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173127;background:#f6f5ef;line-height:1.55;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:flex;flex-direction:column}
header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,6vw,92px);background:#152b23}
header img{display:block;width:130px;height:64px;object-fit:contain}
.home{color:#f6e3ab;text-decoration-thickness:1px;text-underline-offset:5px}
main{width:min(100% - 32px,640px);margin:clamp(38px,8vh,92px) auto 52px}
.eyebrow{color:#6e521c;font-weight:750;text-transform:uppercase;letter-spacing:.15em;font-size:.8125rem;margin:0 0 11px}
h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(2.3rem,6vw,4rem);line-height:1.05;letter-spacing:-.045em;margin:0}
.intro>p:last-child,.help{color:#46574d;max-width:52ch}
.panel{background:#fff;border:1px solid #e4e0d3;border-radius:22px;padding:clamp(21px,5vw,36px);margin-top:24px;box-shadow:0 11px 35px #172b2310}
label{display:block;font-weight:650;font-size:.9375rem;margin-bottom:6px}
input{display:block;width:100%;min-height:48px;padding:10px 13px;margin-bottom:17px;border:1px solid #afb9ae;border-radius:10px;color:#173127;background:#f7f8f5;font:inherit}
button{min-height:48px;border:0;border-radius:10px;padding:10px 22px;background:#193b2d;color:white;font:inherit;font-weight:700;cursor:pointer}
button:disabled{opacity:.65;cursor:wait}
:focus-visible{outline:3px solid #947035;outline-offset:3px}
.result h2{margin:0 0 6px;font-size:1.45rem}.result p{margin:0}
.result[data-state="valid"]{border-left:5px solid #2b7157}.result[data-state="invalid"]{border-left:5px solid #976540}
dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:8px 12px;margin:18px 0 0}dt{font-weight:650}dd{margin:0;overflow-wrap:anywhere}
.help{font-size:.9375rem;margin:20px 0 0}
footer{margin-top:auto;border-top:1px solid #e4e0d3;padding:20px;text-align:center;color:#46574d;font-size:.875rem}
@media(max-width:420px){button{width:100%}}

@media print {
  body { background: white; color: #211b15; }
  .intro, #lookup, .help, .print-action, header .home, footer { display: none !important; }
  header { background: #242017; }
  main { margin: 0 auto; padding: 1rem; }
  .result { background: white; color: #211b15; border: double 4px #a67d42; break-inside: avoid; }
  .result::after { content: "Verify at academy.xxpco.com/verify/"; display: block; margin-top: 1.5rem; }
}
