﻿body {
}
/* ==========================================================================
   AERO™ COMMAND-CENTER DESIGN SYSTEM (DARK THEME)
   ========================================================================== */

/* Full-bleed canvas background */
.aero-canvas {
    background: #060a12;
    background: radial-gradient(circle at 50% 0%, #0f1d36 0%, #060a12 75%);
    color: #f8fafc;
    min-height: 100vh;
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

/* Hero Badge */
.aero-pill-badge {
    background: rgba(200, 80, 192, 0.12);
    border: 1px solid rgba(200, 80, 192, 0.45);
    color: #e879f9;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
}

/* Gradient Hero Heading */
.aero-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, #00c9b1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Structural Dark Containers */
.aero-executive-card {
    background: #0b1322;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.aero-glow-card {
    background: #0b1322;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .aero-glow-card:hover {
        border-color: #00c9b1;
        box-shadow: 0 12px 35px rgba(0, 201, 177, 0.14);
        transform: translateY(-4px);
    }

/* High-Contrast Body & Description Typography */
.aero-canvas .text-muted {
    color: #94a3b8 !important;
}

.aero-desc-text {
    color: #cbd5e1 !important;
    font-size: 0.88rem;
    line-height: 1.65;
}

    .aero-desc-text strong {
        color: #ffffff !important;
    }

/* Math & Formula Pill */
.math-pill {
    background: #050912;
    border-left: 3px solid #00c9b1;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    color: #38bdf8;
    font-size: 0.85rem;
    margin-top: 14px;
}

/* High-Contrast Matrix Table */
.matrix-table {
    background: #0b1322;
    border: 1px solid #1e293b;
    border-radius: 12px;
    overflow: hidden;
}

    .matrix-table th {
        background: #111c30;
        color: #94a3b8;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        padding: 14px 16px;
        border-bottom: 1px solid #1e293b;
    }

    .matrix-table td {
        padding: 16px;
        border-bottom: 1px solid #152238;
        color: #cbd5e1;
        font-size: 0.88rem;
    }

    .matrix-table tr:last-child td {
        border-bottom: none;
    }

/* Lifecycle step boxes */
.phase-timeline-node {
    background: #070d18;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

    .phase-timeline-node p {
        color: #cbd5e1 !important;
        font-size: 0.88rem;
        line-height: 1.65;
    }

/* Standard Call to Action Buttons */
.btn-aero-primary {
    background: linear-gradient(135deg, #00c9b1 0%, #0284c7 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 201, 177, 0.25);
    transition: all 0.25s ease;
}

    .btn-aero-primary:hover {
        box-shadow: 0 6px 22px rgba(0, 201, 177, 0.4);
        transform: translateY(-2px);
    }

/* Shared public-AERO page shell: use for every checked public menu page. */
.wz-public-shell,
.aero-canvas,
.wz-book {
    width: 100%;
    min-height: calc(100vh - 70px);
    padding-top: 1.5rem !important;
    padding-bottom: 5rem !important;
}

.wz-public-shell > .container,
.aero-canvas > .container,
.wz-book > .container,
.legal-page > .container {
    width: 100% !important;
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wz-public-page-header {
    max-width: 1140px;
    margin: 0 auto 3rem;
    text-align: center;
}

.wz-public-page-header h1,
.aero-canvas h1.aero-hero-title,
.wz-book h1,
.wz-public-shell:not(.legal-page) h1 {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* Shared public-AERO refinements: keep this file as the source of truth for marketing and public pages. */
.aero-canvas {
    max-width: none;
}

.aero-canvas > .container {
    width: 100%;
    max-width: 1140px !important;
}

.aero-card {
    position: relative;
    background: #0b1322;
    border: 1.5px solid #1e3a5f;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    padding: 2.5rem 2.25rem;
}

.aero-card-accent::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8 0%, #00c9b1 50%, #a855f7 100%);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.aero-header-biline {
    max-width: 860px;
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
}

.aero-hero-title {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.aero-hero-title.aero-section-heading {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.aero-card-heading {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
}

.aero-canvas {
    padding-top: 1.5rem;
}

.aero-canvas > .container {
    padding-top: 0;
}

.aero-pill-badge {
    background: rgba(200, 80, 192, 0.15);
    border: 1px solid rgba(200, 80, 192, 0.5);
    color: #f472b6;
}

.aero-executive-card,
.matrix-table {
    border: 1.5px solid #1e3a5f;
}

.aero-glow-card {
    border: 1.5px solid #1e3a5f;
}

.aero-glow-card:hover {
    box-shadow: 0 12px 35px rgba(0, 201, 177, 0.18);
}

.attribution-seal {
    background: rgba(15, 23, 42, 0.95);
    border: 1.5px solid #0284c7;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.2);
}

.svg-vector-container {
    background: #080e1a;
    border: 1.5px solid #1e3a5f;
    border-radius: 16px;
    padding: 24px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6), 0 12px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.svg-vector-container svg {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

[data-diagram] img,
[data-diagram] svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.matrix-table th {
    color: #ffffff;
    border-bottom: 1.5px solid #1e3a5f;
}

.shield-closeup {
    width: 260px;
    height: 260px;
    border-radius: 16px;
    border: 1px solid #1e3a5f;
    background-image: url("/assets/img/hand-a.svg?v=16");
    background-repeat: no-repeat;
    background-size: 978px 489px;
    background-position: -359px -108px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.mission-step {
    height: 100%;
    background: linear-gradient(160deg, #0d192b, #0a111d);
    border: 1px solid #203552;
    border-radius: 14px;
    padding: 1.35rem;
}

.mission-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(0, 201, 177, 0.13);
    border: 1px solid rgba(0, 201, 177, 0.55);
    color: #5eead4;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.mission-step h3 {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
}

.mission-step p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.mission-step .mission-outcome {
    color: #94a3b8;
    font-size: 0.82rem;
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid #1e293b;
}

.mission-note {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: #cbd5e1;
}

.aero-evidence-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.aero-evidence-state {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 9999px;
    border: 1px solid #334155;
    background: #0b1322;
    color: #e2e8f0;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

.aero-evidence-state--verified { border-color: rgba(16, 185, 129, 0.65); color: #6ee7b7; }
.aero-evidence-state--estimated { border-color: rgba(245, 158, 11, 0.65); color: #fcd34d; }
.aero-evidence-state--attested { border-color: rgba(56, 189, 248, 0.65); color: #7dd3fc; }
.aero-evidence-state--accepted { border-color: rgba(168, 85, 247, 0.65); color: #d8b4fe; }
.aero-evidence-state--open { border-color: rgba(248, 113, 113, 0.65); color: #fecaca; }
.aero-evidence-state--not-measured { border-color: rgba(148, 163, 184, 0.65); color: #cbd5e1; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .aero-hero-title,
    .wz-public-shell:not(.legal-page) h1 {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* Journey diagram and home-page bands */
.home-band { padding: 3.5rem 0; background: radial-gradient(circle at 50% 0%, #0f1d36 0%, #060a12 75%); }
.home-lede { max-width: 820px; color: #cbd5e1; line-height: 1.7; }

.home-sector { border: 1px solid #38bdf8; border-radius: 9999px; padding: 4px 12px; font-size: 0.85rem; color: #7dd3fc; }
.home-sector:hover, .home-sector:focus-visible { background: rgba(56, 189, 248, 0.15); color: #ffffff; text-decoration: none; }

.home-step { align-self: flex-start; border: 1px solid #334155; border-radius: 9999px; padding: 2px 10px; font-size: 0.72rem; font-weight: 700; color: #7dd3fc; text-transform: uppercase; }

.home-evidence { height: 100%; background: #0b1322; border: 1px solid #1e293b; border-radius: 12px; padding: 16px; }
.home-evidence p { margin: 10px 0 0; font-size: 0.88rem; color: #cbd5e1; }

/* The site-wide li margin would push the fourth card onto its own row */
.aero-journey-list > li { margin-left: 0; padding-bottom: 0; }

.aero-journey-step { display: flex; flex-direction: column; height: 100%; background: #0b1322; border: 1px solid #1e3a5f; border-radius: 14px; padding: 20px; }
.aero-journey-step--planned { border-style: dashed; }
.aero-journey-step .mission-step-number { margin-bottom: 0; }
.aero-journey-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 12px; }
.aero-journey-step h3 { font-size: 1.05rem; font-weight: 700; color: #ffffff; }
.aero-journey-step p { font-size: 0.88rem; line-height: 1.6; color: #cbd5e1; }
.aero-journey-receive { margin-top: auto; padding-top: 10px; border-top: 1px solid #1e293b; }
.aero-journey-step .aero-journey-gate { margin-bottom: 0; color: #94a3b8; }

.aero-status { border-radius: 9999px; border: 1px solid #334155; padding: 2px 10px; font-size: 0.72rem; font-weight: 700; }
.aero-status--available { border-color: rgba(16, 185, 129, 0.65); color: #6ee7b7; }
.aero-status--planned { border-color: rgba(245, 158, 11, 0.65); color: #fcd34d; }
.aero-status--optional { border-color: rgba(56, 189, 248, 0.65); color: #7dd3fc; }

@media print {
    html, body, #main-wrapper, .aero-canvas {
        background: #ffffff !important;
        color: #111827 !important;
    }

    .aero-canvas {
        padding: 0;
    }

    .aero-canvas *:not(svg, svg *) {
        background: transparent !important;
        color: #111827 !important;
        -webkit-text-fill-color: #111827 !important;
        box-shadow: none !important;
    }

    .aero-canvas .svg-vector-container {
        background: #060a12 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media (max-width: 575.98px) {
    .wz-public-shell,
    .aero-canvas,
    .wz-book {
        min-height: calc(100vh - 70px);
        padding-top: 1.25rem !important;
        padding-bottom: 3rem !important;
    }

    .wz-public-shell > .container,
    .aero-canvas > .container,
    .wz-book > .container,
    .legal-page > .container {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .aero-canvas > .container {
        max-width: 100% !important;
        padding-left: 16px;
        padding-right: 16px;
    }

    .aero-card,
    .aero-executive-card,
    .aero-glow-card,
    .svg-vector-container,
    .matrix-table {
        border-radius: 12px;
    }

    .aero-card,
    .aero-executive-card,
    .aero-glow-card {
        padding: 20px;
    }

    .aero-header-biline {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.6;
    }

    .svg-vector-container {
        padding: 12px;
    }

    .svg-vector-container svg {
        min-width: 0;
    }

    .matrix-table th,
    .matrix-table td {
        padding: 12px;
    }

    .shield-closeup {
        width: 220px;
        height: 220px;
    }
}