/* B home composition, based on the revised B original. */
.home-b h1,
.home-b h2,
.home-b h3,
.home-b p {
    margin-top: 0;
}
.home-b h2 {
    font-size: clamp(32px, 3.2vw, 48px);
    line-height: 1.3;
    letter-spacing: -0.045em;
    margin-bottom: 0;
}
.home-b .section-heading {
    align-items: end;
}
.home-b .section-heading > p {
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 0;
}
.b-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 24px;
    margin: 0 16px;
    min-height: 760px;
    padding: 64px max(48px, calc((100vw - 1320px) / 2 - 16px)) 32px;
    color: white;
    display: flex;
    flex-direction: column;
    background: #092332;
}
.b-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, #01111dd9, #01111d66 65%, #01111d22),
        linear-gradient(0deg, #01111ddd, transparent 60%);
}
.b-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: saturate(0.8);
}
.b-topline {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 12px;
    color: #ced8e3;
}
.b-topline > span:first-child {
    font-family: Inter, sans-serif;
    letter-spacing: 0.14em;
}
.b-hero h1 {
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.25;
    letter-spacing: -0.05em;
    margin: 64px 0 32px;
}
.b-hero-aside {
    display: flex;
    align-items: center;
    gap: 40px;
}
.b-hero-aside p {
    font-size: 17px;
    line-height: 1.8;
    color: #d4dee7;
    margin: 0;
}
.b-hero-aside .button {
    white-space: nowrap;
}
.b-metrics {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 32px;
    padding-top: 28px;
    margin-top: auto;
    border-top: 1px solid #ffffff35;
}
.b-metrics > p {
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 0;
    color: #d6e0e8;
}
.b-metrics > div {
    border-left: 1px solid #ffffff30;
    padding-left: 32px;
}
.b-metrics strong {
    display: block;
    font-family: Inter, Pretendard, sans-serif;
    font-size: 36px;
}
.b-metrics > p strong {
    font: inherit;
    color: white;
}
.b-metrics small {
    font-size: 17px;
    margin-left: 6px;
}
.b-metrics span {
    display: block;
    color: #bdcbd6;
    font-size: 12px;
    margin-top: 8px;
}
.b-service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}
.b-service-photo {
    position: relative;
    margin: 0;
    min-height: 540px;
    height: 540px;
    align-self: start;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    color: white;
    background: #193d48;
}
.b-service-photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -2;
}
.b-service-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #071c2ee6, transparent 90%);
    z-index: -1;
}
.b-service-photo figcaption {
    position: absolute;
    bottom: 0;
    padding: 36px;
}
.b-service-photo figcaption > span {
    font:
        12px Inter,
        sans-serif;
    letter-spacing: 0.12em;
}
.b-service-photo h3 {
    font-size: 30px;
    margin: 16px 0;
}
.b-service-photo p {
    line-height: 1.8;
    color: #d4dee7;
}
.b-service-item {
    border-top: 1px solid var(--line);
}
.b-service-item:last-child {
    border-bottom: 1px solid var(--line);
}
.b-service-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 24px 0;
    list-style: none;
}
.b-service-toggle::-webkit-details-marker {
    display: none;
}
.b-service-toggle:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}
.b-service-toggle b {
    font-size: 22px;
}
.b-service-toggle > span {
    font:
        11px Inter,
        sans-serif;
    color: var(--muted);
    margin-left: auto;
}
.b-service-toggle::after {
    content: '+';
    width: 20px;
    text-align: center;
    font-size: 24px;
    color: var(--blue);
}
.b-service-toggle[aria-expanded='true']::after {
    content: '−';
}
.b-service-body {
    padding: 0 0 24px;
    color: var(--muted);
    line-height: 1.8;
}
.b-service-body .text-link {
    color: var(--blue);
}
.b-about {
    background: var(--bg);
}
.b-about .b-lead {
    font-size: 21px;
    line-height: 1.8;
}
.b-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}
.b-about-features h3 {
    font-size: 17px;
    margin-bottom: 12px;
}
.b-about-features p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
}
.b-news-contact {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    border-top: 1px solid var(--line);
}
.b-news-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.b-news-heading h2 {
    font-size: 36px;
}
.b-notice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    line-height: 1.7;
}
.b-notice-row > span {
    min-width: 0;
}
.b-notice-row small {
    white-space: nowrap;
    color: var(--muted);
    font-family: Inter, sans-serif;
}
.b-contact {
    padding: 40px;
    border-radius: 20px;
    background: var(--bg);
}
.b-contact h2 {
    font-size: 36px;
    margin-bottom: 24px;
}
.b-contact > p:not(.section-kicker) {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 32px;
}
@media (max-width: 1024px) {
    .b-hero h1 {
        font-size: 54px;
    }
    .b-metrics {
        gap: 20px;
    }
    .b-metrics > div {
        padding-left: 20px;
    }
    .b-metrics strong {
        font-size: 30px;
    }
    .b-service-layout {
        gap: 32px;
    }
    .b-service-toggle {
        flex-wrap: wrap;
    }
    .b-service-toggle > span {
        display: none;
    }
    .b-service-toggle::after {
        margin-left: auto;
    }
}
@media (max-width: 768px) {
    .b-title-ending {
        display: block;
    }
    .b-hero {
        margin: 0 12px;
        border-radius: 16px;
        min-height: 740px;
        padding: 32px 24px;
    }
    .b-topline {
        font-size: 10px;
    }
    .b-topline > span:last-child {
        display: none;
    }
    .b-hero h1 {
        font-size: clamp(32px, 5.8vw, 44px);
        margin: 40px 0 24px;
    }
    .b-hero-aside {
        flex-direction: column;
        align-items: start;
        gap: 24px;
    }
    .b-hero-aside p {
        font-size: 15px;
    }
    .b-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding-top: 24px;
    }
    .b-metrics > p {
        font-size: 13px;
    }
    .b-metrics > div {
        padding-left: 16px;
    }
    .b-metrics > div:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }
    .b-metrics strong {
        font-size: 28px;
    }
    .b-metrics small {
        font-size: 13px;
    }
    .home-b .section-heading {
        display: block;
    }
    .home-b .section-heading > p {
        margin-top: 24px;
    }
    .b-service-layout,
    .b-news-contact {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .b-service-photo {
        min-height: 420px;
        height: 420px;
    }
    .b-service-photo figcaption {
        padding: 28px;
    }
    .b-service-photo h3 {
        font-size: 26px;
    }
    .b-about-features {
        gap: 24px;
    }
    .b-about .b-lead {
        font-size: 18px;
    }
    .b-news-heading h2,
    .b-contact h2 {
        font-size: 30px;
    }
    .b-news-heading .text-link {
        white-space: nowrap;
        font-size: 13px;
    }
    .b-notice-row {
        display: block;
    }
    .b-notice-row small {
        display: block;
        margin-top: 12px;
    }
    .b-contact {
        padding: 28px;
    }
}
/* B section variations: inset company panel, centered partners, editorial news. */
.home-b .b-about {
    margin: 0 24px;
    border-radius: 24px;
    background: #121f33;
    color: white;
}
.b-about .content-split {
    grid-template-columns: 1.15fr 1fr;
}
.b-about .section-kicker {
    color: #8aafff;
}
.b-about .text-link {
    color: white;
}
.b-about-features {
    border-top: 1px solid #ffffff30;
    padding-top: 28px;
}
.b-about-features p {
    color: #b7c5d9;
}
.home-b #customers {
    max-width: none;
    padding-inline: 0;
}
.home-b #customers .section-heading {
    display: block;
    text-align: center;
    padding-inline: 24px;
}
.home-b #customers .section-heading > p {
    margin-top: 20px;
    margin-inline: auto;
}
.home-b #customers .customer-roll {
    margin-top: 48px;
}
.b-news-contact {
    grid-template-columns: 1fr;
    border-top: 0;
}
.b-news {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}
.b-news-heading {
    display: block;
    margin: 0;
    padding: 24px 24px 24px 0;
}
.b-news-heading .text-link {
    margin-top: 24px;
}
.b-notice-row {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    min-height: 220px;
}
.b-notice-row > span {
    font-size: 20px;
    font-weight: 700;
}
.b-contact {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 40px;
    background: var(--blue);
    color: white;
    padding: 48px;
}
.b-contact .section-kicker {
    color: #d1dfff;
}
.b-contact > p:not(.section-kicker) {
    color: #e0eaff;
    margin-bottom: 0;
}
.b-contact .button {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    background: white;
    color: var(--blue);
}
@media (max-width: 768px) {
    .home-b .b-about {
        margin: 0 12px;
        border-radius: 16px;
    }
    .b-about .content-split,
    .b-news,
    .b-contact {
        grid-template-columns: 1fr;
    }
    .b-news-heading {
        padding: 0;
    }
    .b-notice-row {
        min-height: 180px;
        padding: 28px;
    }
    .b-contact {
        padding: 28px;
    }
    .b-contact .button {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
        margin-top: 28px;
    }
}

.b-service-heading {
    margin: 0;
}
.b-service-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}
.b-service-panel {
    overflow: hidden;
}
.b-service-body {
    display: flow-root;
}
