@page { size: A4; margin: 0; }
:root { --purple: #7C3AED; --purple-dark: #5B21B6; --purple-light: #F5F3FF; --ink: #0B1120; --muted: #64748B; --line: #E2E8F0; --green: #10B981; --gold: #F59E0B; --pink: #EC4899; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--ink); line-height: 1.5; background: #F1F5F9; -webkit-font-smoothing: antialiased; }
.page { width: 210mm; height: 297mm; padding: 14mm 16mm; background: white; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; break-after: page; page-break-after: always; }
.page + .page { margin-top: 5mm; }
.page:last-child { break-after: auto; page-break-after: auto; }
@media print { body { background: white; } .page { margin: 0 !important; } }
.page-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 3mm; border-bottom: 1px solid var(--line); margin-bottom: 5mm; flex-shrink: 0; }
.brand-mark { font-weight: 600; font-size: 12px; color: var(--ink); }
.brand-mark .slash { color: var(--muted); font-weight: 400; }
.brand-mark .product { color: var(--purple); }
.chapter-mark { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.page-num { font-size: 10px; color: var(--muted); }
.page-body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.page-footer { padding-top: 3mm; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); flex-shrink: 0; margin-top: 5mm; }
.eyebrow { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin-bottom: 3mm; }
h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 5mm; }
h1 .grad, h2 .grad { background: linear-gradient(90deg, var(--purple) 0%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 3mm; }
h3 { font-size: 13px; font-weight: 700; margin-bottom: 2mm; margin-top: 3mm; color: var(--ink); }
h3:first-child { margin-top: 0; }
p { font-size: 12px; line-height: 1.55; color: #334155; margin-bottom: 2.5mm; }
.lede { font-size: 13px; color: var(--muted); margin-bottom: 6mm; max-width: 155mm; }
ul { list-style: none; margin: 0 0 2.5mm; padding: 0; }
li { font-size: 11px; color: #334155; padding: 1.5mm 0 1.5mm 5mm; position: relative; line-height: 1.5; }
li::before { content: '\2022'; position: absolute; left: 0; color: var(--purple); font-weight: 800; }
.cover { background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 55%, #EC4899 100%); color: white; padding: 20mm 20mm; }
.cover .page-header { border-bottom-color: rgba(255,255,255,0.2); }
.cover .brand-mark, .cover .brand-mark .product, .cover .brand-mark .slash { color: white; }
.cover .page-num { color: rgba(255,255,255,0.6); }
.cover .page-footer { border-top-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.cover-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 6mm; }
.cover h1 { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 8mm; color: white; }
.cover h1 .accent { display: block; color: #F5F3FF; }
.cover .lede { font-size: 15px; color: rgba(255,255,255,0.9); max-width: 140mm; margin-bottom: 8mm; }
.cover .promise, .cover-quote { padding: 5mm 6mm; background: rgba(255,255,255,0.1); border-left: 3px solid white; border-radius: 4px; max-width: 155mm; margin-top: auto; }
.cover .promise strong { display: block; font-size: 13px; margin-bottom: 2mm; }
.cover .promise p { color: rgba(255,255,255,0.85); font-size: 12px; margin: 0; }
.cover-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6mm; margin-top: auto; }
.cover-stats .cs { padding: 5mm 6mm; background: rgba(255,255,255,0.08); border-left: 3px solid rgba(255,255,255,0.5); border-radius: 4px; }
.cover-stats .cs strong { display: block; font-size: 14px; margin-bottom: 1mm; color: white; }
.cover-stats .cs p { color: rgba(255,255,255,0.85); font-size: 11px; margin: 0; }
.time-block { display: grid; grid-template-columns: 32mm 1fr; gap: 5mm; padding: 4mm 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.time-block:last-child { border-bottom: none; }
.time-badge { background: var(--purple-light); color: var(--purple-dark); padding: 3mm 4mm; border-radius: 6px; font-size: 11px; font-weight: 700; text-align: center; letter-spacing: 0.02em; }
.time-badge .m { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.time-body h3 { margin-bottom: 2mm; }
.time-body p { font-size: 11.5px; line-height: 1.5; color: #475569; }
.time-body .tip, .tip-box { margin-top: 2mm; padding: 2mm 3mm; background: #FEF9C3; border-left: 3px solid var(--gold); border-radius: 4px; font-size: 10.5px; color: #713F12; }
.tip-box p { font-size: 10.5px; color: #713F12; margin: 0; }
.tip-box strong { color: #713F12; }
.info-box { padding: 4mm 5mm; background: var(--purple-light); border-left: 3px solid var(--purple); border-radius: 4px; margin: 3mm 0; }
.info-box p { font-size: 10.5px; margin: 0; color: #475569; }
.info-box strong { color: var(--purple-dark); }
.checklist { display: grid; grid-template-columns: 1fr; gap: 3mm; margin-top: 4mm; }
.check-item, .pain { display: grid; grid-template-columns: 8mm 1fr; gap: 3mm; padding: 3.5mm 4mm; background: var(--purple-light); border-radius: 6px; align-items: flex-start; }
.check-item .num, .pain .mark { width: 6mm; height: 6mm; border-radius: 50%; background: var(--purple); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; flex-shrink: 0; }
.check-item strong { color: var(--purple-dark); display: block; margin-bottom: 0.5mm; font-size: 12px; }
.check-item p { margin: 0; font-size: 11px; color: #475569; line-height: 1.4; }
.footer-cta, .cta-box { margin-top: auto; padding: 5mm 6mm; background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%); color: white; border-radius: 8px; text-align: center; }
.footer-cta strong, .cta-box h3 { display: block; font-size: 14px; margin-bottom: 2mm; color: white; }
.footer-cta p, .cta-box p { color: rgba(255,255,255,0.85); font-size: 11px; margin: 0; }
.step-list { counter-reset: step; margin: 3mm 0; }
.step-list .step { counter-increment: step; display: grid; grid-template-columns: 8mm 1fr; gap: 3mm; padding: 2.5mm 0; border-top: 1px solid var(--line); }
.step-list .step:first-child { border-top: none; padding-top: 0; }
.step-list .step::before { content: counter(step); width: 6mm; height: 6mm; background: var(--purple); color: white; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 10px; }
.step-list .step > div { padding-top: 0.5mm; }
.step-list .step strong { display: block; font-size: 11.5px; margin-bottom: 1mm; }
.step-list .step p { font-size: 10.5px; margin: 0; color: #475569; }
.toc { display: grid; grid-template-columns: 1fr; gap: 3mm; margin-top: 5mm; }
.toc-item { display: grid; grid-template-columns: 14mm 1fr auto; align-items: center; padding: 3.5mm 4mm; background: white; border: 1px solid var(--line); border-radius: 6px; gap: 4mm; }
.toc-item .chnum { font-size: 20px; font-weight: 800; color: var(--purple); letter-spacing: -0.02em; }
.toc-item .chtitle { font-size: 13px; font-weight: 600; }
.toc-item .chtitle small { display: block; font-size: 10px; color: var(--muted); font-weight: 400; margin-top: 1mm; }
.toc-item .chpage { font-size: 12px; color: var(--muted); font-weight: 600; }
.print-btn { position: fixed; top: 20px; right: 20px; z-index: 100; padding: 10px 18px; background: var(--purple); color: white; border: none; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; box-shadow: 0 4px 16px rgba(124,58,237,0.3); }
@media print { .print-btn { display: none; } }
