:root {
    --secondary: #10b981;
    --primary: #059669;
    --muted: #6ee7b7;
    --dark: #052e1f;
    --primary-alpha: #05966940;
    --light: #ecfdf5;
    --accent: #34d399;
    --darker: #021a11;
    --typo-body: 'Open Sans', sans-serif;
    --typo-heading: 'Poppins', sans-serif;
}

.pg-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 72px;
}

.pg-back {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    margin-right: auto;
    margin-left: 24px;
}

.pg-back:hover {
    color: var(--primary);
}

.pg-hero {
    padding: 56px 48px 32px;
    max-width: 920px;
}

.pg-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pg-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--light);
}

.pg-lede {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7em;
    max-width: 680px;
}

.pg-meta {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.pg-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
    padding-bottom: 64px;
}

.pg-toc {
    position: sticky;
    top: 96px;
}

.pg-toc-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
    font-weight: 700;
}

.pg-toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pg-toc a {
    display: block;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--muted);
    border-left: 2px solid transparent;
}

.pg-toc a:hover {
    color: var(--light);
}

.pg-toc a.pg-toc-active {
    color: var(--primary);
    background: var(--primary-alpha);
    border-left-color: var(--primary);
    font-weight: 600;
}

.pg-copy {
    max-width: 720px;
}

.pg-copy--wide {
    max-width: 860px;
    padding-bottom: 64px;
}

.pg-section {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pg-section:last-of-type {
    border-bottom: none;
}

.pg-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--light);
}

.pg-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-alpha);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pg-section p,
.pg-copy--wide p {
    color: var(--muted);
    line-height: 1.8em;
    margin-bottom: 14px;
}

.pg-section a,
.pg-copy--wide a {
    color: var(--primary);
    text-decoration: underline;
}

.pg-section ul,
.pg-copy--wide ul {
    color: var(--muted);
    line-height: 1.8em;
    padding-left: 20px;
    margin-bottom: 14px;
}

.pg-subhead {
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: var(--light);
}

.pg-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 8px;
}

.pg-channel-card {
    padding: 24px;
    border-radius: 14px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.08);
}

.pg-channel-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--light);
}

.pg-channel-meta {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.pg-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pg-checklist li {
    padding-left: 26px;
    position: relative;
}

.pg-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.pg-cta-strip {
    margin: 40px 0;
    padding: 32px;
    text-align: center;
    background: var(--dark);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

.pg-related {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.pg-related-label {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    margin-right: 4px;
}

.pg-related a {
    font-size: 13px;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--primary-alpha);
}

.pg-related a:hover {
    background: var(--primary);
    color: #fff;
}

.pg-foot {
    background: var(--darker);
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.pg-foot p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
}

.pg-foot-fine {
    max-width: 700px;
    margin-inline: auto;
}

@media (max-width: 64rem) {
    .pg-layout { grid-template-columns: 1fr; }
    .pg-toc { position: static; }
    .pg-channel-grid { grid-template-columns: 1fr; }
    .pg-hero { padding: 40px 32px 24px; }
}

@media (max-width: 47.9375em) {
    .pg-header-inner { padding: 12px 20px; height: auto; gap: 10px; }
    .pg-back { margin-left: 0; font-size: 13px; }
    .pg-hero { padding: 32px 20px 20px; }
    .pg-layout { padding-bottom: 40px; }
}
