/* Shared marketing header, founding banner, and pricing sub-navigation.
   Loaded on every page from /assets/site-chrome.css. Not a Tailwind build,
   so the chrome cannot drift when a page uses a different stylesheet. */

.site-chrome {
    position: sticky;
    top: 0;
    z-index: 80;
    background: #003366;
    color: #eff6ff;
    font-family: Inter, system-ui, sans-serif;
}

.site-chrome-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 88px;
    padding: 10px 20px;
}

.site-chrome-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}

.site-chrome-logo img {
    display: block;
    height: 64px;
    width: auto;
}

.site-chrome-nav {
    display: none;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.site-chrome-link,
.site-chrome-item > button,
.site-chrome-mobile > a,
.site-chrome-mobile .site-chrome-item > button {
    color: #dbeafe;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 2px;
    border-radius: 6px;
    cursor: pointer;
}

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

.site-chrome-item > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-chrome-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    display: inline-block;
}

.site-chrome button[aria-expanded="true"] .site-chrome-caret {
    transform: rotate(180deg);
}

.site-chrome-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    color: #0f172a;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 20, 40, 0.18);
    padding: 8px;
    z-index: 5;
}

.site-chrome-panel[hidden] {
    display: none !important;
}

.site-chrome-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #0f172a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.site-chrome-panel a:hover,
.site-chrome-panel a:focus-visible {
    background: #e7f6ef;
    color: #003366;
}

.site-chrome-demo,
.site-chrome-mobile > a.site-chrome-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00a36c;
    color: #fff !important;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 16px;
    border-radius: 6px;
    margin-left: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.site-chrome-demo:hover {
    background: #008f5d;
}

.site-chrome-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    padding: 8px 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.site-chrome-mobile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 20px 18px;
}

.site-chrome-mobile[hidden] {
    display: none !important;
}

.site-chrome-mobile > a,
.site-chrome-mobile > .site-chrome-item > button {
    text-align: left;
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
}

.site-chrome-mobile .site-chrome-item > button {
    justify-content: space-between;
}

.site-chrome-mobile .site-chrome-panel {
    position: static;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 8px 12px;
}

.site-chrome-mobile .site-chrome-panel a {
    color: #dbeafe;
    padding: 8px 0;
}

.site-chrome-mobile .site-chrome-panel a:hover,
.site-chrome-mobile .site-chrome-panel a:focus-visible {
    background: transparent;
    color: #fff;
}

.site-chrome-mobile .site-chrome-demo {
    margin: 10px 0 0;
}

.site-chrome a:focus-visible,
.site-chrome button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.site-chrome-panel a:focus-visible {
    outline-color: #003366;
}

.site-chrome-banner {
    background: #001428;
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    padding: 8px 16px;
    text-align: center;
}

.site-chrome-banner p {
    margin: 0;
    white-space: nowrap;
}

.site-chrome-banner a {
    color: #6ee7b7;
    font-weight: 800;
}

.site-chrome-banner a:hover {
    color: #d1fae5;
}

.site-chrome-banner a:focus-visible {
    outline: 2px solid #6ee7b7;
    outline-offset: 3px;
}

.site-chrome-subnav {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-family: Inter, system-ui, sans-serif;
}

.site-chrome-subnav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.site-chrome-subnav a {
    color: #003366;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.site-chrome-subnav a:hover {
    text-decoration: underline;
}

.site-chrome-subnav a:focus-visible {
    outline: 2px solid #003366;
    outline-offset: 3px;
}

.site-chrome-footer-link {
    font-weight: 700;
    text-decoration: none;
}

.site-chrome-footer-link:hover {
    text-decoration: underline;
}

.site-chrome-footer-link:focus-visible {
    outline: 2px solid #003366;
    outline-offset: 3px;
}

.site-chrome-fallback-footer {
    padding: 28px 16px;
    text-align: center;
    font-family: Inter, system-ui, sans-serif;
    border-top: 1px solid #e2e8f0;
}

@media (min-width: 1100px) {
    .site-chrome-nav {
        display: flex;
    }

    .site-chrome-menu-btn,
    .site-chrome-mobile {
        display: none !important;
    }
}

@media (max-width: 1099px) {
    .site-chrome-logo img {
        height: 48px;
    }

    .site-chrome-bar {
        min-height: 72px;
    }
}

@media (max-width: 719px) {
    .site-chrome-banner p {
        white-space: normal;
    }

    .site-chrome-banner {
        font-size: 13px;
    }
}
