/* LICENA — per-exam SEO landing pages (P2-1 pilot).
   Loads AFTER css/styles.css, which provides the tokens, top bar, buttons,
   .disc, .faq-* and footer. This file adds only the exam-page specific
   components: breadcrumb, exam hero, the public sample quiz, the
   why-LICENA grid, the "what we cover" list, the access block and sources.
   Motion is garnish — the global prefers-reduced-motion rule in styles.css
   disables every transition/animation here automatically. */

/* header language switch as real links (each language is its own file) */
.langs a{background:transparent;color:var(--steel);font-weight:700;font-size:13px;
  font-family:'Archivo';letter-spacing:.02em;min-width:42px;min-height:38px;
  display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;
  border-radius:8px;text-decoration:none;transition:color .12s ease, background .12s ease}
.langs a:hover{color:var(--ink)}
.langs a[aria-current="page"]{background:var(--ink);color:#fff}
@media (max-width:400px){.langs a{min-width:38px;padding:7px 8px}}

/* page rhythm */
.exam-sec{margin:0 0 40px}
.exam-sec>.eyebrow{display:inline-block;margin-bottom:10px;color:#8A5C06}
.exam-sec>h2{font-size:clamp(23px,4vw,34px);font-weight:800;letter-spacing:-.02em;
  margin-bottom:14px;max-width:24ch}

/* breadcrumb */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  padding:16px 0 2px;font-size:13px;color:var(--steel)}
.crumbs a{color:var(--steel);text-decoration:none;font-weight:600;
  border-radius:6px;transition:color .12s ease}
.crumbs a:hover{color:var(--ink);text-decoration:underline}
.crumbs .crumb-sep{color:var(--line);width:14px;height:14px;flex:0 0 14px}
.crumbs [aria-current="page"]{color:var(--ink);font-weight:700}

/* ── exam hero ─────────────────────────────────────────────── */
.exam-hero{padding:20px 0 26px;max-width:none}
.exam-hero .eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px;
  color:#8A5C06}
.exam-hero .eyebrow::before{content:"";width:16px;height:16px;flex:0 0 16px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B87E0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center}
.exam-hero h1{font-size:clamp(30px,5.4vw,50px);font-weight:900;letter-spacing:-.025em;
  max-width:16ch;line-height:1.05}
.exam-hero h1 [data-seo-course-name]{color:var(--gold-deep)}
.exam-hero-sub{font-size:clamp(16px,2.1vw,18.5px);color:var(--steel);
  max-width:56ch;margin:18px 0 24px;line-height:1.55}
.exam-cta-row{display:flex;gap:12px;flex-wrap:wrap}
.exam-cta-row .btn{text-decoration:none;display:inline-flex;align-items:center;
  justify-content:center;min-height:48px}
.exam-trust{list-style:none;padding:0;margin:24px 0 0;
  display:flex;flex-wrap:wrap;gap:9px 20px}
.exam-trust li{position:relative;padding-left:26px;font-size:14px;font-weight:600;
  color:#53626F;display:inline-flex;align-items:center}
.exam-trust li::before{content:"";position:absolute;left:0;top:50%;margin-top:-9px;
  width:18px;height:18px;border-radius:50%;background:var(--verify-soft);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232E7D5B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center}

/* ── public sample quiz ────────────────────────────────────── */
.exam-sample{scroll-margin-top:80px}
.exam-sample .exam-sample-sub{color:var(--steel);font-size:15.5px;line-height:1.6;
  max-width:60ch;margin:0 0 22px}
.squiz{background:var(--card);border:1px solid var(--line);border-radius:20px;
  box-shadow:var(--shadow);overflow:hidden}
.squiz-inner{padding:26px 26px 24px}
.squiz-head{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.squiz-progress{font-family:'Archivo';font-weight:700;font-size:12.5px;
  text-transform:uppercase;letter-spacing:.08em;color:var(--steel);white-space:nowrap}
.squiz-bar{flex:1;height:7px;border-radius:20px;background:var(--paper);
  border:1px solid var(--line);overflow:hidden;min-width:60px}
.squiz-bar i{display:block;height:100%;border-radius:20px;
  background:linear-gradient(90deg,var(--gold),var(--gold-deep));
  transition:width .3s ease}
.squiz-stem{font-family:'Archivo';font-weight:700;font-size:clamp(17px,2.4vw,20px);
  line-height:1.35;color:var(--ink);letter-spacing:-.01em;margin-bottom:18px}
.squiz-opts{display:flex;flex-direction:column;gap:10px}
.squiz-opt{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;
  background:#fff;border:1.5px solid var(--line);border-radius:13px;
  padding:14px 15px;min-height:52px;cursor:pointer;color:var(--ink);
  transition:border-color .14s ease,background .14s ease,transform .12s ease,box-shadow .14s ease}
.squiz-opt:hover{border-color:#b9c2c9;transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(21,39,61,.07)}
.squiz-opt:disabled{cursor:default;transform:none;box-shadow:none}
.squiz-optk{flex:0 0 26px;width:26px;height:26px;border-radius:8px;
  background:var(--paper);border:1px solid var(--line);color:var(--steel);
  font-family:'Archivo';font-weight:800;font-size:13px;
  display:grid;place-items:center;margin-top:1px;transition:background .14s ease,color .14s ease,border-color .14s ease}
.squiz-optt{flex:1;font-size:15px;line-height:1.45;padding-top:3px}
.squiz-opt.is-correct{border-color:var(--verify);background:var(--verify-soft)}
.squiz-opt.is-correct .squiz-optk{background:var(--verify);border-color:var(--verify);color:#fff}
.squiz-opt.is-wrong{border-color:var(--danger);background:var(--danger-soft)}
.squiz-opt.is-wrong .squiz-optk{background:var(--danger);border-color:var(--danger);color:#fff}
/* the picked chip shows a check / cross via ::after so the state reads at a glance */
.squiz-opt.is-correct .squiz-optk::after,.squiz-opt.is-wrong .squiz-optk::after{
  content:"";position:absolute;width:26px;height:26px;border-radius:8px;
  background-repeat:no-repeat;background-position:center}
.squiz-opt.is-correct .squiz-optk{position:relative;color:transparent}
.squiz-opt.is-correct .squiz-optk::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")}
.squiz-opt.is-wrong .squiz-optk{position:relative;color:transparent}
.squiz-opt.is-wrong .squiz-optk::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E")}

/* reveal — verdict + explanation */
.squiz-reveal{margin-top:16px;animation:squizIn .22s ease}
.squiz-reveal[hidden]{display:none}
@keyframes squizIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.squiz-verdict{display:inline-flex;align-items:center;gap:8px;
  font-family:'Archivo';font-weight:800;font-size:13.5px;
  padding:7px 13px;border-radius:20px;margin-bottom:12px}
.squiz-verdict svg{width:15px;height:15px;flex:0 0 15px}
.squiz-verdict.ok{background:var(--verify-soft);color:var(--verify)}
.squiz-verdict.no{background:var(--danger-soft);color:var(--danger)}
.squiz-expl{position:relative;background:var(--paper);border:1px solid var(--line);
  border-radius:13px;padding:15px 17px 15px 20px;font-size:14.5px;line-height:1.6;
  color:var(--ink)}
.squiz-expl::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;
  border-radius:3px;background:linear-gradient(180deg,var(--gold),var(--gold-deep))}
.squiz-expl b{font-family:'Archivo';font-weight:700;display:block;font-size:12px;
  text-transform:uppercase;letter-spacing:.09em;color:#8A5C06;margin-bottom:5px}

/* nav */
.squiz-nav{display:flex;align-items:center;gap:10px;margin-top:20px;
  padding-top:18px;border-top:1px solid var(--line)}
.squiz-btn{font-family:'Archivo';font-weight:700;font-size:14.5px;
  min-height:44px;padding:11px 20px;border-radius:11px;
  transition:transform .12s ease,box-shadow .12s ease,background .14s ease,color .14s ease}
.squiz-prev{background:#fff;color:var(--ink);border:1px solid var(--line)}
.squiz-prev:hover:not(:disabled){transform:translateY(-1px);border-color:#b9c2c9}
.squiz-prev:disabled{opacity:.4;cursor:not-allowed}
.squiz-next{margin-left:auto;background:var(--ink);color:#fff;
  box-shadow:0 6px 16px rgba(21,39,61,.2)}
.squiz-next:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(21,39,61,.26)}

/* result screen */
.squiz-result{padding:34px 26px 30px;text-align:center;animation:squizIn .24s ease}
.squiz-score{display:inline-grid;place-items:center;width:96px;height:96px;
  border-radius:50%;margin:0 auto 18px;
  background:radial-gradient(circle at 30% 25%,var(--ink2),var(--ink));
  color:#fff;font-family:'Archivo';font-weight:900;box-shadow:0 12px 30px rgba(21,39,61,.28)}
.squiz-score b{font-size:30px;line-height:1}
.squiz-score span{font-size:12.5px;font-weight:600;color:var(--gold);
  letter-spacing:.04em;margin-top:2px}
.squiz-result h3{font-family:'Archivo';font-weight:800;font-size:clamp(20px,3.4vw,26px);
  margin-bottom:8px;letter-spacing:-.01em}
.squiz-result p{color:var(--steel);font-size:15px;line-height:1.6;
  max-width:46ch;margin:0 auto 22px}
.squiz-result .btn{text-decoration:none;display:inline-flex;align-items:center;
  justify-content:center;min-height:48px}
.squiz-restart{display:block;margin:14px auto 0;background:none;
  color:var(--steel);font-family:'Archivo';font-weight:700;font-size:13.5px;
  text-decoration:underline;padding:8px 12px;min-height:44px}
.squiz-restart:hover{color:var(--ink)}

/* ── why LICENA ────────────────────────────────────────────── */
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.why-card{background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:22px 22px 20px;box-shadow:0 1px 2px rgba(21,39,61,.05);
  transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease}
.why-card:hover{border-color:#c2cad0;transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(21,39,61,.07)}
.why-ic{width:40px;height:40px;border-radius:11px;background:var(--ink);color:var(--gold);
  display:grid;place-items:center;margin-bottom:14px}
.why-ic svg{width:21px;height:21px}
.why-card h3{font-family:'Archivo';font-weight:700;font-size:16px;
  letter-spacing:-.01em;margin-bottom:6px}
.why-card p{font-size:14px;color:var(--steel);line-height:1.6;margin:0}
@media(max-width:640px){.why-grid{grid-template-columns:1fr}}

/* ── what we cover ─────────────────────────────────────────── */
.covers-card{background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:24px 24px 20px;box-shadow:var(--shadow)}
.covers-list{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:4px}
.covers-list li{display:flex;align-items:center;gap:11px;min-height:44px;
  padding:9px 8px;font-family:'Archivo';font-weight:600;font-size:14.5px;
  color:var(--ink);line-height:1.35}
.covers-list li::before{content:"";flex:0 0 18px;width:18px;height:18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B87E0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center}
.covers-note{font-size:13.5px;color:var(--steel);line-height:1.6;
  margin:14px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.exam-crosslink{display:inline-flex;align-items:center;gap:8px;margin-top:14px;
  font-family:'Archivo';font-weight:700;font-size:14px;color:var(--gold-deep);
  text-decoration:none;min-height:44px;transition:gap .14s ease}
.exam-crosslink svg{width:16px;height:16px;flex:0 0 16px}
.exam-crosslink:hover{gap:11px;text-decoration:underline}

/* ── FAQ (reuses .faq-list / .faq-item / .faq-q / .faq-a from styles.css) ── */
.exam-faq .faq-list{margin-top:4px}

/* ── access / pricing ──────────────────────────────────────── */
.access-card{position:relative;overflow:hidden;background:var(--card);
  border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);
  padding:28px 28px 26px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.access-card::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,var(--gold),var(--gold-deep))}
.access-price{font-family:'Archivo';font-weight:900;font-size:clamp(32px,6vw,44px);
  letter-spacing:-.02em;color:var(--ink);line-height:1}
.access-price-free{color:var(--verify)}
.access-per{font-family:'Archivo';font-weight:600;font-size:15px;color:var(--steel);
  margin-left:8px;letter-spacing:0}
.access-blurb{font-size:15px;color:var(--steel);line-height:1.6;max-width:56ch;margin:12px 0 18px}
.access-blurb a{color:var(--gold-deep);font-weight:600}
.access-cta{text-decoration:none;min-height:48px}
.access-note{font-size:13px;color:var(--steel);margin-top:12px}

/* ── disclaimers (reuses .disc) ────────────────────────────── */
.exam-disc{display:flex;flex-direction:column;gap:12px;margin:0 0 40px}
.exam-disc .disc{margin:0}

/* ── official sources + back ───────────────────────────────── */
.src-list{list-style:none;margin:0 0 20px;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.src-link{display:flex;align-items:center;gap:12px;min-height:56px;
  background:var(--card);border:1px solid var(--line);border-radius:13px;
  padding:12px 15px;text-decoration:none;color:var(--ink);
  transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease}
.src-link:hover{border-color:#c2cad0;transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(21,39,61,.07)}
.src-link-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.src-title{font-family:'Archivo';font-weight:600;font-size:14px;line-height:1.3}
.src-host{font-family:'IBM Plex Mono';font-size:11.5px;color:var(--steel);letter-spacing:.01em}
.src-ext{width:16px;height:16px;flex:0 0 16px;color:var(--steel);
  transition:color .14s ease,transform .14s ease}
.src-link:hover .src-ext{color:var(--gold-deep);transform:translate(1px,-1px)}
.exam-back{display:inline-flex;align-items:center;gap:8px;
  font-family:'Archivo';font-weight:700;font-size:14.5px;color:var(--ink);
  text-decoration:none;min-height:44px;transition:gap .14s ease}
.exam-back svg{width:17px;height:17px;flex:0 0 17px}
.exam-back:hover{gap:11px}

/* narrow-phone tuning */
@media(max-width:520px){
  .covers-list{grid-template-columns:1fr}
  .squiz-inner{padding:20px 18px 20px}
  .squiz-result{padding:28px 18px 26px}
  .exam-hero{padding:14px 0 20px}
}
