:root {
    --font-sans: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --brand: #1e4ed8;
    --brand-hover: #1b46c4;
    --body: #cbd5e1;
    --canvas: var(--pwi-canvas-bottom);
}
body {
    font-family: var(--font-sans);
    overflow-x: hidden;
    background: var(--canvas);
    color: var(--body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.bg-canvas {
    background: var(--canvas) !important;
}
.text-body {
    color: var(--body) !important;
}
.hero-dark {
    color: #e2e8f0;
}
.pdf-hero {
    padding: 0;
}
.pdf-hero-eyebrow {
    color: #60a5fa;
}
.pdf-hero-title {
    font-size: clamp(2.55rem, 10.5vw, 3.75rem);
    font-weight: 300;
    line-height: 0.93;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    margin: 0;
}
.pdf-hero-accent {
    color: #60a5fa;
}
.pdf-hero-lede {
    color: #94a3b8;
}
.pdf-noscript {
    color: #94a3b8;
}
.pdf-noscript a {
    color: #60a5fa;
    text-decoration: underline;
}
.pdf-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.pdf-cta-btn {
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}
.pdf-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    box-sizing: border-box;
    background: rgba(147, 197, 253, 0.14);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.32);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.625rem 1.5rem;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
@media (min-width: 640px) {
    .pdf-cta-btn-secondary {
        font-size: 0.875rem;
        letter-spacing: 0.12em;
        padding: 0.625rem 2rem;
    }
}
.pdf-cta-btn-secondary:hover,
.pdf-cta-btn-secondary:focus-visible {
    background: #1E4ED8;
    border-color: #1E4ED8;
    color: #fff;
}
.pdf-cta-icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.pdf-card-img-wrap--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdf-card-img--cover {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.pdf-card-img-wrap--contain {
    background: #eef2f7;
}
.pdf-card-img-wrap--contain img {
    top: 22px;
    left: 22px;
    width: calc(100% - 44px);
    height: calc(100% - 44px);
    object-fit: contain;
    object-position: center center;
}
.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.btn-primary:hover {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
}
summary {
    list-style: none;
}
summary::-webkit-details-marker {
    display: none;
}
summary::marker {
    content: "";
}
.pdf-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
    flex: 0 0 auto;
    text-align: center;
}
.pdf-filter-btn:not(.active) {
    border-color: rgba(148, 163, 184, 0.28);
    background: transparent;
    color: #94a3b8;
}
.pdf-filter-btn:not(.active):hover {
    border-color: rgba(147, 197, 253, 0.4);
    color: #e2e8f0;
    background: rgba(147, 197, 253, 0.08);
}
.pdf-filter-btn.active {
    background: #1E4ED8;
    border-color: #1E4ED8;
    color: #fff;
}
.pdf-library-inner {
    padding-top: clamp(1rem, 2vw, 1.5rem);
    padding-bottom: 3rem;
}
.pdf-library-header {
    max-width: 42rem;
}
.pdf-library-kicker {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}
.pdf-library-note {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #cbd5e1;
}
.pdf-library-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem !important;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
    overflow-x: visible;
}
.pdf-filter-break {
    display: none;
}
@media (max-width: 639px) {
    .pdf-library-filters {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.5rem !important;
        margin-bottom: 1.5rem;
    }
    .pdf-filter-btn,
    .pdf-filter-btn:not(.active) {
        width: 100%;
        justify-content: flex-start;
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 0.08em;
        border-color: rgba(147, 197, 253, 0.34);
        background: rgba(10, 25, 52, 0.58);
        color: #93c5fd;
    }
    .pdf-filter-btn:not(.active):hover,
    .pdf-filter-btn:not(.active):focus-visible {
        border-color: rgba(147, 197, 253, 0.5);
        background: rgba(10, 25, 52, 0.72);
        color: #e2e8f0;
    }
    .pdf-filter-btn.active {
        background: #1E4ED8;
        border-color: #1E4ED8;
        color: #fff;
    }
}
@media (min-width: 640px) {
    .pdf-library-note {
        font-size: 0.95rem;
    }
    .pdf-library-filters {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.55rem !important;
        margin-bottom: 2.25rem;
        max-width: none;
    }
    .pdf-filter-btn {
        display: inline-flex !important;
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 42px !important;
        padding: 0.55rem 0.75rem !important;
        white-space: normal !important;
        line-height: 1.25 !important;
        box-sizing: border-box !important;
        border-color: rgba(147, 197, 253, 0.34) !important;
        background: rgba(10, 25, 52, 0.58) !important;
        color: #93c5fd !important;
    }
    .pdf-filter-btn:not(.active) {
        border-color: rgba(147, 197, 253, 0.34) !important;
        background: rgba(10, 25, 52, 0.58) !important;
        color: #93c5fd !important;
    }
    .pdf-filter-btn:not(.active):hover,
    .pdf-filter-btn:not(.active):focus-visible {
        border-color: rgba(147, 197, 253, 0.5) !important;
        background: rgba(10, 25, 52, 0.72) !important;
        color: #e2e8f0 !important;
    }
    .pdf-filter-btn.active {
        background: #1E4ED8 !important;
        border-color: #1E4ED8 !important;
        color: #fff !important;
    }
    .pdf-filter-break {
        display: none !important;
    }
}
@media (min-width: 1024px) {
    .pdf-library-inner {
        padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
        padding-bottom: 3.5rem;
    }
    .pdf-library-filters {
        margin-top: 1.15rem;
        margin-bottom: 2.75rem;
    }
}
.pdf-card-grid {
    row-gap: 1.75rem;
}
@media (min-width: 640px) {
    .pdf-card-grid {
        row-gap: 2rem;
    }
}
.pdf-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}
.pdf-card-img-wrap {
    display: block;
    width: 100%;
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 1.25rem;
    transition: transform 240ms cubic-bezier(.22,1,.36,1), box-shadow 240ms ease;
}
.pdf-card:hover .pdf-card-img-wrap,
.pdf-card:focus-visible .pdf-card-img-wrap {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(2,8,23,0.16);
}
.pdf-card-img-wrap img {
    display: block;
    position: absolute;
    transition: transform 400ms ease;
}
.pdf-card-img-wrap:not(.pdf-card-img-wrap--contain) img,
.pdf-card-img-wrap .pdf-card-img--cover {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.pdf-card-img-wrap--product-photo {
    background: #eef1f4;
}
.pdf-card-img-wrap img.pdf-card-img--ice-light {
    object-position: 50% 50%;
    transform: scale(1.32);
    transform-origin: 93% 77%;
}
.pdf-card-img-wrap img.pdf-card-img--logo-light {
    object-position: 50% 52%;
    transform: scale(1.15) translateX(5%);
    transform-origin: 50% 54%;
}
.pdf-card-img-wrap img.pdf-card-img--citation-step-light {
    object-position: 50% 56%;
    transform: scale(1.08) translateX(2%);
    transform-origin: 50% 62%;
}
.pdf-card-img-wrap img.pdf-card-img--reading-light {
    object-position: 50% 62%;
    transform: scale(1.08);
    transform-origin: 50% 68%;
}
.pdf-card-img-wrap img.pdf-card-img--ice-light-window {
    object-position: 58% 60%;
    transform: scale(1.02);
    transform-origin: 58% 60%;
}
.pdf-card-img-wrap img.pdf-card-img--fluorescent-light {
    object-position: 50% 47%;
    transform: scale(1.01);
    transform-origin: 50% 49%;
}
.pdf-card:hover .pdf-card-img-wrap:not(.pdf-card-img-wrap--contain) img {
    transform: scale(1.04);
}
.pdf-card:hover .pdf-card-img-wrap:not(.pdf-card-img-wrap--contain) img.pdf-card-img--ice-light {
    transform: scale(1.36);
}
.pdf-card:hover .pdf-card-img-wrap:not(.pdf-card-img-wrap--contain) img.pdf-card-img--logo-light {
    transform: scale(1.17) translateX(5%);
}
.pdf-card:hover .pdf-card-img-wrap:not(.pdf-card-img-wrap--contain) img.pdf-card-img--citation-step-light {
    transform: scale(1.10) translateX(2%);
}
.pdf-card:hover .pdf-card-img-wrap:not(.pdf-card-img-wrap--contain) img.pdf-card-img--reading-light {
    transform: scale(1.10);
}
.pdf-card:hover .pdf-card-img-wrap:not(.pdf-card-img-wrap--contain) img.pdf-card-img--ice-light-window {
    transform: scale(1.04);
}
.pdf-card:hover .pdf-card-img-wrap:not(.pdf-card-img-wrap--contain) img.pdf-card-img--fluorescent-light {
    transform: scale(1.03);
}
.pdf-card:hover .pdf-card-img-wrap--contain img {
    transform: scale(1.02);
}
.pdf-card-body {
    padding: 0.75rem 0.25rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}
.pdf-card-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pdf-card:hover .pdf-card-title {
    color: #93c5fd;
}
.pdf-fade {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 420ms ease, transform 420ms ease;
}
.pdf-fade.in-view {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .pdf-fade {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .pdf-card-img-wrap {
        transition: none;
    }
    .pdf-card:hover .pdf-card-img-wrap,
    .pdf-card:focus-visible .pdf-card-img-wrap {
        transform: none;
    }
}
.pdf-download-row {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    align-self: flex-start;
    margin-top: auto;
    min-height: 1.55rem;
    padding: 0.28rem 0.58rem;
    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: 9999px;
    background: rgba(147, 197, 253, 0.14);
    color: #93c5fd;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
    pointer-events: none;
}
.pdf-card:hover .pdf-download-row,
.pdf-card:focus-visible .pdf-download-row {
    background: #1E4ED8;
    border-color: #1E4ED8;
    color: #fff;
}
.pdf-download-row svg {
    width: 0.7rem;
    height: 0.7rem;
    flex-shrink: 0;
}
.pdf-category-heading {
    color: #cbd5e1;
    margin: 0;
}
.pdf-library-section {
    padding: 0;
    background: var(--canvas);
}
@media (max-width: 639px) {
    #pdf-content-area .grid {
        row-gap: 2.25rem;
    }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.pdf-hero-inner {
    padding-top: 1.5rem;
    padding-bottom: 0.75rem;
}
.reveal {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-up 520ms ease-out forwards;
}
.reveal-1 {
    animation-delay: 60ms;
}
.reveal-2 {
    animation-delay: 140ms;
}
.reveal-3 {
    animation-delay: 220ms;
}
@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
@media (max-width: 639px) {
    .hero-dark {
        min-height: auto !important;
    }
    .pdf-hero-inner {
        padding-top: 1.25rem !important;
        padding-bottom: 0.5rem !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .pdf-hero-inner .reveal {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .pdf-hero-title {
        font-size: 2.55rem !important;
        line-height: 1.05 !important;
    }
    .pdf-hero-lede {
        margin-top: 0.75rem !important;
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
    .pdf-filter-btn {
        font-size: 0.75rem;
    }
}

/* Match homepage: CTA band flows into footer */
.pwi-site-bottom {
    background: var(--pwi-canvas-bottom) !important;
}
.pwi-site-bottom > .site-cta.led-cta {
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
}
@media (min-width: 768px) {
    .pwi-site-bottom .pwi-footer-grid {
        padding-top: 1.5rem;
    }
}
