:root {
    --jcp-blue: #052d68;
    --jcp-sky: #dff5ff;
    --jcp-red: #e41f26;
    --jcp-yellow: #ffc52f;
    --jcp-cream: #fffaf0;
    --jcp-ink: #12315a;
    --jcp-muted: #5c6f86;
    --jcp-card: #ffffff;
    --jcp-shadow: 0 14px 34px rgba(5, 45, 104, 0.12);
    --jcp-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--jcp-ink);
    background: var(--jcp-cream);
    font-family: "Trebuchet MS", Arial, sans-serif;
    line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
    position: fixed !important; top: 12px; left: 12px; width: auto; height: auto;
    clip: auto; padding: 10px 14px; background: #fff; color: #000; z-index: 10000;
}

/* Compact sticky header. */
.jcp-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(5,45,104,.08);
}
.jcp-header-inner {
    width: min(1180px, calc(100% - 36px));
    min-height: 66px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.jcp-brand img, .jcp-footer-brand img {
    display: block;
    width: auto;
    max-height: 48px;
}
.jcp-brand .custom-logo-link, .jcp-footer-brand .custom-logo-link,
.jcp-brand-link { display: inline-flex; align-items: center; }
.jcp-nav-list, .jcp-footer-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.jcp-nav-list a {
    text-decoration: none;
    font-weight: 800;
    color: var(--jcp-blue);
}
.jcp-nav-list a:hover { color: var(--jcp-red); }
.jcp-menu-toggle {
    display: none;
    width: 44px;
    height: 40px;
    background: #fff;
    border: 1px solid rgba(5,45,104,.16);
    border-radius: 11px;
    padding: 8px;
}
.jcp-menu-toggle span:not(.screen-reader-text) {
    display: block;
    height: 3px;
    margin: 4px 0;
    border-radius: 3px;
    background: var(--jcp-blue);
}

/* Hero deliberately kept short so the catalog begins in the initial viewport. */
.jcp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 8%, rgba(255,255,255,.95) 0 8%, transparent 9%),
        radial-gradient(circle at 75% 12%, rgba(255,255,255,.78) 0 7%, transparent 8%),
        linear-gradient(180deg, #bdeaff 0%, #eaf9ff 72%, #f9fcf4 100%);
    border-bottom: 1px solid rgba(5,45,104,.07);
}
.jcp-hero:after {
    content: "";
    position: absolute;
    left: -5%; right: -5%; bottom: -62px;
    height: 118px;
    background: linear-gradient(180deg, #91d95f, #64bd49);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    opacity: .8;
}
.jcp-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 36px));
    min-height: 328px;
    margin: 0 auto;
    padding: 30px 0 46px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    gap: 38px;
}
.jcp-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--jcp-red);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
}
.jcp-hero h1 {
    margin: 0;
    max-width: 690px;
    color: var(--jcp-blue);
    font-size: clamp(2.45rem, 4.4vw, 4.25rem);
    line-height: .99;
    letter-spacing: -.042em;
}
.jcp-hero-copy > p {
    max-width: 620px;
    margin: 15px 0 0;
    font-size: clamp(1rem, 1.2vw, 1.16rem);
    color: #314d70;
}
.jcp-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.jcp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition: transform .15s ease, box-shadow .15s ease;
}
.jcp-button:hover { transform: translateY(-2px); }
.jcp-button-primary {
    background: var(--jcp-red);
    color: #fff;
    box-shadow: 0 9px 22px rgba(228,31,38,.22);
}
.jcp-button-secondary {
    background: var(--jcp-yellow);
    color: var(--jcp-blue);
    box-shadow: 0 9px 22px rgba(255,197,47,.20);
}
.jcp-hero-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.jcp-hero-art img {
    width: min(100%, 340px);
    max-height: 230px;
    object-fit: contain;
    filter: drop-shadow(0 13px 18px rgba(5,45,104,.10));
}
.jcp-amazon-pill {
    background: rgba(255,255,255,.95);
    border: 2px solid var(--jcp-yellow);
    box-shadow: var(--jcp-shadow);
    border-radius: 999px;
    padding: 7px 15px;
    color: var(--jcp-blue);
    text-align: center;
    font-size: .9rem;
    font-weight: 800;
}
.jcp-amazon-pill strong { color: #111; text-transform: uppercase; }

.jcp-collection-section {
    position: relative;
    z-index: 4;
    padding: 36px 0 50px;
    background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
}
.jcp-section-heading {
    width: min(900px, calc(100% - 36px));
    margin: 0 auto 24px;
    text-align: center;
}
.jcp-section-heading h2, .jcp-more-section h2 {
    margin: 0;
    color: var(--jcp-blue);
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    line-height: 1.05;
    letter-spacing: -.03em;
}
.jcp-section-heading p {
    margin: 8px auto 0;
    max-width: 720px;
    color: var(--jcp-muted);
    font-size: 1rem;
}

.jcp-book-grid {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 20px;
    align-items: stretch;
}
.jcp-book-card {
    background: var(--jcp-card);
    border: 1px solid rgba(5,45,104,.08);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(5,45,104,.08);
    padding: 14px;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.jcp-book-cover-wrap {
    overflow: hidden;
    aspect-ratio: 8.5 / 11;
    border-radius: 12px;
    background: #eef6fb;
    box-shadow: 0 6px 16px rgba(0,0,0,.10);
}
.jcp-book-cover {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.jcp-book-placeholder {
    width: 100%; height: 100%; display: grid; place-items: center;
    padding: 20px; font-weight: 900; color: var(--jcp-blue);
    background: linear-gradient(150deg, #ccefff, #fff4c9);
}
.jcp-book-card h3 {
    margin: 14px 0 7px;
    color: var(--jcp-blue);
    font-size: 1.1rem;
    line-height: 1.15;
}
.jcp-book-description {
    margin: 0 0 14px;
    color: var(--jcp-muted);
    font-size: .91rem;
    flex: 1;
}
.jcp-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--jcp-yellow);
    color: var(--jcp-blue);
    text-decoration: none;
    font-weight: 900;
}
.jcp-book-button:hover { background: #ffd65c; }

.jcp-more-section { padding: 0 0 45px; background: #fff; }
.jcp-more-inner {
    width: min(1140px, calc(100% - 36px));
    margin: 0 auto;
    padding: 25px 32px;
    border-radius: var(--jcp-radius);
    background: linear-gradient(135deg, #dff4ff, #f2fbff);
    border: 1px solid #c6ebff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.jcp-more-inner h2 { font-size: clamp(1.7rem, 2.7vw, 2.35rem); }
.jcp-more-inner p { margin: 6px 0 0; color: var(--jcp-muted); }
.jcp-paper-plane { font-size: 1.6rem; }

.jcp-benefits {
    width: min(1100px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.jcp-benefit {
    padding: 15px 12px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(5,45,104,.08);
    text-align: center;
}
.jcp-benefit span { display: block; color: var(--jcp-red); font-size: 1.55rem; margin-bottom: 4px; }
.jcp-benefit strong { font-size: .9rem; color: var(--jcp-blue); }

.jcp-plugin-notice {
    width: min(900px, calc(100% - 36px));
    margin: 0 auto;
    padding: 22px;
    border: 2px dashed #f0b72b;
    border-radius: 16px;
    background: #fff8dd;
    text-align: center;
}
.jcp-plugin-notice span { display: block; margin-top: 6px; }

.jcp-site-footer {
    background: #f7f3e9;
    border-top: 1px solid rgba(5,45,104,.08);
}
.jcp-footer-inner {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 32px 0 25px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 18px 36px;
    align-items: center;
}
.jcp-footer-brand img { max-height: 64px; }
.jcp-footer-message { margin: 0; text-align: right; font-weight: 700; }
.jcp-footer-nav { grid-column: 1 / -1; }
.jcp-footer-menu { justify-content: center; gap: 18px; }
.jcp-footer-menu a { text-decoration: none; color: var(--jcp-blue); font-weight: 700; }
.jcp-copyright { grid-column: 1 / -1; margin: 0; text-align: center; font-size: .82rem; color: var(--jcp-muted); }

.jcp-basic-page { padding: 60px 0; background: #fff; min-height: 60vh; }
.jcp-basic-inner { width: min(900px, calc(100% - 36px)); margin: 0 auto; }
.jcp-basic-inner h1 { color: var(--jcp-blue); font-size: clamp(2.2rem, 4vw, 3.5rem); }

@media (max-width: 900px) {
    .jcp-header-inner { min-height: 62px; }
    .jcp-menu-toggle { display: block; }
    .jcp-primary-nav {
        display: none;
        position: absolute;
        left: 18px; right: 18px; top: 60px;
        background: #fff;
        border-radius: 16px;
        padding: 16px;
        box-shadow: var(--jcp-shadow);
    }
    .jcp-primary-nav.is-open { display: block; }
    .jcp-nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
    .jcp-nav-list a { display: block; padding: 9px 8px; }
    .jcp-hero-inner { grid-template-columns: 1fr .7fr; gap: 22px; padding: 26px 0 42px; }
    .jcp-hero-art img { width: min(100%, 270px); max-height: 190px; }
    .jcp-benefits { grid-template-columns: repeat(2, 1fr); }
    .jcp-footer-inner { grid-template-columns: 1fr; text-align: center; }
    .jcp-footer-brand { display: flex; justify-content: center; }
    .jcp-footer-message { text-align: center; }
}

@media (max-width: 650px) {
    .jcp-header-inner, .jcp-hero-inner, .jcp-book-grid, .jcp-more-inner, .jcp-benefits, .jcp-footer-inner,
    .jcp-section-heading, .jcp-basic-inner { width: min(100% - 22px, 1180px); }
    .jcp-header-inner { min-height: 58px; }
    .jcp-brand img { max-width: 220px; max-height: 43px; }
    .jcp-primary-nav { top: 56px; left: 11px; right: 11px; }

    .jcp-hero { text-align: center; }
    .jcp-hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 20px 0 28px; gap: 0; }
    .jcp-eyebrow { margin-bottom: 5px; font-size: .7rem; }
    .jcp-hero h1 { font-size: clamp(2rem, 10.4vw, 2.85rem); line-height: 1; }
    .jcp-hero-copy > p { margin: 10px auto 0; max-width: 520px; font-size: .95rem; line-height: 1.4; }
    .jcp-hero-actions { justify-content: center; margin-top: 14px; gap: 8px; }
    .jcp-button { min-height: 42px; padding: 9px 15px; font-size: .92rem; }
    .jcp-hero-art { display: none; }
    .jcp-hero:after { height: 80px; bottom: -45px; }

    .jcp-collection-section { padding: 25px 0 40px; }
    .jcp-section-heading { margin-bottom: 16px; }
    .jcp-section-heading h2 { font-size: clamp(1.55rem, 7.6vw, 2rem); }
    .jcp-section-heading p { margin-top: 5px; font-size: .9rem; }

    .jcp-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .jcp-book-card { padding: 9px; border-radius: 13px; }
    .jcp-book-card h3 { font-size: .91rem; margin: 10px 0 6px; }
    .jcp-book-description { font-size: .8rem; line-height: 1.35; margin-bottom: 10px; }
    .jcp-book-button { min-height: 38px; font-size: .81rem; padding: 8px 8px; }
    .jcp-benefits { grid-template-columns: 1fr 1fr; gap: 9px; }
    .jcp-more-inner { padding: 22px 18px; }
}

@media (max-width: 390px) {
    .jcp-brand img { max-width: 195px; }
    .jcp-hero h1 { font-size: 2rem; }
    .jcp-hero-copy > p { font-size: .9rem; }
    .jcp-button { font-size: .87rem; padding-left: 12px; padding-right: 12px; }
}
