/* Vibe96 — licence pages (/licence and the licence certificate). Package 221. Uses the central tokens in vibe96.css. */
.lg{flex:1;padding:36px 0 72px}
.lg-page{max-width:none}
.lg-head{max-width:860px;margin-bottom:28px}
.lg-eb{margin:0;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--v96-eyebrow)}
.lg-head h1,.lg-cert-head h1{margin:10px 0 0;font-size:var(--v96-h1);line-height:1.05;font-weight:800;letter-spacing:-.04em;color:var(--v96-ink)}
.lg-sub{margin:12px 0 0;font-size:18px;line-height:1.55;color:var(--v96-body)}
.lg-meta{margin:14px 0 0;font-size:14px;color:var(--v96-faint)}
.lg-meta a{color:var(--v96-purple);font-weight:600}

.lg-terms{max-width:860px;color:var(--v96-text)}
.lg-terms h3{margin:30px 0 8px;font-size:19px;font-weight:800;letter-spacing:-.015em;color:var(--v96-ink)}
.lg-terms p{margin:0 0 10px;font-size:16px;line-height:1.7}
.lg-terms ul{margin:0 0 10px;padding-left:22px}
.lg-terms li{font-size:16px;line-height:1.7;margin:3px 0}
.lg-summary{padding:20px 24px;border:1px solid var(--v96-soft-line);border-radius:var(--v96-r-lg);background:var(--v96-soft)}
.lg-summary h2{margin:0 0 10px;font-size:18px;font-weight:800;color:var(--v96-ink)}
.lg-summary ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}
.lg-summary li{position:relative;padding-left:28px;font-size:15.5px;line-height:1.5;margin:0}
.lg-summary li::before{position:absolute;left:0;top:2px;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;color:#fff}
.lg-summary li.ok::before{content:"✓";background:var(--v96-green)}
.lg-summary li.no::before{content:"✕";background:var(--v96-red)}
.lg-version{margin-top:28px;font-size:13px;color:var(--v96-faint)}

/* certificate */
.lg-print{margin:0;background:var(--v96-band)}
.lg-cert{max-width:900px;margin:32px auto;padding:40px 44px;background:#fff;border:1px solid var(--v96-line);border-radius:var(--v96-r-lg)}
.lg-cert-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}
.lg-cert-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;padding-bottom:24px;border-bottom:2px solid var(--v96-ink)}
.lg-cert-head img{display:block;height:30px;width:auto}
.lg-cert-head h1{margin-top:4px;font-size:30px}
.lg-cert-head .lg-sub{margin-top:4px;font-size:15px}
.lg-status{align-self:start;padding:6px 14px;border-radius:999px;font-size:13px;font-weight:800}
.lg-status.is-on{background:var(--v96-green-bg);color:var(--v96-green)}
.lg-status.is-off{background:var(--v96-red-bg);color:var(--v96-red)}
.lg-facts{margin:24px 0 8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}
.lg-facts .wide{grid-column:1/-1}
.lg-facts dt{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--v96-faint)}
.lg-facts dd{margin:4px 0 0;font-size:16px;font-weight:700;color:var(--v96-ink);overflow-wrap:anywhere}
.lg-facts dd small{display:block;font-size:13.5px;font-weight:500;color:var(--v96-body)}
.lg-facts .mono{font-family:var(--v96-mono);font-weight:500}
.lg-note{margin:10px 0 0;padding:12px 14px;border-radius:10px;background:var(--v96-amber-bg);color:var(--v96-amber);font-size:14px;line-height:1.5}
.lg-cert .lg-terms{margin-top:22px;max-width:none}
.lg-foot{margin:26px 0 0;padding-top:16px;border-top:1px solid var(--v96-line);font-size:13px;color:var(--v96-faint)}

@media (max-width:760px){.lg-summary ul,.lg-facts{grid-template-columns:1fr}.lg-cert{margin:0;padding:24px 20px;border-radius:0}.lg-cert-head{grid-template-columns:1fr}}
@media print{
  .lg-print{background:#fff}
  .lg-cert{margin:0;padding:0;border:0;max-width:none}
  .lg-cert-bar{display:none}
  .lg-summary{background:#fff}
  .lg-terms h3{break-after:avoid}
}

/* 312: legal pop-up (Seller agreement / Buyer terms on the sign-in and sign-up pages) — legal-popup.js */
.lp-dlg{width:min(860px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:1px solid var(--v96-line);border-radius:16px;background:#fff;color:var(--v96-text);box-shadow:0 24px 70px rgba(20,12,40,.28);display:none;flex-direction:column}
.lp-dlg[open]{display:flex}
.lp-dlg::backdrop{background:rgba(20,12,40,.45)}
.lp-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid var(--v96-line)}
.lp-full{font-size:14px;font-weight:600;color:var(--v96-purple)}
.lp-x{border:0;background:none;font-size:26px;line-height:1;color:var(--v96-body);cursor:pointer;padding:2px 6px}
.lp-x:hover{color:var(--v96-ink)}
.lp-body{overflow-y:auto;padding:22px 28px 10px;flex:1 1 auto;min-height:120px}
.lp-head{margin-bottom:18px}
.lp-head h2{margin:8px 0 0;font-size:28px;line-height:1.15;font-weight:800;letter-spacing:-.03em;color:var(--v96-ink)}
.lp-body .lg-terms{max-width:none}
.lp-agree p{margin:0 0 12px}
.lp-load{margin:30px 0;text-align:center;color:var(--v96-body)}
.lp-foot{display:flex;justify-content:flex-end;padding:12px 18px;border-top:1px solid var(--v96-line)}
.lp-ok{border:0;border-radius:10px;padding:10px 22px;font:inherit;font-weight:700;background:var(--v96-purple);color:#fff;cursor:pointer}
@media (max-width:600px){.lp-body{padding:18px 16px 8px}.lp-head h2{font-size:23px}}
.lp-agree strong{color:var(--v96-ink)}
html.lp-lock{overflow:hidden}
