/* ============================================================
   AI Security Checklist page — shares styles.css tokens
   ============================================================ */

.chhero { position: relative; padding: 176px 0 34px; overflow: hidden; }
.chhero__inner { position: relative; z-index: 3; max-width: 820px; }
.chhero__eyebrow { font-family: var(--font-display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.chhero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 3.9rem); letter-spacing: -0.035em; line-height: 1.04; margin: 18px 0 20px; }
.chhero__deck { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-dim); max-width: 660px; line-height: 1.55; }
.chhero__source { margin-top: 22px; font-size: 12.5px; color: var(--text-mut); max-width: 640px; line-height: 1.5; }

/* Progress */
.progress { position: relative; z-index: 3; max-width: 820px; margin: 30px auto 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.progress__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.progress__label { font-family: var(--font-display); font-size: 14px; color: var(--text-dim); }
.progress__count { color: var(--accent); font-weight: 600; }
.progress__bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,0.06); overflow: hidden; }
.progress__fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--glow); transition: width .5s var(--ease); }
.progress__reset { margin-top: 12px; background: none; border: 0; color: var(--text-mut); font-family: var(--font-body); font-size: 12.5px; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.progress__reset:hover { color: var(--text-dim); }

/* Checklist */
.checklist-grid { display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease); position: relative; }
.check:hover { border-color: var(--line-2); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.check__box { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line-2); display: grid; place-items: center; margin-top: 2px; transition: all .25s var(--ease); flex: none; }
.check__box::after { content: "✓"; font-size: 14px; font-weight: 700; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: all .2s var(--ease); }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--glow); }
.check input:checked + .check__box::after { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.check:has(input:checked) { border-color: rgba(34,235,7,0.28); background: rgba(34,235,7,0.04); }

.check__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.check__num { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--accent); }
.check__tag { font-family: var(--font-display); font-size: 11px; letter-spacing: .03em; color: var(--text-mut); padding: 3px 10px; border-radius: 100px; border: 1px solid var(--line); }
.check__title { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.015em; line-height: 1.2; transition: color .25s var(--ease); }
.check:has(input:checked) .check__title { color: var(--text-mut); text-decoration: line-through; text-decoration-color: rgba(34,235,7,0.55); }
.check p { color: var(--text-dim); font-size: 14.5px; line-height: 1.58; margin-top: 8px; }
.check p strong { color: var(--text); font-weight: 600; }

/* Expert credits */
.credits { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.credit { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.credit__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.credit__role { font-size: 12.5px; color: var(--accent); margin: 3px 0 10px; }
.credit p { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.frameworks { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.frameworks .chip { font-size: 12px; }

.section--tight { padding-top: 56px; }

@media (max-width: 620px) {
  .chhero { padding-top: 150px; }
  .credits { grid-template-columns: 1fr; }
  .check { padding: 18px 18px; gap: 14px; }
}
