/* ==========================================================================
   Subpages — shared layout matching homepage (Pulse, Calculators, etc.)
   ========================================================================== */

.subpage-hero {
    position: relative;
    padding: clamp(3rem, 7vw, 5rem) var(--content-space);
    background:
        linear-gradient(115deg, rgba(20, 24, 22, 0.96) 0%, rgba(30, 36, 32, 0.92) 50%, rgba(42, 48, 44, 0.88) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(198, 184, 39, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 12% 80%, rgba(248, 125, 8, 0.06) 0%, transparent 38%);
    pointer-events: none;
}

.subpage-hero-inner {
    position: relative;
    z-index: 1;
    text-align: left;
}

.subpage-hero .hero-accent {
    width: 48px;
    height: 3px;
    background: var(--brand-accent);
    margin-bottom: 1.25rem;
}

.subpage-hero-title {
    color: var(--text-inverse);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}

.subpage-hero-tagline {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 36rem;
}

.subpage-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.subpage-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.subpage-hero-meta .refresh-note,
.subpage-hero-meta .last-updated {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

.subpage-section {
    position: relative;
    padding-block: var(--section-space);
}
