/* =============================================
   Report Page — State of Home Daycare in Canada
   ============================================= */

:root {
    --brand:   #FC4C69;
    --dark:    #33010A;
    --cream:   #f5edde;
    --white:   #ffffff;
    --text:    #1a1a1a;
    --muted:   #666666;
    --border:  #e0d8cc;
    --font:    'Montserrat', sans-serif;
}

/* ── Hero ── */
.report-hero {
    background-color: var(--dark);
    color: var(--white);
    padding: 100px 40px 80px;
    text-align: center;
}
.report-hero .report-tag {
    display: inline-block;
    background: var(--brand);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
}
.report-hero h1 {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    max-width: 820px;
    margin: 0 auto 24px;
}
.report-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.report-hero .report-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.report-cta-btn {
    display: inline-block;
    background: var(--brand);
    color: var(--white);
    font-family: var(--font);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 32px;
    transition: opacity 0.2s;
}
.report-cta-btn:hover { opacity: 0.85; color: var(--white); }

/* ── Key Stats Bar ── */
.report-stats-bar {
    background: var(--cream);
    padding: 60px 40px;
    border-bottom: 1px solid var(--border);
}
.report-stats-bar .stats-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}
.stat-block {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px 32px;
    border-right: 1px solid var(--border);
}
.stat-block:last-child { border-right: none; }
.stat-block .stat-number {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-block .stat-number span { color: var(--brand); }
.stat-block .stat-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Section Base ── */
.report-section {
    padding: 80px 48px;
}
.report-section-full {
    background: var(--cream);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}
.report-section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}
.report-section h2,
.report-section-dark h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: inherit;
}
.report-section p,
.report-section-dark p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
}
.report-section-dark p { color: rgba(255,255,255,0.65); }

/* ── Two Column ── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── Chart Placeholders ── */
.chart-placeholder {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}
.report-section-full .chart-placeholder,
.report-section-dark .chart-placeholder {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}
.report-section-full .chart-placeholder {
    background: var(--white);
    border-color: var(--border);
}
.chart-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.chart-placeholder svg { width: 100%; height: auto; }

/* Three chart grid */
.chart-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.chart-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* ── Pull Quote ── */
.pull-quote {
    border-left: 4px solid var(--brand);
    padding: 24px 32px;
    margin: 48px 0;
    background: rgba(252, 76, 105, 0.06);
    border-radius: 0 8px 8px 0;
}
.pull-quote p {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--dark) !important;
    max-width: 100% !important;
}

/* ── Dark stat row ── */
.dark-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 48px;
}
.dark-stat .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.dark-stat .stat-number span { color: var(--brand); }
.dark-stat .stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* ── Insight Cards ── */
.insight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.insight-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}
.insight-card .insight-icon {
    width: 40px;
    height: 40px;
    background: rgba(252,76,105,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
}
.insight-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.insight-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 100% !important;
}

/* ── TOC Sidebar ── */
.report-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}
.report-toc {
    grid-column: 1;
    position: sticky;
    top: 80px;
    padding: 48px 32px 48px 0;
    align-self: start;
}
.report-toc h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.report-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--border);
}
.report-toc ul li a {
    display: block;
    padding: 7px 0 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-left: -2px;
    line-height: 1.4;
    transition: color 0.2s, border-color 0.2s;
}
.report-toc ul li a:hover,
.report-toc ul li a.toc-active {
    color: var(--brand);
    border-left-color: var(--brand);
}
.report-body {
    grid-column: 2 / 5;
    min-width: 0;
}
.report-toc-mobile {
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
}
.report-toc-mobile summary {
    padding: 14px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.report-toc-mobile summary::after { content: '▾'; color: var(--brand); }
.report-toc-mobile[open] summary::after { content: '▴'; }
.report-toc-mobile ul {
    list-style: none;
    padding: 0 0 14px 0;
    margin: 0;
}
.report-toc-mobile ul li a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}
.report-toc-mobile ul li:last-child a { border-bottom: none; }

@media (max-width: 1000px) {
    .report-layout {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .report-body { grid-column: 1; }
    .report-toc { display: none; }
    .report-toc-mobile { display: block; }
}

/* ── Download Section ── */
.report-download-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 80px 40px;
}
.report-download-inner {
    max-width: 600px;
    margin: 0 auto;
}
.report-download-inner h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.25;
}
.report-download-inner > p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 100%;
}
.dl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.dl-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}
.dl-form-group input,
.dl-form-group select {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s;
    outline: none;
}
.dl-form-group input:focus,
.dl-form-group select:focus { border-color: #999; }
.dl-form-group input::placeholder { color: #bbb; font-size: 13px; }
.dl-form-group select { color: #999; }
.dl-form-group select:valid { color: var(--text); }

.dl-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}
.dl-checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--dark);
    width: 14px;
    height: 14px;
}
.dl-checkbox a { color: var(--muted); text-decoration: underline; }

.dl-submit {
    width: 100%;
    padding: 15px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
}
.dl-submit:hover { opacity: 0.85; }

/* Success state */
.dl-success { text-align: center; padding: 40px 0; }
.dl-success-icon {
    width: 56px;
    height: 56px;
    background: rgba(252,76,105,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    color: var(--brand);
    font-weight: 800;
}
.dl-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.dl-success p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 100% !important;
}

/* ── Author Section ── */
.report-author-section {
    border-top: 1px solid var(--border);
    padding: 40px;
    background: var(--white);
}
.report-author-inner {
    max-width: 600px;
    margin: 0 auto;
}
.author-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--cream);
}
.author-avatar svg,
.author-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.author-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}
.author-name a { color: var(--brand); text-decoration: none; }
.author-name a:hover { text-decoration: underline; }
.author-title {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}
.author-bio {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 100% !important;
}

/* ── TOC social share ── */
.toc-share {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.toc-share-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 10px;
}
.toc-share-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.toc-share-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s;
}
.toc-share-icons a:hover { border-color: var(--brand); color: var(--brand); }
.toc-subscribe {
    display: block;
    width: 100%;
    padding: 8px 0;
    border: 1.5px solid var(--dark);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.toc-subscribe:hover { background: var(--dark); color: var(--white); }

@media (max-width: 860px) {
    .report-download-section,
    .report-author-section { padding-left: 20px; padding-right: 20px; }
    .dl-form-row { grid-template-columns: 1fr; }
}

/* ── Methodology ── */
.methodology {
    background: #f9f5ef;
    border-top: 1px solid var(--border);
    padding: 60px 48px;
    text-align: center;
}
.methodology h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.methodology p {
    font-size: 14px;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .two-col { grid-template-columns: 1fr; gap: 36px; }
    .two-col.reverse { direction: ltr; }
    .chart-grid-3 { grid-template-columns: 1fr; }
    .chart-grid-2 { grid-template-columns: 1fr; }
    .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-block:last-child { border-bottom: none; }
    .report-layout { padding: 0 20px; }
    .report-hero, .report-section, .report-section-full,
    .report-section-dark, .methodology { padding-left: 20px; padding-right: 20px; }
}
