/*
 * The Founder's Special header bar (Views/Shared/_PromoBar.cshtml), shared by the home page and /founders-special so
 * the two always match. It stands on its own: font, line height and box sizing are set here, not taken from either
 * page. The button shows at every width.
 */
.fsbar {
    box-sizing: border-box;
    background: #060922;
    border-bottom: 1px solid #1b2455;
    color: #b3bbe0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}
.fsbar *, .fsbar *::before { box-sizing: border-box; }
.fsbar::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #337cf6, #a855f7); }

.fsbar a.fsbar-inner,
.fsbar a.fsbar-inner:hover {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 26px 24px 28px;
    color: #b3bbe0;
    text-decoration: none;
}
.fsbar a.fsbar-inner:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.fsbar-copy { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 0; }
.fsbar-lead { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; line-height: 1.25; }
.fsbar .fsbar-lead strong { color: #f2f4ff; font-size: 28px; font-weight: 800; }
.fsbar-clock { color: #8f8dff; font-size: 38px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fsbar-facts { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 2px; font-size: 17px; line-height: 1.55; }
.fsbar-facts span { white-space: nowrap; }
.fsbar .fsbar-facts b { color: #f2f4ff; font-weight: 700; }

.fsbar-cta {
    flex: 0 0 auto;
    padding: 19px 38px;
    border-radius: 999px;
    background: linear-gradient(90deg, #337cf6, #a855f7);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    animation: fsbar-pulse 2.6s ease-in-out 3.2s infinite;
}
.fsbar a.fsbar-inner:hover .fsbar-cta, .fsbar a.fsbar-inner:focus-visible .fsbar-cta { filter: brightness(1.1); }

/* The home page: the bar starts collapsed and slides down about two seconds after the page loads. */
.fsbar-slide { overflow: hidden; max-height: 0; opacity: 0; animation: fsbar-drop .7s cubic-bezier(.22, 1, .36, 1) 2s forwards; }

@media (max-width: 900px) {
    .fsbar a.fsbar-inner, .fsbar a.fsbar-inner:hover { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 18px; padding-bottom: 20px; text-align: center; }
    .fsbar-lead, .fsbar-facts { justify-content: center; }
    .fsbar .fsbar-lead strong { font-size: 21px; }
    .fsbar-clock { flex-basis: 100%; font-size: 36px; }
    .fsbar-facts { font-size: 15px; column-gap: 16px; }
    .fsbar-cta { display: block; width: 100%; padding: 17px 14px; font-size: 19px; }
}

@media (max-width: 600px) {
    .fsbar a.fsbar-inner, .fsbar a.fsbar-inner:hover { padding-left: 18px; padding-right: 18px; }
}

@keyframes fsbar-drop { from { max-height: 0; opacity: 0; } to { max-height: 400px; opacity: 1; } }
@keyframes fsbar-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(35, 70, 230, .45); } 60% { box-shadow: 0 0 0 10px rgba(35, 70, 230, 0); } }

@media (prefers-reduced-motion: reduce) {
    .fsbar-slide { animation: none; max-height: none; opacity: 1; }
    .fsbar-cta { animation: none; }
}
