body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #dceaf4;
    color: #12384d;
}
a { color: inherit; }

.bs-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, #dfeef8 0%, #cfe4f2 100%);
}
.bs-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 10%, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.22) 22%, rgba(255,255,255,0) 46%),
        linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 100%);
    pointer-events: none;
}
.bs-hero-inner,
.bs-app-shell {
    width: min(calc(100% - 2rem), 1240px);
    margin: 0 auto;
}
.bs-hero-inner {
    position: relative;
    z-index: 1;
    padding: 0.8rem 0 4.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.bs-logo-stage {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
}
.bs-hero-logo {
    width: min(94vw, 940px);
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 34px rgba(12, 44, 70, 0.16));
    animation: bsHeroFade 1.1s ease-out forwards;
    opacity: 0;
}
@keyframes bsHeroFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.bs-copy {
    width: min(100%, 1180px);
    text-align: center;
    margin-top: 0.55rem;
}
h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #113d59;
}
.bs-copy > p,
.bs-app-copy p,
.bs-app-card p,
.bs-app-card li {
    line-height: 1.5;
    color: #20465d;
}
.bs-copy > p {
    max-width: 1120px;
    margin: 0 auto;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}
.bs-choice-grid {
    margin-top: 2.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: min(100%, 1140px);
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}
.bs-choice-card,
.bs-app-card,
.bs-app-home-link {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 111, 144, 0.16);
    box-shadow: 0 16px 34px rgba(12, 44, 70, 0.10);
    backdrop-filter: blur(10px);
}
.bs-choice-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
    text-decoration: none;
    padding: 1.25rem 1.3rem;
    border-radius: 24px;
    color: #12384d;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    transform-origin: center;
    height: 100%;
    box-sizing: border-box;
}
.bs-choice-card:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 22px 44px rgba(12, 44, 70, 0.16), 0 0 22px rgba(47, 111, 144, 0.10);
    border-color: rgba(47, 111, 144, 0.28);
    background: rgba(255, 255, 255, 0.84);
}
.bs-choice-card:active {
    transform: scale(0.995);
    box-shadow: 0 10px 18px rgba(12, 44, 70, 0.12);
}
.bs-choice-kicker,
.bs-app-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2f6f90;
}
.bs-choice-card strong,
.bs-app-card h2,
.bs-app-header h1 {
    font-size: 1.28rem;
    line-height: 1.15;
    color: #113d59;
    margin: 0;
}
.bs-choice-card span:not(.bs-choice-kicker) {
    font-size: 0.98rem;
    line-height: 1.45;
    color: #2a5167;
}
.bs-choice-card em,
.bs-app-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: auto;
    padding: 0.75rem 1.25rem;
    background: #113d59;
    color: #ffffff;
    border-radius: 14px;
    font-style: normal;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.bs-choice-card:hover em {
    background: #2f6f90;
    box-shadow: 0 4px 12px rgba(17, 61, 89, 0.15);
}
.bs-choice-card em::after,
.bs-app-home-link::after {
    content: "→";
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}
.bs-choice-card:hover em::after {
    transform: translateX(4px);
}
.bs-app-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #dfeef8 0%, #dceaf4 100%);
}
.bs-app-shell {
    padding: 2rem 0 3rem;
}
.bs-app-topbar {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.bs-app-home-link {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    margin-top: 0;
}
.bs-app-header {
    max-width: 900px;
    margin: 0 auto 0.75rem;
    text-align: center;
    --bs-app-header-avoid-left: 0px;
    --bs-app-header-avoid-right: 0px;
    padding-left: var(--bs-app-header-avoid-left);
    padding-right: var(--bs-app-header-avoid-right);
    transition: padding 0.2s ease;
}
.bs-app-header h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin: 0.25rem 0 0.65rem;
}
.bs-app-copy {
    max-width: 940px;
    margin: 0.4rem auto 0;
    text-align: center;
}
.bs-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.2rem;
    align-items: start;
}
.bs-app-card {
    padding: 1.35rem 1.25rem;
    border-radius: 24px;
    box-sizing: border-box;
    overflow: hidden;
}
.bs-app-card h2 {
    margin: 0 0 0.75rem;
}
.bs-app-card ul {
    margin: 0;
    padding-left: 1.1rem;
}
.bs-app-card li + li {
    margin-top: 0.55rem;
}
.bs-app-highlight {
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.66);
    border: 1px solid rgba(47,111,144,0.14);
    box-sizing: border-box;
    word-break: break-word;
}
.bs-app-card p,
.bs-app-card li,
.bs-app-card strong {
    word-break: break-word;
    overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
    .bs-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 800px);
    }
}
@media (max-width: 900px) {
    .bs-hero-inner,
    .bs-app-shell {
        width: min(calc(100% - 1.5rem), 1240px);
    }
    .bs-hero-inner {
        padding: 0.7rem 0 4rem;
    }
    .bs-hero-logo {
        width: min(96vw, 860px);
    }
    .bs-copy {
        margin-top: 0.85rem;
    }
    h1 {
        font-size: clamp(2.1rem, 7.8vw, 3.5rem);
        line-height: 1.08;
    }
    .bs-copy > p {
        font-size: 1rem;
        max-width: 44rem;
    }
    .bs-choice-grid,
    .bs-app-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .bs-hero-inner {
        padding: 0.55rem 0 3.3rem;
    }
    .bs-hero-logo {
        width: min(98vw, 760px);
    }
    .bs-copy {
        margin-top: 0.95rem;
    }
    h1 {
        margin-bottom: 0.85rem;
        font-size: clamp(1.7rem, 7vw, 2.75rem);
        line-height: 1.1;
        letter-spacing: -0.02em;
    }
    .bs-copy > p {
        font-size: 0.98rem;
        line-height: 1.42;
        padding: 0 0.2rem;
    }
    .bs-choice-grid {
        margin-top: 1.65rem;
    }
    .bs-choice-card,
    .bs-app-card {
        padding: 1.1rem 1.05rem;
        border-radius: 20px;
    }
    .bs-choice-card em {
        width: 100%;
        box-sizing: border-box;
        margin-top: 1rem;
    }
    .bs-choice-card strong,
    .bs-app-card h2 {
        font-size: 1.14rem;
    }
    .bs-app-shell {
        padding: 1.3rem 0 2.2rem;
    }
    .bs-app-header h1 {
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }
}


.bs-choice-grid--apps {
    margin-top: 1.8rem;
}

.bs-app-shell {
    position: relative;
}

.bs-app-back-button {
    position: fixed;
    top: max(0.9rem, calc(env(safe-area-inset-top, 0px) + 0.55rem));
    left: max(0.9rem, calc(env(safe-area-inset-left, 0px) + 0.55rem));
    width: 3.15rem;
    height: 3.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: #113d59;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(47, 111, 144, 0.20);
    box-shadow: 0 12px 26px rgba(12, 44, 70, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    opacity: 1;
}

.bs-app-back-button svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.bs-app-back-button path {
    fill: none;
    stroke: #113d59;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bs-app-back-button:hover {
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 16px 32px rgba(12, 44, 70, 0.18);
    transform: translateY(-1px);
}

.bs-app-back-button:active {
    transform: scale(0.96);
}

.bs-app-back-button.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
}

.bs-app-back-button.is-peek {
    opacity: 0.82;
}

.bs-app-header {
    padding-top: 0.05rem;
}

.bs-app-header h1 {
    margin-top: 0;
}

@media (max-width: 640px) {
    .bs-app-back-button {
        width: 3rem;
        height: 3rem;
        top: max(0.7rem, calc(env(safe-area-inset-top, 0px) + 0.35rem));
        left: max(0.7rem, calc(env(safe-area-inset-left, 0px) + 0.35rem));
    }

    .bs-choice-grid--apps {
        margin-top: 1.5rem;
    }
}
