/* Home page composition, shared with the native WordPress block editor. */
:is(.c4-home-hero, .c4-home-services, .c4-home-software, .c4-home-about, .c4-home-contact) p { line-height: 1.5; }
:is(.c4-home-hero, .c4-home-services, .c4-home-software, .c4-home-about, .c4-home-contact) h2 { letter-spacing: -.02em; }
:is(.c4-home-hero, .c4-home-services, .c4-home-software, .c4-home-about, .c4-home-contact) .c4-text-link a { min-height: 44px; align-content: center; }
:is(.c4-home-hero, .c4-home-services, .c4-home-software, .c4-home-about, .c4-home-contact) .c4-text-link a::after {
    content: ""; display: inline-block; width: 15px; height: 11px; margin-left: 9px;
    background: currentColor; clip-path: polygon(0 42%, 77% 42%, 48% 9%, 58% 0, 100% 50%, 58% 100%, 48% 91%, 77% 58%, 0 58%);
}
:is(.c4-home-hero, .c4-home-services, .c4-home-software, .c4-home-about, .c4-home-contact) .wp-block-button__link { min-height: 48px; }
.c4-home-hero { position: relative; background: linear-gradient(112deg, #fff 48%, #f5fafd); }
.c4-home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding-block: 52px 64px; }
.c4-home-hero-grid > * { margin: 0; min-width: 0; }
.c4-home-hero-copy { position: relative; z-index: 1; padding-block: 12px; }
.c4-home-hero h1 { margin: 24px 0; line-height: 1.2; letter-spacing: -.03em; }
.c4-home-hero .c4-home-lead { max-width: 52ch; margin: 0; color: var(--c4-muted); }
.c4-home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.c4-home-actions > * { margin: 0; }
.c4-home-hero-art { width: 100%; max-width: 560px; justify-self: center; }
.c4-home-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 680 / 540; }
.c4-home-services { padding-block: 64px 80px; background: #fff; border-top: 1px solid var(--c4-line); }
.c4-home-section-intro { margin-bottom: 36px; }
.c4-home-section-intro h2 { margin: 0; }
.c4-home-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; }
.c4-home-service { display: flex; flex-direction: column; align-items: start; min-width: 0; margin: 0; border-top: 1px solid var(--c4-line); padding-top: 25px; position: relative; }
.c4-home-service::before { content: ""; position: absolute; left: 0; top: -2px; width: 46px; height: 3px; background: var(--c4-royal); }
.c4-home-service:nth-child(2)::before { background: var(--c4-cyan); }
.c4-home-service:nth-child(3)::before { background: var(--c4-turquoise); }
.c4-home-service h3 { margin: 0 0 16px; }
.c4-home-service p { margin: 0 0 14px; color: var(--c4-muted); }
.c4-home-service .c4-text-link { margin: auto 0 0; padding-top: 4px; }
.c4-home-software { padding-block: 80px 60px; background: var(--c4-navy); color: #d3deed; }
.c4-home-software h2, .c4-home-software h3 { color: #fff; }
.c4-home-software .c4-eyebrow { color: var(--c4-turquoise); }
.c4-home-software-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.c4-home-software-grid > * { margin: 0; min-width: 0; }
.c4-home-software-copy h2 { margin: 18px 0 24px; }
.c4-home-software-copy > p { max-width: 54ch; }
.c4-home-software-copy .wp-block-buttons { margin-top: 28px; }
.c4-home-products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.c4-home-product { display: flex; flex-direction: column; align-items: start; margin: 0; min-width: 0; }
.c4-home-product + .c4-home-product { padding-left: 32px; border-left: 1px solid #315077; }
.c4-home-product > * { margin: 0; max-width: 100%; }
.c4-home-product-icon { width: 96px; margin-bottom: 22px; }
.c4-home-product-icon img { width: 100%; height: auto; aspect-ratio: 112 / 88; display: block; }
.c4-home-product-type { font-size: 14px; color: #b9cee7; letter-spacing: .07em; }
.c4-home-product h3 { margin: 10px 0; }
.c4-home-product > p:not(.c4-home-product-type):not(.c4-text-link) { min-height: 3em; font-size: 16px; }
.c4-home-integration { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid #315077; color: #b9cee7; font-size: 14px; }
.c4-home-example { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; border-top: 1px solid #315077; margin-top: 40px; padding-top: 28px; }
.c4-home-example h3 { margin: 0; max-width: 30ch; font-size: 20px; }
.c4-home-example p { margin: 0; max-width: 62ch; font-size: 16px; color: #b9cee7; }
.c4-home-about { padding-block: 80px; background: #f2f5f9; }
.c4-home-about .c4-home-about-grid {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 0;
    align-items: stretch; border: 1px solid #dce4ee; border-radius: 12px; overflow: hidden;
    background: #fff; box-shadow: 0 12px 40px rgb(2 37 82 / 5%);
}
.c4-home-about .c4-home-about-grid > *, .c4-home-about .c4-home-about-intro > * { margin: 0; min-width: 0; }
.c4-home-about .c4-home-about-intro {
    position: static; display: block; padding: clamp(32px, 3.4vw, 56px); margin: 0;
    background: #022552; color: #fff; min-width: 0;
}
.c4-home-about .c4-home-about-intro .c4-eyebrow { color: #0fcef1; }
.c4-home-about .c4-home-about-intro h2 {
    margin: 24px 0 32px; max-width: 13ch; font-size: clamp(32px, 3.1vw, 44px);
    line-height: 1.13; color: #fff; letter-spacing: -.025em; text-wrap: initial;
}
.c4-home-about .c4-home-about-copy > p { color: #d3deed; max-width: 38ch; margin: 0 0 24px; line-height: 1.65; }
.c4-home-about .c4-home-about-intro .c4-text-link { margin: 36px 0 0; }
.c4-home-about .c4-home-about-intro .c4-text-link a { color: #fff; }
.c4-home-about .c4-home-about-copy .c4-home-spira-definition { margin: 32px 0 0; font-size: 14px; line-height: 1.5; color: #b9cee7; }
.c4-home-about .c4-home-principles { display: grid; grid-template-columns: 1fr; gap: 0; border: 0; padding: 12px clamp(28px, 3vw, 48px); margin: 0; }
.c4-home-about .c4-home-principle {
    display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; align-items: center;
    margin: 0; padding: 28px 0; min-width: 0; border: 0;
}
.c4-home-about .c4-home-principle + .c4-home-principle { border-top: 1px solid #e1e8f0; }
.c4-home-about .c4-home-principle .c4-home-letter {
    display: grid; place-items: center; grid-column: auto; grid-row: auto; width: 88px; height: 88px;
    margin: 0; border-radius: 50%; background: #edf3fa; color: #013c9f; border: 0;
    font-size: 64px; font-weight: 400; line-height: 1; letter-spacing: 0;
    transition: background-color .2s ease, color .2s ease;
}
.c4-home-about .c4-home-letter::before, .c4-home-about .c4-home-letter::after { content: none; }
.c4-home-about .c4-home-principle-copy { display: block; margin: 0; min-width: 0; }
.c4-home-about .c4-home-principle h3 { margin: 0 0 10px; color: #022552; font-size: 24px; line-height: 1.25; }
.c4-home-about .c4-home-principle-copy p { margin: 0; max-width: 60ch; font-size: 18px; line-height: 1.6; color: #4f6278; }
@media (hover: hover) and (pointer: fine) {
    .c4-home-about .c4-home-principle:hover .c4-home-letter { color: #fff; background: #013c9f; }
    .c4-home-about .c4-home-principle:hover h3 { color: #013c9f; }
}
@media (max-width: 1100px) {
    .c4-home-about .c4-home-about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .c4-home-about .c4-home-about-intro { padding: 32px; }
    .c4-home-about .c4-home-principles { padding: 4px 28px; }
    .c4-home-about .c4-home-principle { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
    .c4-home-about .c4-home-principle .c4-home-letter { width: 72px; height: 72px; font-size: 52px; }
}
@media (max-width: 900px) {
    .c4-home-about .c4-home-about-grid { grid-template-columns: 1fr; }
    .c4-home-about .c4-home-about-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
    .c4-home-about .c4-home-about-intro h2 { margin-bottom: 0; }
    .c4-home-about .c4-home-about-copy > p { max-width: none; }
    .c4-home-about .c4-home-about-intro .c4-text-link { margin-top: 24px; }
    .c4-home-about .c4-home-principles { padding: 8px 32px; }
    .c4-home-about .c4-home-principle { grid-template-columns: 88px minmax(0, 1fr); gap: 28px; }
    .c4-home-about .c4-home-principle .c4-home-letter { width: 88px; height: 88px; font-size: 64px; }
}
@media (max-width: 600px) {
    .c4-home-about { padding-block: 48px; }
    .c4-home-about .c4-home-about-intro { display: block; padding: 28px 24px 32px; }
    .c4-home-about .c4-home-about-intro h2 { margin: 20px 0 24px; font-size: 34px; }
    .c4-home-about .c4-home-principles { padding: 4px 24px; }
    .c4-home-about .c4-home-principle { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
    .c4-home-about .c4-home-principle .c4-home-letter { width: 72px; height: 72px; font-size: 52px; grid-column: 1; grid-row: 1; }
    .c4-home-about .c4-home-principle-copy { display: contents; }
    .c4-home-about .c4-home-principle h3 { grid-column: 2; grid-row: 1; margin: 0; align-self: center; font-size: 21px; }
    .c4-home-about .c4-home-principle-copy p { grid-column: 1 / -1; font-size: 17px; }
}
@media (max-width: 380px) {
    .c4-home-about .c4-home-about-intro { padding-inline: 20px; }
    .c4-home-about .c4-home-principles { padding-inline: 16px; }
    .c4-home-about .c4-home-principle { grid-template-columns: 64px minmax(0, 1fr); gap: 16px 12px; }
    .c4-home-about .c4-home-principle .c4-home-letter { width: 64px; height: 64px; font-size: 48px; }
    .c4-home-about .c4-home-principle h3 { font-size: 19px; }
}

.c4-home-contact { padding-block: 64px; background: var(--c4-light); border-top: 1px solid var(--c4-line); }
.c4-home-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.c4-home-contact-grid > * { margin: 0; min-width: 0; }
.c4-home-contact-copy h2 { margin: 18px 0 20px; }
.c4-home-contact-copy > p:not(.c4-eyebrow) { max-width: 68ch; margin-bottom: 0; color: var(--c4-muted); }
@media (min-width: 1800px) {
    .c4-home-hero-grid { padding-block: 64px 72px; }
}
@media (max-width: 1150px) {
    .c4-home-hero-grid { gap: 20px; }
    .c4-home-services-grid { gap: 28px; }
    .c4-home-software-grid, .c4-home-example, .c4-home-contact-grid { gap: 40px; }
    .c4-home-products-grid { gap: 22px; }
    .c4-home-product + .c4-home-product { padding-left: 22px; }
}
@media (max-width: 950px) {
    .c4-home-hero-grid { grid-template-columns: 1.15fr .85fr; padding-block: 44px 52px; gap: 0; }
    .c4-home-hero-art { width: 112%; max-width: none; margin-left: -12%; }
    .c4-home-services-grid { gap: 24px; }
    .c4-home-software-grid { grid-template-columns: 1fr; gap: 40px; }
    .c4-home-products-grid { gap: 32px; }
    .c4-home-product + .c4-home-product { padding-left: 32px; }
    .c4-home-product > p:not(.c4-home-product-type):not(.c4-text-link) { min-height: 0; }
    .c4-home-product-icon { width: 80px; }
}
@media (max-width: 700px) {
    .c4-home-hero-grid { grid-template-columns: 1fr; padding-block: 36px 44px; }
    .c4-home-hero-copy { padding: 0; }
    .c4-home-hero-art { display: none; }
    .c4-home-hero h1 { margin: 20px 0; }
    .c4-home-hero { background: linear-gradient(125deg, #fff 45%, #edf8fc); }
    .c4-home-actions { margin-top: 24px; }
    .c4-home-services { padding-block: 44px 48px; }
    .c4-home-section-intro { margin-bottom: 28px; }
    .c4-home-services-grid { grid-template-columns: 1fr; gap: 28px; }
    .c4-home-service { padding-top: 22px; }
    .c4-home-service h3 { margin-bottom: 12px; }
    .c4-home-service p { margin-bottom: 10px; }
    .c4-home-software { padding-block: 48px 40px; }
    .c4-home-software-copy h2 { margin-block: 16px 20px; }
    .c4-home-example { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; padding-top: 24px; }
    .c4-home-contact { padding-block: 48px; }
    .c4-home-contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 450px) {
    .c4-home-actions { align-items: start; flex-direction: column; gap: 4px; }
    .c4-home-products-grid { gap: 20px; }
    .c4-home-product + .c4-home-product { padding-left: 0; border-left: 0; }
    .c4-home-product-icon { width: 72px; margin-bottom: 16px; }
    .c4-home-product-type { letter-spacing: 0; }
}
@media (max-width: 359px) {
    .c4-home-products-grid { grid-template-columns: 1fr; gap: 24px; }
    .c4-home-product + .c4-home-product { border-top: 1px solid #315077; padding-top: 24px; }
}
