/* ─────────────────────────────────────────────────────────────────────────────
   Aegis SiteHost — minimal public-delivery stylesheet (SITE-1).
   Deliberately decoupled from Bridge admin CSS: delivered pages link ONLY this
   file + the Cms.Web RCL content stylesheet (aegis-cms.css). Brand-neutral;
   per-tenant theming (design tokens) lands in SITE-3 on top of this baseline.
   ───────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1f2430;
    background: #ffffff;
}

img, video { max-width: 100%; height: auto; }

a { color: #24547a; }
a:hover { color: #17364f; }

.site-main {
    max-width: 56rem;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

/* ── SITE-2 delivered chrome ────────────────────────────────────────────────
   Neutral placeholder only. Per-tenant design tokens land in SITE-3 and layer
   on top of these selectors; nothing here encodes a brand.
   ───────────────────────────────────────────────────────────────────────── */

.site-header {
    border-bottom: 1px solid #e3e7ee;
    background: #ffffff;
}

.site-header-inner,
.site-footer-inner {
    max-width: 56rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.site-wordmark {
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    color: #1f2430;
    margin-right: auto;
}

.site-nav-list,
.site-nav-dropdown,
.site-footer-list,
.site-social {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.site-nav-item { position: relative; }

.site-nav-link,
.site-nav-sublink,
.site-footer-link,
.site-social-link {
    text-decoration: none;
}
.site-nav-link:hover,
.site-nav-sublink:hover,
.site-footer-link:hover,
.site-social-link:hover { text-decoration: underline; }

.site-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 11rem;
    padding: 0.5rem 0;
    border: 1px solid #e3e7ee;
    border-radius: 0.375rem;
    background: #ffffff;
    box-shadow: 0 0.5rem 1rem rgba(31, 36, 48, 0.08);
}

.site-nav-item-parent:hover > .site-nav-dropdown,
.site-nav-item-parent:focus-within > .site-nav-dropdown { display: block; }

.site-nav-subitem > .site-nav-sublink {
    display: block;
    padding: 0.375rem 1rem;
    white-space: nowrap;
}

.site-cta {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #24547a;
    border-radius: 0.375rem;
    background: #24547a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}
.site-cta:hover { background: #17364f; color: #ffffff; }

.site-footer {
    border-top: 1px solid #e3e7ee;
    background: #f7f9fb;
    color: #5b6472;
}

.site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.site-footer-wordmark {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2430;
}

.site-footer-list,
.site-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer-text {
    margin: 0;
    font-size: 0.875rem;
}

/* ── styled 404 ─────────────────────────────────────────────────────────── */

.site-notfound {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    text-align: center;
}

.site-notfound-card { max-width: 26rem; }

.site-notfound-code {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #9aa3b2;
}

.site-notfound h1 {
    margin: 0.25rem 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.site-notfound-hint { color: #5b6472; }

.site-notfound-home {
    display: inline-block;
    margin-top: 0.5rem;
    text-decoration: none;
    border: 1px solid #c9d1dc;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
}
.site-notfound-home:hover { background: #f3f5f8; }
