/* Shared checklist styling — used by the landing hero page (templates/landing.html)
   and the in-tool Checklist page (templates/checklist.html). Relies on the --accent
   / --panel / --line / --muted / --text / --bg / --accent-soft tokens defined by
   each host page's :root. Markup lives in templates/_checklist.html. */

.progress { position: sticky; top: 0; z-index: 10; background: var(--bg);
  padding: 16px 0 12px; margin: 26px 0 8px; }
.progress .ptop { display: flex; align-items: baseline; justify-content: space-between;
  font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.progress .ptop b { color: var(--text); font-size: 14px; }
.ptrack { background: #e6e2d9; border-radius: 999px; height: 8px; overflow: hidden; }
.pfill { height: 100%; width: 0; background: var(--accent); border-radius: 999px;
  transition: width .3s ease; }
/* Back up / restore progress (localStorage has no server safety-net). */
.ck-backup { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 11px; }
.ck-backup-note { font-size: 12px; color: var(--muted); margin-right: auto; }
.ck-backup-btn { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid #cfe6df; border-radius: 8px;
  padding: 5px 11px; cursor: pointer; }
.ck-backup-btn:hover { border-color: var(--accent); }

.phase { margin-top: 34px; }
.phase > .ph-head { margin-bottom: 14px; }
.phase .ph-name { font-size: 13px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); }
.phase .ph-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }

.ck-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ck-item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }

/* header row — everything vertically centered against the row */
.ck-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; }
.ck-check { display: flex; align-items: center; flex: 0 0 auto; margin: 0; cursor: pointer; }
.ck-check input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; margin: 0; }
.ck-num { flex: 0 0 auto; min-width: 34px; text-align: center; font-size: 34px; font-weight: 800;
  color: #c9d2cd; line-height: 1; letter-spacing: -.04em; }
.ck-text { flex: 1 1 auto; min-width: 0; }
.ck-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.ck-blurb { color: var(--muted); font-size: 13.5px; margin-top: 1px; }
.ck-chev { flex: 0 0 auto; color: var(--muted); font-size: 14px; transition: transform .15s; }
.ck-item.open .ck-chev { transform: rotate(90deg); }

/* expandable guidance */
.ck-guide { display: none; padding: 0 16px 16px 90px; }
.ck-item.open .ck-guide { display: block; }
.ck-guide p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.65; }
.ck-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px;
  font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none;
  background: var(--accent-soft); border: 1px solid #cfe6df; padding: 7px 13px; border-radius: 9px; }
.ck-cta:hover { border-color: var(--accent); }
.ck-cta .ext { font-size: 11px; opacity: .7; }

/* done state */
.ck-item.done { background: #f7f9f8; border-color: #dce7e3; }
.ck-item.done .ck-title { text-decoration: line-through; color: var(--muted); }

/* ── recommended tools & services (link cards, not checkable) ── */
.resources { margin-top: 54px; }
.res-lead { text-align: center; margin-bottom: 22px; }
.res-lead h2 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -.02em; margin: 0; }
.res-lead p { color: var(--muted); margin: 8px auto 0; max-width: 48ch; }
.res-group { margin-top: 24px; }
.res-gname { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px; }
.res-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.res-card { display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: 13px; padding: 13px 15px; text-decoration: none; color: inherit; transition: border-color .12s; }
.res-card:hover { border-color: var(--accent); }
.res-top { display: flex; align-items: center; gap: 8px; }
.res-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.res-arrow { margin-left: auto; color: var(--muted); font-size: 13px; }
.res-blurb { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 5px; }
.res-note { color: var(--muted); font-size: 12px; margin: 9px 2px 0; font-style: italic; }
.res-shopbtn { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600;
  color: var(--accent); text-decoration: none; background: var(--accent-soft); border: 1px solid #cfe6df;
  padding: 8px 15px; border-radius: 9px; }
.res-shopbtn:hover { border-color: var(--accent); }

/* shop cards: square product thumbnail on top */
.shop-card { padding: 0; overflow: hidden; }
.shop-card .res-top, .shop-card .res-blurb { padding-left: 14px; padding-right: 14px; }
.shop-card .res-top { padding-top: 12px; }
.shop-card .res-blurb { padding-bottom: 14px; }
.res-thumb { display: flex; align-items: center; justify-content: center; width: 100%;
  aspect-ratio: 1 / 1; background: #f1efe8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%23b8b3a8' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center no-repeat; }
.res-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; }

@media (max-width: 560px) {
  .ck-num { font-size: 28px; min-width: 26px; }
  .ck-guide { padding-left: 20px; }
}
