.cc-commercial {
    --commercial-ink: #101432;
    --commercial-navy: #092d53;
    --commercial-blue: #0056be;
    --commercial-button: #006ecb;
    --commercial-light: #edf4fd;
    --commercial-border: #d7e4f4;
    --commercial-radius: var(--cc-block-radius, 6px);
    --commercial-width: 1660px;
    --commercial-section-gap: 88px;
    --commercial-category-gap: 72px;
    --commercial-strip-space: 1.75rem;
    background: linear-gradient(120deg, #f8fbff, #f0f5fc 62%, #f8fbff);
    color: var(--commercial-ink);
    font-size: 1rem;
    line-height: 1.5;
}

.cc-commercial :where(h1, h2, h3) {
    color: inherit;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.cc-commercial :where(p, ul) { margin: 0; }
.cc-commercial :where(ul) { padding: 0; list-style: none; }
.cc-commercial :where(a) { color: var(--commercial-blue); text-underline-offset: .15em; }
.cc-commercial a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.cc-commercial .bi { flex: 0 0 auto; }

.cc-commercial :is(.cc-commercial-wrap, .cc-home-wrap) {
    width: min(89%, var(--commercial-width));
    margin-inline: auto;
}

.cc-commercial :is(.cc-commercial-eyebrow, .cc-home-eyebrow) {
    color: var(--commercial-blue);
    font-size: clamp(.72rem, .9vw, .86rem);
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.cc-commercial :is(.cc-commercial-actions, .cc-home-actions) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.cc-commercial :is(.cc-commercial-button, .cc-home-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 40px;
    padding: .48rem 1.25rem;
    border: 1px solid currentColor;
    border-radius: var(--commercial-radius);
    color: inherit;
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.cc-commercial :is(.cc-commercial-button, .cc-home-button):hover {
    background-color: rgb(0 84 164 / 8%);
}

.cc-commercial :is(.cc-commercial-button-primary, .cc-home-button-primary) {
    border-color: var(--commercial-button);
    background-color: var(--commercial-button);
    color: #fff;
}

.cc-commercial :is(.cc-commercial-button-primary, .cc-home-button-primary):hover {
    border-color: #0056a6;
    background-color: #0056a6;
}

.cc-commercial :is(.cc-commercial-button-primary, .cc-home-button-primary):focus-visible {
    outline-color: var(--commercial-ink);
}

@media (max-width: 600px) {
    .cc-commercial :is(.cc-commercial-wrap, .cc-home-wrap) { width: calc(100% - 2rem); }
    .cc-commercial :is(.cc-commercial-button, .cc-home-button) { min-height: 44px; }
}

.cc-commercial-hero, .cc-home-hero {
    background: linear-gradient(112deg, #f7fbff, #dfecfb 54%, #eaf3ff);
}

.cc-commercial :is(.cc-commercial-hero-grid, .cc-home-hero-grid) {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
}

.cc-commercial-hero-copy, .cc-home-hero-copy {
    z-index: 1;
    align-self: center;
    margin-inline-start: max(8.2vw, calc((100vw - var(--commercial-width)) / 2));
    padding: clamp(1.65rem, 2.25vw, 3.5rem) 0;
}

.cc-commercial-hero h1, .cc-home h1 {
    max-width: 25ch;
    margin: 0;
    font-size: clamp(2.05rem, 3vw, 3.65rem);
    line-height: 1;
}

.cc-commercial-hero-copy .cc-commercial-lead, .cc-home-hero-copy .cc-home-lead {
    max-width: 51ch;
    margin-top: .75rem;
    font-size: clamp(.96rem, 1.14vw, 1.12rem);
    line-height: 1.45;
}

.cc-commercial-hero-photo, .cc-home-hero-photo {
    position: relative;
    min-width: 0;
    min-height: clamp(300px, 23vw, 640px);
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.cc-commercial :is(.cc-commercial-hero-photo, .cc-commercial-band-photo) img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-commercial-hero-photo img, .cc-home-hero-photo img {
    position: absolute;
    inset: 0;
    object-position: 54% 22%;
}

:is(.cc-commercial-hero-photo, .cc-home-hero-photo, .cc-commercial-band, .cc-home-band)::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: min(13.5vw, 300px);
    background: linear-gradient(140deg, #0491f4, #006cc7);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

:is(.cc-commercial-band, .cc-home-band)::after { width: min(7.5vw, 165px); }

.cc-commercial-band, .cc-home-band {
    position: relative;
    background: linear-gradient(110deg, #0b3157, var(--commercial-navy) 60%, #092749);
    color: #fff;
}

.cc-home-band .cc-home-button:not(.cc-home-button-primary):hover { background-color: rgb(255 255 255 / 13%); }
.cc-commercial-band .cc-commercial-button-primary:focus-visible,
.cc-home-band .cc-home-button-primary:focus-visible { outline-color: #fff; }

.cc-commercial :is(.cc-commercial-band-grid, .cc-home-custom-grid) {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 33fr) minmax(0, 67fr);
}

.cc-commercial-band-photo, .cc-home-custom-photo {
    position: relative;
    min-height: 185px;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}

.cc-commercial-band-photo img, .cc-home-custom-photo img {
    position: absolute;
    inset: 0;
    object-position: 50% 45%;
}

.cc-commercial-band-copy, .cc-home-custom-copy {
    z-index: 1;
    min-width: 0;
    align-self: center;
    padding: clamp(1.3rem, 2.2vw, 2.5rem) max(9vw, calc((100vw - var(--commercial-width)) / 2)) clamp(1.3rem, 2.2vw, 2.5rem) clamp(1.4rem, 4.6vw, 5.2rem);
}

.cc-commercial .cc-commercial-band-copy h2,
.cc-home .cc-home-custom-copy h2 { font-size: clamp(1.45rem, 2.16vw, 2.35rem); }
.cc-commercial .cc-commercial-band-copy p,
.cc-home .cc-home-custom-copy p { margin-bottom: .76rem; max-width: 91ch; line-height: 1.4; }

/* Paired strips share column tracks, insets and a fixed icon track. */
.cc-commercial .cc-commercial-strip {
    --commercial-strip-icon: 2rem;
    --commercial-strip-gap: .875rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem clamp(.75rem, 1.4vw, 1.3rem);
    padding-block: var(--commercial-strip-space);
}

.cc-commercial-strip > li {
    display: grid;
    grid-template-columns: var(--commercial-strip-icon) minmax(0, 1fr);
    align-items: start;
    column-gap: var(--commercial-strip-gap);
    min-width: 0;
    padding-inline-start: clamp(.5rem, 1.15vw, 1.1rem);
    line-height: 1.35;
}

.cc-commercial-strip > li:nth-child(4n + 1) { padding-inline-start: 0; }
.cc-commercial-strip > li > .bi { color: var(--commercial-blue); font-size: var(--commercial-strip-icon); line-height: 1; }

/* Presentation for the shared plan partial, enabled only by this component class. */
.cc-commercial-plans .pl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
    gap: clamp(.875rem, 1.45vw, 1.5rem);
    max-width: none;
    padding: 0;
    margin-bottom: 1.25rem;
}

.cc-commercial-plans .pl-card,
.cc-commercial-plans .pl-card.hl {
    --plan-accent: var(--commercial-blue) !important;
    width: auto;
    min-width: 0;
    padding: clamp(1.25rem, 2vw, 1.875rem);
    gap: .65rem;
    border: 1px solid var(--commercial-border);
    border-radius: var(--commercial-radius);
    background: linear-gradient(160deg, #fff 60%, #f6faff);
    box-shadow: 0 4px 14px rgb(9 45 83 / 6%);
}

.cc-commercial-plans .pl-card.hl { border-color: #9cc4eb; }
.cc-commercial-plans .pl-card:not(:has(.pl-badge))::before { content: ""; min-height: 1.6rem; }
.cc-commercial-plans .pl-badge {
    min-height: 1.6rem;
    padding: .25rem .7rem;
    margin: 0;
    border: 1px solid #c9dff6;
    background-color: var(--commercial-light) !important;
    color: var(--commercial-blue);
    font-size: .75rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0;
}

.cc-commercial-plans .pl-name { font-size: 1.3rem; line-height: 1.2; color: var(--commercial-ink); }
.cc-commercial-plans .pl-price {
    color: var(--commercial-blue) !important;
    font-size: clamp(2.1rem, 2.8vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.cc-commercial-plans .pl-price span { margin-inline-start: .2em; font-weight: 500; letter-spacing: 0; white-space: normal; }
.cc-commercial-plans .pl-divider { margin: .25rem 0 .45rem; border-top-color: var(--commercial-border); }
.cc-commercial-plans .pl-features { flex: 1 1 auto; padding: 0; gap: .56rem; }
.cc-commercial-plans .pl-features li { font-size: .94rem; line-height: 1.4; }
.cc-commercial-plans .pl-features li:not(.no, .pl-section-label)::before { color: var(--commercial-blue); }
.cc-commercial-plans .pl-features .pl-section-label { margin-top: .25rem; border-bottom-color: var(--commercial-border); }
.cc-commercial-plans .pl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: .65rem;
    border-color: var(--commercial-button) !important;
    border-radius: var(--commercial-radius);
    background-color: #fff !important;
    color: var(--commercial-blue);
    line-height: 1.3;
}
.cc-commercial-plans .pl-btn:hover { background-color: var(--commercial-light) !important; color: var(--commercial-blue); }
.cc-commercial-plans .pl-card:has(.pl-price span) .pl-btn {
    background-color: var(--commercial-button) !important;
    color: #fff;
}
.cc-commercial-plans .pl-card:has(.pl-price span) .pl-btn:hover {
    background-color: #0056a6 !important;
    border-color: #0056a6 !important;
}
.cc-commercial-plans .pl-btn:focus-visible { outline-color: var(--commercial-blue); }

@media (max-width: 1120px) {
    .cc-commercial-plans .pl-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
}

@media (max-width: 1100px) {
    .cc-commercial { --commercial-section-gap: 64px; --commercial-category-gap: 48px; }
}

@media (max-width: 900px) {
    /* Public navigation collapses at 900px. */
    body:has(.cc-commercial) .cc-header > .cc-nav-hamburger { display: block; }

    .cc-commercial :is(.cc-commercial-hero-grid, .cc-home-hero-grid, .cc-commercial-band-grid, .cc-home-custom-grid) {
        grid-template-columns: minmax(0, 1fr);
    }

    .cc-commercial-hero-copy, .cc-home-hero-copy { margin-inline: auto; width: min(89%, 650px); padding: 1.7rem 0 1.4rem; }
    .cc-commercial-hero-photo, .cc-home-hero-photo { min-height: 0; aspect-ratio: 2; clip-path: none; }
    :is(.cc-commercial-hero-photo, .cc-home-hero-photo) img { object-position: center; }
    :is(.cc-commercial-hero-photo, .cc-home-hero-photo, .cc-commercial-band, .cc-home-band)::after { display: none; }
    .cc-commercial-band-photo, .cc-home-custom-photo { min-height: 0; aspect-ratio: 2.6; clip-path: none; }
    .cc-commercial :is(.cc-commercial-band-grid, .cc-home-custom-grid) { width: min(89%, var(--commercial-width)); padding-top: 1rem; }
    .cc-commercial-band-copy, .cc-home-custom-copy { padding: 1.25rem 0 1.5rem; }

    .cc-commercial { --commercial-strip-space: 1.5rem; }
    .cc-commercial .cc-commercial-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cc-commercial-strip > li:nth-child(odd) { padding-inline-start: 0; }
}

@media (max-width: 700px) {
    .cc-commercial-hero h1, .cc-home h1 { font-size: clamp(1.95rem, 8.5vw, 3rem); }
    .cc-commercial-hero-photo, .cc-home-hero-photo { aspect-ratio: 16 / 9; }

    .cc-commercial {
        --commercial-section-gap: 48px;
        --commercial-category-gap: 36px;
        --commercial-strip-space: 1.25rem;
    }

    .cc-commercial .cc-commercial-strip {
        --commercial-strip-icon: 1.55rem;
        --commercial-strip-gap: .75rem;
        gap: 1rem .7rem;
    }
    .cc-commercial-strip > li { padding-inline-start: 0; }
    .cc-commercial-plans .pl-card:not(:has(.pl-badge))::before { display: none; }
}
