/* =========================================================
   STATIC INFO PAGES
   Used by:
   - templates/static_pages/about.html
   - templates/static_pages/security.html
   - templates/static_pages/privacy.html
   - templates/static_pages/terms.html
   - templates/static_pages/disclosures.html
   ========================================================= */

.static-info-page {
    padding-block: 2rem 3rem;
}

.static-hero,
.static-panel,
.static-card {
    border: 1px solid color-mix(in oklab, var(--primary, #f97316) 24%, var(--border, #2a2a2a));
    background: var(--panel-grad, color-mix(in oklab, var(--surface-1, #020617) 90%, transparent));
    color: var(--text, #e5e7eb);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .22);
}

.static-hero {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: 1.25rem;
}

.static-hero-main {
    min-width: 0;
}

.static-eyebrow {
    margin: 0 0 .35rem;
    color: var(--primary, #f97316);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.static-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.static-hero-copy {
    max-width: 760px;
    margin: .75rem 0 0;
    color: var(--muted, #9ca3af);
    line-height: 1.6;
}

.static-hero-icon {
    width: 92px;
    height: 92px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: color-mix(in oklab, var(--primary, #f97316) 18%, transparent);
    color: var(--primary, #f97316);
    font-size: 2.4rem;
}

.static-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.static-card-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.static-card,
.static-panel {
    border-radius: 20px;
    padding: 1.25rem;
}

.static-panel {
    margin-bottom: 1rem;
}

.static-card h2,
.static-panel h2 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .65rem;
    line-height: 1.2;
}

.static-card h2 i,
.static-panel h2 i {
    color: var(--primary, #f97316);
}

.static-card p,
.static-panel p,
.static-card li,
.static-panel li {
    color: var(--muted, #9ca3af);
    line-height: 1.55;
}

.static-card p:last-child,
.static-panel p:last-child {
    margin-bottom: 0;
}

.static-card ul,
.static-panel ul {
    margin: .5rem 0 0;
    padding-left: 1.25rem;
}

.static-card li,
.static-panel li {
    margin: .35rem 0;
}

.static-muted-note {
    color: var(--muted, #9ca3af);
    font-size: .92rem;
}

.static-action {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .75rem;
    padding: .7rem .9rem;
    border-radius: 999px;

    background: var(--hdr-btn-grad, linear-gradient(180deg, #f97316, #fb923c));
    color: #fff;
    border: 1px solid var(--hdr-btn-border, color-mix(in oklab, #000 18%, transparent));
    box-shadow: var(--hdr-btn-shadow, 0 10px 22px rgba(249,115,22,.25), 0 1px 0 rgba(0,0,0,.18));

    font-weight: 800;
    text-decoration: none;
}

.static-action:hover {
    filter: brightness(.96);
    text-decoration: none;
}

.static-action i {
    color: inherit !important;
}

.static-divider {
    height: 1px;
    margin: 1rem 0;
    background: color-mix(in oklab, var(--primary, #f97316) 16%, var(--border, #2a2a2a));
}

@media (max-width: 900px) {
    .static-hero {
        align-items: flex-start;
    }

    .static-hero-icon {
        display: none;
    }

    .static-card-grid,
    .static-card-grid.two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .static-info-page {
        padding-block: 1.25rem 2rem;
    }

    .static-hero,
    .static-card,
    .static-panel {
        padding: 1rem;
        border-radius: 18px;
    }
}

/* =========================================================
   LEGACY FOOTER CLEANUP
   Old schedule pages used .company-footer before the global
   base.html footer existed. Hide it everywhere now.
   ========================================================= */

.company-footer {
    display: none !important;
}

/* =========================================================
   GLOBAL SITE FOOTER SAFETY OVERRIDES
   Keeps the real base.html footer visible on schedule pages.
   ========================================================= */

.site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;

    width: 100% !important;
    padding: 2rem clamp(.75rem, 1.4vw, 1.5rem) calc(1.5rem + env(safe-area-inset-bottom)) !important;
    color: var(--text, #e5e7eb);
}

.site-footer-inner {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 1.35rem clamp(1rem, 2vw, 2rem) !important;
}

.site-footer-logo img {
    width: clamp(150px, 16vw, 230px) !important;
    height: auto !important;
    max-height: 78px !important;
    object-fit: contain !important;
}

body.is-embed .site-footer {
    display: block !important;
}