/* Page-specific styles for frameworks.html (the NIST / ENISA competency
   mapping). Loaded AFTER technical.css, so it inherits the same :root
   palette and base rules (--blue, --ink, --muted, --line, --radius-*,
   .wrap, .kicker, h1/h2, .sub, .grid, .section-subtle, footer, CTA, …) and
   only adds what this page needs: the two framework cards, the competency
   matrix table and the ECSF skill checklist. No <style> block / inline
   style= anywhere — CSP is style-src 'self' (see _headers). */

/* Intro lead paragraph under the hero, wider than .sub's 660px cap. */
.lede{max-width:780px;margin:0 auto 10px;text-align:center;color:var(--muted);font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.6}

/* Two framework summary cards (NIST / ENISA) sitting in a subtle panel,
   same visual language as .families-figure + .fam-card on how-it-works. */
.fw-figure{background:var(--bg-subtle);border-radius:var(--radius-lg);padding:clamp(18px,4vw,36px)}
.fw-card{background:#fff;border-radius:var(--radius-md);padding:26px 24px;display:flex;flex-direction:column;gap:14px}
.fw-card .fw-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.fw-card h2{font-size:1.1rem;font-weight:700;letter-spacing:inherit;line-height:1.2;text-align:left;color:var(--ink);margin:0;max-width:none}
.fw-card .fw-src{font-size:.78rem;color:var(--muted-2);font-weight:600}
.fw-card p{color:var(--muted);font-size:.93rem;line-height:1.6}
.fw-card .fw-label{font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted-2)}

/* Certification lists (private / industry certs, one card per issuer). Each
   item names a cert and the specific domain TLSbreak reinforces. */
.cert-list{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:12px}
.cert-list li{color:var(--ink);font-size:.9rem;font-weight:600;line-height:1.3}
.cert-list li span{display:block;color:var(--muted);font-size:.82rem;font-weight:400;line-height:1.45;margin-top:2px}

/* Competency / role tags. Primary = accented (the areas/roles TLSbreak
   builds most directly); muted = secondary / transfer value. */
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tag{font-size:.82rem;font-weight:600;padding:6px 13px;border-radius:999px;background:var(--bg-subtle);color:var(--muted);border:1px solid var(--line);line-height:1.25}
.tag.is-primary{background:rgba(0,113,227,.09);color:var(--blue-hover);border-color:rgba(0,113,227,.28)}
.tag .tag-id{font-weight:700;color:inherit;font-size:.74rem}

/* The competency matrix: a real table, horizontally scrollable on narrow
   screens (the 700px grid collapse doesn't help a wide table). */
.matrix-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius-md)}
table.matrix{border-collapse:collapse;width:100%;min-width:720px;font-size:.9rem}
table.matrix caption{text-align:left;color:var(--muted);font-size:.85rem;padding:14px 18px 0;caption-side:top}
table.matrix th,table.matrix td{text-align:left;vertical-align:top;padding:14px 18px;border-top:1px solid var(--line)}
table.matrix thead th{border-top:none;color:var(--muted-2);font-size:.74rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
table.matrix tbody th{font-weight:700;color:var(--ink);line-height:1.35}
table.matrix tbody th .fam-do{display:block;font-weight:400;color:var(--muted);font-size:.86rem;margin-top:4px;line-height:1.45}
table.matrix td{color:var(--muted);line-height:1.45}
table.matrix td .nist{color:var(--ink);font-weight:600}
table.matrix tbody tr:hover{background:var(--bg-subtle)}
/* "You are here" row (compare.html): subtle tint + accented row header,
   instead of an in-cell badge. */
table.matrix tbody tr.row-us{background:rgba(0,113,227,.06)}
table.matrix tbody tr.row-us:hover{background:rgba(0,113,227,.1)}
table.matrix tbody tr.row-us th{color:var(--blue-hover)}

/* ECSF Penetration-Tester skill checklist: each row = one verbatim ECSF
   skill, with how the lab trains it. */
.skills{max-width:900px;margin:0 auto;display:grid;gap:14px}
.skill{display:flex;gap:14px;align-items:flex-start;background:var(--bg-subtle);border-radius:var(--radius-md);padding:18px 20px}
.skill-check{flex-shrink:0;width:22px;height:22px;color:var(--blue);margin-top:1px}
.skill-check svg{width:22px;height:22px}
.skill-body{min-width:0}
.skill-body b{display:block;color:var(--ink);font-size:.97rem;font-weight:700;line-height:1.35}
.skill-body span{display:block;color:var(--muted);font-size:.9rem;line-height:1.55;margin-top:4px}

/* Knowledge chips row under the checklist. */
.knowledge{max-width:900px;margin:26px auto 0}
.knowledge .fw-label{text-align:center;display:block;margin-bottom:12px}

/* "For teams & trainers" panel + honest alignment disclaimer. */
.panel{max-width:860px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(24px,4vw,40px)}
.panel + .panel{margin-top:20px}
.panel h2{text-align:left;margin:0 0 14px;max-width:none}
.panel p{color:var(--muted);font-size:.97rem;line-height:1.65;margin-bottom:12px}
.panel ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.panel li{position:relative;padding-left:26px;color:var(--muted);font-size:.95rem;line-height:1.55}
.panel li::before{content:"";position:absolute;left:0;top:.5em;width:8px;height:8px;border-radius:50%;background:var(--blue)}
.panel li b{color:var(--ink);font-weight:700}
.disclaimer{max-width:860px;margin:22px auto 0;font-size:.82rem;line-height:1.6;color:var(--muted-2);text-align:center}

@media(max-width:700px){
  table.matrix{font-size:.86rem}
}
