/* PA-240..244 — shared styling for the public marketing / resource pages.
   Loaded on top of base.css (brand tokens in :root: --navy, --navy-deep,
   --gold, --white). Kept intentionally generic so all five pages reuse it. */

.mkt-main { padding-top: 52px; }

/* Hero */
.mkt-hero {
    background: var(--navy-deep);
    color: var(--white);
    text-align: center;
    padding: 4rem 1.5rem 3.5rem;
}
.mkt-hero h1 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.15;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    max-width: 900px;
    margin: 0 auto;
}
.mkt-hero-lead {
    max-width: 720px;
    margin: 1.5rem auto 0;
    font-size: clamp(1.02rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}
.mkt-hero .mkt-cta-btn { margin-top: 2rem; }

/* Sections */
.mkt-section { padding: 3.75rem 1.5rem; }
.mkt-section-alt { background: var(--grey, #F4F7FC); }
.mkt-container { max-width: 900px; margin: 0 auto; }
.mkt-container-wide { max-width: 1080px; margin: 0 auto; }

.mkt-h2 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    color: var(--navy-deep);
    margin-bottom: 1.25rem;
}
.mkt-h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    color: var(--navy-deep);
    margin: 1.5rem 0 0.5rem;
}
.mkt-prose { font-size: 1.02rem; color: rgba(19, 31, 55, 0.82); line-height: 1.7; }
.mkt-prose + .mkt-prose { margin-top: 1rem; }
.mkt-lead { font-size: 1.12rem; color: var(--navy); font-weight: 500; }

/* Card grids */
.mkt-grid-2, .mkt-grid-3 { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.mkt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mkt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mkt-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 2px 12px rgba(19, 31, 55, 0.07);
    border-top: 3px solid var(--gold);
}
.mkt-card h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 1.12rem; color: var(--navy-deep); margin-bottom: 0.5rem;
}
.mkt-card p { font-size: 0.96rem; color: rgba(19, 31, 55, 0.78); line-height: 1.6; }
.mkt-card-num { color: var(--gold); font-weight: 700; margin-right: 0.35rem; }

/* Lists */
.mkt-list { margin: 1rem 0 0 1.2rem; }
.mkt-list li { margin-bottom: 0.6rem; font-size: 1rem; color: rgba(19, 31, 55, 0.82); line-height: 1.6; }
.mkt-list li strong { color: var(--navy-deep); }

/* Tables */
.mkt-table-wrap { overflow-x: auto; margin-top: 1.25rem; }
.mkt-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.mkt-table thead th {
    background: var(--navy);
    color: var(--white);
    text-align: left;
    padding: 0.7rem 0.9rem;
    font-weight: 600;
}
.mkt-table tbody td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid #e5e9f0;
    color: rgba(19, 31, 55, 0.85);
    vertical-align: top;
}
.mkt-table tbody tr:nth-child(even) { background: rgba(244, 247, 252, 0.6); }
.mkt-table td strong { color: var(--navy-deep); }

/* Checklist (display-only) */
.mkt-checklist { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.mkt-checklist li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    padding: 0.55rem 0; font-size: 1rem; color: rgba(19, 31, 55, 0.85);
    border-bottom: 1px solid #eef1f6;
}
.mkt-checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 18px; height: 18px; margin-top: 2px;
    border: 2px solid var(--gold); border-radius: 4px;
}

/* CTA */
.mkt-cta-row { text-align: center; margin-top: 2rem; }
.mkt-cta-btn {
    display: inline-block;
    background: var(--gold); color: var(--navy-deep);
    font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
    padding: 0.85rem 2rem; border-radius: 6px; text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none; cursor: pointer;
}
.mkt-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(201, 168, 76, 0.35); }
.mkt-cta-section { background: var(--navy); color: var(--white); text-align: center; }
.mkt-cta-section .mkt-h2 { color: var(--gold); }
.mkt-cta-section .mkt-prose { color: rgba(255, 255, 255, 0.85); }

/* Cross-link cards */
.mkt-crosslinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.mkt-crosslink {
    display: block; text-decoration: none;
    background: var(--white); border-radius: 8px; padding: 1.4rem 1.5rem;
    box-shadow: 0 2px 12px rgba(19, 31, 55, 0.07);
    border-left: 3px solid var(--gold);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mkt-crosslink:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(19, 31, 55, 0.12); }
.mkt-crosslink-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.mkt-crosslink-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; color: var(--navy-deep); margin-top: 0.3rem; }

/* Lead-magnet email gate */
.lead-magnet {
    background: var(--navy);
    color: var(--white);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    text-align: center;
    margin-top: 1.5rem;
}
.lead-magnet h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--gold); font-size: 1.3rem; margin-bottom: 0.75rem;
}
.lead-magnet p { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; margin-bottom: 1.25rem; }
.lead-magnet-form {
    display: flex; gap: 0.6rem; max-width: 480px; margin: 0 auto;
    flex-wrap: wrap; justify-content: center;
}
.lead-magnet-form input[type="email"] {
    flex: 1 1 240px;
    padding: 0.7rem 0.9rem; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.25);
    background: var(--white); color: var(--navy); font-size: 0.95rem;
}
.lead-magnet-form button { flex: 0 0 auto; }
.lead-magnet-msg { margin-top: 1rem; font-size: 0.95rem; min-height: 1.2em; }
.lead-magnet-msg.ok { color: #7ed3a8; }
.lead-magnet-msg.err { color: #f0a9a9; }

/* Footer resource link */
.mkt-footer-link { text-align: center; margin-top: 1.5rem; font-size: 0.95rem; }
.mkt-footer-link a { color: var(--navy); font-weight: 600; border-bottom: 1px solid rgba(201, 168, 76, 0.5); text-decoration: none; }
.mkt-footer-link a:hover { color: var(--gold); }

@media (max-width: 768px) {
    .mkt-grid-2, .mkt-grid-3, .mkt-crosslinks { grid-template-columns: 1fr; }
    .mkt-section { padding: 2.75rem 1.25rem; }
}

/* PA-247 follow-up — the sticky navbar (~52px) would otherwise hide the top of
   the Silo Penalties heading when /resources/bqs-scoring/#silo-penalties is
   followed. scroll-margin-top clears it with comfortable spacing. */
#silo-penalties {
    scroll-margin-top: 80px;
}
