.resource-page { background: #fff; color: #111827; }
.resource-shell { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.resource-hero { overflow: hidden; background: linear-gradient(135deg, #f7f5ff 0%, #fff 58%, #eff6ff 100%); padding: 7rem 0 5rem; }
.resource-hero-grid { display: grid; align-items: center; gap: 4rem; }
.resource-breadcrumb { display: flex; gap: .55rem; margin-bottom: 2.2rem; color: #64748b; font-size: .75rem; font-weight: 800; }
.resource-breadcrumb a:hover { color: #6d28d9; }
.resource-kicker { color: #6d28d9; font-size: .72rem; font-weight: 950; letter-spacing: .2em; text-transform: uppercase; }
.resource-hero h1 { max-width: 46rem; margin-top: 1rem; font-size: clamp(2.8rem, 6vw, 5.25rem); font-weight: 950; letter-spacing: -.06em; line-height: .96; }
.resource-lede { max-width: 42rem; margin-top: 1.5rem; color: #475569; font-size: 1.08rem; line-height: 1.75; }
.resource-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.resource-button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .55rem; border-radius: .9rem; padding: .8rem 1.25rem; font-size: .82rem; font-weight: 900; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.resource-button:hover { transform: translateY(-2px); }
.resource-button-primary { background: #6d28d9; color: #fff; box-shadow: 0 15px 30px rgba(109,40,217,.2); }
.resource-button-primary:hover { background: #5b21b6; }
.resource-button-secondary { border: 1px solid #ddd6fe; background: #fff; color: #5b21b6; }
.resource-button-light { background: #fff; color: #5b21b6; }
.resource-microcopy { display: flex; align-items: center; gap: .45rem; margin-top: 1rem; color: #64748b; font-size: .72rem; font-weight: 750; }
.resource-microcopy .material-symbols-outlined { color: #7c3aed; font-size: 1rem; }

.workbook-preview { overflow: hidden; border: 1px solid #ddd6fe; border-radius: 1.4rem; background: #fff; box-shadow: 0 30px 70px rgba(30,41,59,.18); transform: rotate(1.5deg); }
.workbook-preview-bar { display: flex; align-items: center; gap: .35rem; border-bottom: 1px solid #e2e8f0; background: #f8fafc; padding: .7rem 1rem; }
.workbook-preview-bar > span { width: .55rem; height: .55rem; border-radius: 50%; background: #cbd5e1; }
.workbook-preview-bar strong { margin-left: .55rem; color: #475569; font-size: .68rem; }
.workbook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: 1.25rem; }
.workbook-grid > header { grid-column: 1/-1; border-bottom: 3px solid #7c3aed; padding-bottom: .65rem; font-size: 1.25rem; font-weight: 950; }
.workbook-input { display: flex; justify-content: space-between; border: 1px solid #f6d365; background: #fffbeb; padding: .65rem; font-size: .72rem; }
.workbook-table { grid-column: 1/-1; display: grid; grid-template-columns: 1.5fr 1fr .8fr; border: 1px solid #e2e8f0; font-size: .68rem; }
.workbook-table > * { border-bottom: 1px solid #e2e8f0; padding: .55rem; }
.workbook-table b { background: #111827; color: #fff; }
.workbook-result { grid-column: 1/-1; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; border: 1px solid #c4b5fd; background: #f5f3ff; padding: .85rem; font-size: .78rem; }
.workbook-result strong { color: #6d28d9; }

.resource-section { padding: 5.5rem 0; }
.resource-section-soft { background: #f8fafc; }
.resource-section-heading { max-width: 48rem; }
.resource-section h2, .checklist-toolbar h2 { margin-top: .8rem; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 950; letter-spacing: -.045em; line-height: 1.02; }
.resource-section-heading > p:last-child, .resource-steps-grid > div > p:last-child { margin-top: 1rem; color: #64748b; line-height: 1.7; }
.resource-feature-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.resource-feature-grid article { border: 1px solid #e2e8f0; border-radius: 1.35rem; padding: 1.5rem; }
.resource-feature-grid article > .material-symbols-outlined { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: .8rem; background: #f5f3ff; color: #6d28d9; }
.resource-feature-grid h3 { margin-top: 1rem; font-size: 1rem; font-weight: 900; }
.resource-feature-grid p { margin-top: .55rem; color: #64748b; font-size: .84rem; line-height: 1.65; }
.resource-steps-grid { display: grid; gap: 3rem; }
.resource-steps-grid ol { display: grid; gap: .75rem; }
.resource-steps-grid li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; align-items: start; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; padding: 1rem; color: #64748b; font-size: .82rem; line-height: 1.55; }
.resource-steps-grid li > b { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .75rem; background: #ede9fe; color: #6d28d9; }
.resource-steps-grid li strong { display: block; margin-bottom: .2rem; color: #111827; }
.resource-final { background: #111827; padding: 5rem 0; color: #fff; text-align: center; }
.resource-final h2 { max-width: 48rem; margin: .9rem auto 2rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 950; letter-spacing: -.05em; line-height: 1.02; }

.resource-hero-checklist { background: linear-gradient(135deg, #f5f3ff, #fff 62%, #ecfeff); }
.checklist-cover { justify-self: center; width: min(100%, 23rem); min-height: 31rem; border-radius: 1.5rem; background: linear-gradient(145deg, #1e1b4b, #6d28d9 62%, #8b5cf6); padding: 2.2rem; color: #fff; box-shadow: 0 35px 70px rgba(76,29,149,.3); transform: rotate(3deg); }
.checklist-cover > .material-symbols-outlined { display: grid; width: 3.7rem; height: 3.7rem; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 1rem; background: rgba(255,255,255,.12); font-size: 2rem; }
.checklist-cover small { display: block; margin-top: 3.2rem; color: #ddd6fe; font-size: .68rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.checklist-cover strong { display: block; margin-top: 1.1rem; font-size: 2.2rem; font-weight: 950; letter-spacing: -.045em; line-height: 1.02; }
.checklist-cover div { display: grid; gap: .7rem; margin-top: 2.3rem; }
.checklist-cover i { height: 1.15rem; border: 1px solid rgba(255,255,255,.28); border-radius: .25rem; background: linear-gradient(90deg, rgba(255,255,255,.7) 0 1rem, transparent 1rem 2rem, rgba(255,255,255,.16) 2rem 75%, transparent 75%); }
.checklist-cover b { display: block; margin-top: 2.2rem; color: #e9d5ff; font-size: .75rem; }

.checklist-workspace { background: #f8fafc; padding: 5rem 0; }
.checklist-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.checklist-progress { width: min(100%, 22rem); }
.checklist-progress > span { color: #475569; font-size: .78rem; font-weight: 800; }
.checklist-progress > div { height: .55rem; overflow: hidden; margin-top: .55rem; border-radius: 999px; background: #e2e8f0; }
.checklist-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6d28d9, #8b5cf6); transition: width .25s ease; }
.checklist-progress button { margin-top: .55rem; color: #6d28d9; font-size: .7rem; font-weight: 900; }
.checklist-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.checklist-grid > section { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 1.35rem; background: #fff; box-shadow: 0 8px 25px rgba(15,23,42,.04); }
.checklist-grid section > header { display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid #e2e8f0; padding: 1.2rem; }
.checklist-grid header > .material-symbols-outlined { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border-radius: .8rem; background: #f5f3ff; color: #6d28d9; }
.checklist-grid header small { color: #7c3aed; font-size: .62rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.checklist-grid h3 { margin-top: .1rem; font-size: 1rem; font-weight: 900; }
.checklist-grid label { display: grid; grid-template-columns: 1.15rem 1fr; gap: .75rem; padding: 1rem 1.2rem; cursor: pointer; }
.checklist-grid label + label { border-top: 1px solid #f1f5f9; }
.checklist-grid input { width: 1.05rem; height: 1.05rem; margin-top: .15rem; accent-color: #6d28d9; }
.checklist-grid label span { color: #64748b; font-size: .78rem; line-height: 1.55; }
.checklist-grid label strong { display: block; margin-bottom: .2rem; color: #111827; font-size: .82rem; }
.checklist-grid label:has(input:checked) { background: #fafafa; }
.checklist-grid label:has(input:checked) strong { color: #64748b; text-decoration: line-through; }
.checklist-boundary { display: flex; align-items: flex-start; gap: .8rem; margin-top: 1.5rem; border: 1px solid #ddd6fe; border-radius: 1rem; background: #f5f3ff; padding: 1rem; color: #5b6475; font-size: .78rem; line-height: 1.55; }
.checklist-boundary .material-symbols-outlined { color: #6d28d9; }
.checklist-boundary strong { color: #312e81; }

@media (min-width: 760px) {
  .resource-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .checklist-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 960px) {
  .resource-hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(20rem,.92fr); }
  .resource-feature-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .resource-steps-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .checklist-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .resource-hero { padding: 5.5rem 0 3.5rem; }
  .resource-hero h1 { font-size: 2.8rem; }
  .resource-button { width: 100%; }
  .workbook-preview { transform: none; }
  .checklist-cover { min-height: 26rem; }
}
@media print {
  .public-site-header, .public-site-footer, .resource-hero, .checklist-progress button, #analytics-consent-banner, #beta-interest-modal { display: none !important; }
  .checklist-workspace { padding: 0; background: #fff; }
  .checklist-grid { grid-template-columns: repeat(2,1fr); }
  .checklist-grid > section { break-inside: avoid; box-shadow: none; }
}
