/* All styling stays inside the page pattern. No fonts, scripts or remote assets. */
.sfc-jb-page,
.sfc-jb-page * {
    box-sizing: border-box;
}
.sfc-jb-page.wp-block-group {
    --sfc-jb-ink: #163b50;
    --sfc-jb-muted: #486579;
    width: 100%;
    max-width: 1160px;
    margin: 24px auto;
    padding: clamp(22px, 4.5vw, 64px);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #dce9f2;
    border-radius: 32px;
    background: linear-gradient(145deg, #edf8ff 0%, #f4fbfb 44%, #f5f0ff 100%);
    color: var(--sfc-jb-ink);
    font-family: inherit;
    line-height: 1.6;
}
.sfc-jb-page .sfc-jb-hero {
    position: relative;
    padding-bottom: clamp(30px, 4vw, 48px);
}
.sfc-jb-page .sfc-jb-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 230px;
    height: 230px;
    right: -90px;
    top: -105px;
    border: 30px solid #b1e1ed;
    border-radius: 50%;
    opacity: .45;
    pointer-events: none;
}
.sfc-jb-page .sfc-jb-eyebrow {
    display: inline-block;
    margin: 0 0 18px;
    padding: 6px 13px;
    border: 1px solid #b9dde4;
    border-radius: 999px;
    background: #f4ffff;
    color: #20616a;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.sfc-jb-page h1.sfc-jb-title {
    max-width: 900px;
    margin: 0 0 20px;
    color: var(--sfc-jb-ink);
    font-size: clamp(34px, 4.7vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.sfc-jb-page p.sfc-jb-intro {
    max-width: 690px;
    margin: 0;
    color: var(--sfc-jb-muted);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.7;
}
.sfc-jb-page .sfc-jb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
}
.sfc-jb-page .sfc-jb-card {
    --sfc-jb-accent: #136d83;
    --sfc-jb-tint: #e6f6ff;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: clamp(23px, 3vw, 34px);
    border: 1px solid #dbe7ed;
    border-top: 5px solid var(--sfc-jb-accent);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 24px #163b5008;
}
.sfc-jb-page .sfc-jb-card--customs {
    --sfc-jb-accent: #14695f;
    --sfc-jb-tint: #e6f8f3;
}
.sfc-jb-page .sfc-jb-card--jrosa {
    --sfc-jb-accent: #70469a;
    --sfc-jb-tint: #f2eafb;
}
.sfc-jb-page .sfc-jb-card--jenannaigans {
    --sfc-jb-accent: #4c579d;
    --sfc-jb-tint: #eceffe;
}
.sfc-jb-page p.sfc-jb-category {
    align-self: flex-start;
    margin: 0 0 22px;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--sfc-jb-tint);
    color: var(--sfc-jb-accent);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.sfc-jb-page h2.sfc-jb-name {
    margin: 0 0 12px;
    color: var(--sfc-jb-ink);
    font-size: clamp(25px, 2.5vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.sfc-jb-page p.sfc-jb-description {
    flex-grow: 1;
    margin: 0 0 20px;
    color: var(--sfc-jb-muted);
    font-size: 16px;
    line-height: 1.65;
}
.sfc-jb-page p.sfc-jb-domain {
    margin: 0 0 19px;
    color: #536b7c;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.sfc-jb-page .sfc-jb-actions {
    display: flex;
    margin: 0;
}
.sfc-jb-page .sfc-jb-actions .wp-block-button {
    max-width: 100%;
    margin: 0;
}
.sfc-jb-page .sfc-jb-actions .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 18px;
    border: 2px solid var(--sfc-jb-accent);
    border-radius: 12px;
    background: var(--sfc-jb-accent);
    color: #fff;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
    white-space: normal;
    transition: background-color .18s ease, color .18s ease;
}
.sfc-jb-page .sfc-jb-actions .wp-block-button__link::after {
    content: "";
    display: inline-block;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}
.sfc-jb-page .sfc-jb-actions .wp-block-button__link:hover {
    background: var(--sfc-jb-tint);
    color: var(--sfc-jb-accent);
}
.sfc-jb-page .sfc-jb-actions .wp-block-button__link:focus-visible {
    outline: 3px solid #163b50;
    outline-offset: 4px;
}
.sfc-jb-page p.sfc-jb-signoff {
    margin: 28px 0 0;
    color: var(--sfc-jb-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}
@media (max-width: 680px) {
    .sfc-jb-page.wp-block-group {
        margin: 16px auto;
        border-radius: 24px;
    }
    .sfc-jb-page .sfc-jb-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .sfc-jb-page .sfc-jb-hero::after {
        right: -145px;
        opacity: .2;
    }
    .sfc-jb-page .sfc-jb-actions,
    .sfc-jb-page .sfc-jb-actions .wp-block-button,
    .sfc-jb-page .sfc-jb-actions .wp-block-button__link {
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sfc-jb-page .sfc-jb-actions .wp-block-button__link {
        transition: none;
    }
}
