/* Product pages (/frameworks/<slug>, /frameworks/bundles/<domain>), rendered by lib/productPages.js. */

.pp-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 8rem 5% 3.5rem;
}
.pp-hero-inner { max-width: 1100px; margin: 0 auto; }
.pp-crumbs { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 1rem; }
.pp-crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.pp-crumbs a:hover { text-decoration: underline; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.pp-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: white; }
.pp-tag-free { background: var(--accent-gold); color: var(--deep-navy); }
.pp-hero h1 { color: white; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; overflow-wrap: anywhere; }
.pp-anchor { font-weight: 600; color: var(--accent-gold-light); margin-bottom: 1rem; }
.pp-desc { color: rgba(255, 255, 255, 0.85); max-width: 760px; margin-bottom: 1rem; }
.pp-position { font-style: italic; color: rgba(255, 255, 255, 0.75); max-width: 760px; margin-bottom: 1.75rem; }
.pp-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.pp-facts { max-width: 1100px; margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pp-facts div { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; padding: 1rem 1.25rem; }
.pp-facts dt { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: white; line-height: 1.1; }
.pp-facts dd { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }

.pp-section { width: min(1100px, 90%); margin: 0 auto; padding: 3.5rem 0 0; }
.pp-section h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.75rem; }
.pp-section h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.pp-section-lead { color: var(--steel); margin-bottom: 1.5rem; }
.pp-small { font-size: 0.9rem; color: var(--steel); margin-top: 1rem; }
.pp-small a, .pp-section p a { color: var(--accent-blue-text); }

.pp-editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.pp-edition { border: 1px solid var(--pearl); border-radius: 16px; padding: 1.75rem; background: white; display: flex; flex-direction: column; gap: 0.75rem; }
.pp-edition.featured { border-color: var(--accent-blue); box-shadow: 0 8px 30px rgba(26, 42, 74, 0.08); }
.pp-edition-tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: var(--accent-blue-text); }
.pp-price { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--deep-navy); line-height: 1.2; }
.pp-price span { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--steel); }
.pp-edition-lead { color: var(--steel); }
.pp-edition-action { margin-top: auto; padding-top: 0.5rem; }
.pp-edition-action .btn { width: 100%; justify-content: center; }

.pp-ticks { list-style: none; display: grid; gap: 0.5rem; }
.pp-ticks li { position: relative; padding-left: 1.6rem; font-size: 0.97rem; }
.pp-ticks li::before { content: ''; position: absolute; left: 0.2rem; top: 0.45rem; width: 0.45rem; height: 0.8rem; border: solid var(--accent-blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pp-ticks a { color: var(--accent-blue-text); }

.pp-files { margin-top: 1.5rem; border: 1px solid var(--pearl); border-radius: 12px; padding: 1rem 1.25rem; background: white; }
.pp-files summary { cursor: pointer; font-weight: 600; color: var(--deep-navy); }
.pp-files-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.pp-files h4 { margin-bottom: 0.5rem; color: var(--deep-navy); }
.pp-files ul { list-style: none; display: grid; gap: 0.25rem; }
.pp-files code { font-size: 0.82rem; overflow-wrap: anywhere; }

.pp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.pp-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.pp-counts div { border: 1px solid var(--pearl); border-radius: 12px; padding: 0.9rem; background: white; text-align: center; }
.pp-counts dt { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--deep-navy); }
.pp-counts dd { font-size: 0.85rem; color: var(--steel); }
.pp-principles { padding-left: 1.25rem; display: grid; gap: 0.25rem; }
.pp-standards { display: grid; gap: 1rem; }
.pp-standards dt { font-weight: 700; color: var(--deep-navy); }
.pp-standards ul { padding-left: 1.1rem; }
.pp-links { padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.pp-links a { color: var(--accent-blue-text); }

.pp-faq { display: grid; gap: 0.75rem; }
.pp-faq details { border: 1px solid var(--pearl); border-radius: 12px; padding: 1rem 1.25rem; background: white; }
.pp-faq summary { cursor: pointer; font-weight: 600; color: var(--deep-navy); }
.pp-faq p { margin-top: 0.75rem; color: var(--slate); }

.pp-cta { text-align: center; }
.pp-cta p { color: var(--steel); margin-bottom: 1.25rem; }
.pp-disclaimer { padding-bottom: 3.5rem; }
.pp-disclaimer p { font-size: 0.85rem; color: var(--steel); border-top: 1px solid var(--pearl); padding-top: 1.5rem; }

@media (max-width: 768px) {
    .pp-facts, .pp-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-hero { padding-top: 6.5rem; }
}

/* Standards we trace (/standards) */
.std-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.std-jump a { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--pearl); background: white; border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.88rem; color: var(--deep-navy); text-decoration: none; }
.std-jump i, .std-family i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.std-family { display: flex; align-items: center; gap: 0.6rem; margin-top: 2.5rem; scroll-margin-top: 90px; }
.std-family span { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--steel); font-weight: 400; }
.std-list { list-style: none; display: grid; gap: 0.6rem; margin-top: 1rem; }
.std-list li { background: white; border: 1px solid var(--pearl); border-radius: 12px; padding: 0.85rem 1.1rem; scroll-margin-top: 90px; }
.std-list li:target { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(58, 159, 213, 0.15); }
.std-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.std-head strong { color: var(--deep-navy); }
.std-kind { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--steel); font-weight: 600; }
.std-list p { font-size: 0.93rem; color: var(--slate); margin-top: 0.25rem; }
.std-list a, .pp-standards a { color: var(--accent-blue-text); }
.pp-edition h3 { font-size: 1.3rem; }
.pp-edition h3 a { color: var(--deep-navy); text-decoration: none; }
.pp-edition h3 a:hover { color: var(--accent-blue-text); }
