.playbooks-hero {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.playbooks-hero__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.playbooks-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url('/resources/images/tortuga/pexels-jeremy-bishop_HD.jpg');
    background-image:
        image-set(
            url('/resources/images/tortuga/pexels-jeremy-bishop_HD.jpg') 1x,
            url('/resources/images/tortuga/pexels-jeremy-bishop_full-HD.jpg') 2x,
            url('/resources/images/tortuga/pexels-jeremy-bishop_8k.jpg') 3x
        );
    background-size: cover;
    background-position: center top;
    opacity: 0.2;
    pointer-events: none;
}

@media (max-width: 767px) {
    .playbooks-hero::before {
        display: none;
    }
}

.playbooks-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0.75rem 0;
}

.playbooks-hero p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.playbooks-hero__browse-btn {
    color: #ffcc00;
    border-color: #ffcc00;
    background: transparent;
}

.playbooks-hero__browse-btn:hover {
    color: #0f2027;
    background: #ffcc00;
    border-color: #ffcc00;
}

.playbooks-purpose,
.playbooks-list,
.playbooks-usage,
.playbooks-roadmap,
.playbooks-contact {
    padding: 2.5rem 1.25rem;
}

.container.narrow {
    max-width: 920px;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pillars-grid,
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.pillar-card,
.roadmap-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 10px 24px rgba(15, 32, 39, 0.08);
    height: 100%;
}

.pillar-card h3 {
    text-align: center;
}

.card-grid--playbooks {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.playbook-card__meta {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.playbook-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #fff7e3;
    border: 1px solid rgba(255, 204, 0, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f2027;
    align-self: center;
    margin-bottom: 0.75rem;
}

.playbook-card__icon svg {
    width: 46px;
    height: 46px;
}

.playbook-audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.playbook-audience-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 12px 26px rgba(15, 32, 39, 0.08);
    height: 100%;
}

.playbook-audience-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    margin: 0.75rem 0 0.4rem;
}

.playbook-audience-card__icon {
    width: 52px;
    height: 52px;
}

.playbook-audience-card__icon svg {
    width: 100%;
    height: 100%;
}

.playbook-audience-card__icon img {
    width: 100%;
    height: 100%;
}

.usage-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.usage-steps li {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    padding-left: 0;
}

.usage-steps li h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.cta-block {
    background: #0f2027;
    color: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.playbooks-roadmap ul {
    padding-left: 1.25rem;
    margin: 0;
}

.playbooks-contact {
    text-align: center;
}

.playbooks-contact h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tag-cloud-mobile {
    display: none;
}

.tag-cloud-mobile__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(59, 89, 152, 0.2);
    color: #0f2027;
    background: rgba(59, 89, 152, 0.08);
}

.tag-chip.is-active,
.tag-chip:hover {
    background: #3b5998;
    color: #fff;
    border-color: #3b5998;
}

.playbook-hero {
    background: #f6f8fb;
    border-bottom: 1px solid #e5e7eb;
    padding: 2.75rem 1.5rem 2rem;
}

.playbook-hero__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.playbook-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.7rem);
    margin-bottom: 0.5rem;
}

.playbook-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.playbook-layout {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

.playbook-executive {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 32, 39, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.playbook-executive__summary {
    background: #fff;
    padding: 1.5rem 1.5rem 1rem;
}

.playbook-executive__summary h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
}

.playbook-executive__summary ul {
    padding-left: 1.1rem;
    margin: 0;
}

.playbook-executive__checklist {
    background: #fff7e3;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 204, 0, 0.4);
}

.playbook-executive__checklist strong {
    font-family: 'Oswald', sans-serif;
}

.playbook-executive__checklist ul {
    padding-left: 1.1rem;
    margin: 0.5rem 0 0;
}

.playbook-nav {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 24px rgba(15, 32, 39, 0.08);
}

.playbook-nav ol {
    margin: 0;
    padding-left: 1.25rem;
}

.playbook-quick-take {
    background: #f6f8fb;
    border-left: 4px solid #3b5998;
    border-radius: 0 12px 12px 0;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    box-shadow: 0 6px 18px rgba(15, 32, 39, 0.08);
}

.playbook-quick-take span {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3b5998;
}

.playbook-quick-take p {
    margin: 0.25rem 0 0;
    font-style: italic;
}

.playbook-section {
    margin-bottom: 2.5rem;
    border-left: 4px solid rgba(59, 89, 152, 0.2);
    padding-left: 1.25rem;
}

.playbook-section__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.playbook-section__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: #f6f8fb;
    border: 1px solid rgba(59, 89, 152, 0.18);
    color: #3b5998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.playbook-section__icon svg {
    width: 2rem;
    height: 2rem;
}

.playbook-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
}

.playbook-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    margin-top: 1rem;
}

.playbook-section ul,
.playbook-section ol {
    padding-left: 1.1rem;
}

.playbook-note {
    background: #fff7e3;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 204, 0, 0.4);
    margin-top: 1rem;
}

.playbook-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.playbook-pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.playbook-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1.2rem 0.45rem 0.45rem;
    border-radius: 999px;
    background: #f6faf8;
    border: 1px solid rgba(15, 32, 39, 0.12);
    box-shadow: 0 8px 18px rgba(15, 32, 39, 0.08);
    color: #0f2027;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.playbook-pill:hover {
    text-decoration: none;
    box-shadow: 0 12px 20px rgba(15, 32, 39, 0.12);
    transform: translateY(-1px);
}

.playbook-pill__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(15, 32, 39, 0.08);
    flex-shrink: 0;
}

.playbook-pill__icon svg {
    width: 26px;
    height: 26px;
}

.playbook-related {
    background: #0f2027;
    color: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    margin-top: 2.5rem;
}

.playbook-related h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1rem;
}

.playbook-related a {
    color: #ffcc00;
    font-weight: 600;
}

@media (max-width: 768px) {
    .playbooks-hero {
        padding: 2.5rem 1rem;
    }
    .cta-block {
        flex-direction: column;
        text-align: center;
    }
    .playbook-section {
        border-left: none;
        border-top: 3px solid rgba(59, 89, 152, 0.2);
        padding-left: 0;
        padding-top: 1rem;
    }
}

@media print {
    .navbar,
    .footer,
    .hero-actions,
    .playbook-cta-group,
    .btn {
        display: none !important;
    }
    .playbook-hero {
        background: #fff !important;
        border-bottom: 1px solid #e5e7eb;
    }
    .playbook-layout {
        padding-top: 1.25rem;
    }
    .playbook-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    a[href]::after {
        content: " (" attr(href) ")";
        font-weight: normal;
        font-size: 0.9em;
    }
}

.credits-page {
    padding-bottom: 2.5rem;
}

.credits-section {
    padding: 2.25rem 0 2.4rem;
    border-top: 1px solid rgba(59, 89, 152, 0.12);
    margin: 0;
}

.credits-section:first-of-type {
    border-top: none;
    padding-top: 1.75rem;
}

.credits-page__cta {
    margin-top: 1.5rem;
    padding: 2.5rem 0 1rem;
}
