/* Common layout. Appearance tokens and shared surfaces live in editorial.css. */
#page {
    background: transparent;
}

a {
    transition: color 0.2s, opacity 0.2s;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--fx-accent); outline-offset: 3px;
}

.home-button:focus-visible {
    box-shadow: 0 0 0 4px var(--fx-ring);
}

body.site-page .site-content {
    margin-top: 0px !important; padding-top: clamp(6px, 1.4vw, 16px);
}

.home-button {
    letter-spacing: 0.035em; box-shadow: rgba(245, 143, 31, 0.24) 0px 12px 24px; border-radius: 999px !important; font-weight: 700 !important;
}

.home-button:hover {
    transform: translateY(-1px);
}

.page-content > .home-container .home-hero-inner {
    max-width: min(1220px, 94vw); margin-inline: auto;
}

.page-content > .home-container:first-child {
    position: relative; margin: clamp(18px, 2vw, 30px) auto clamp(30px, 5vw, 56px); max-width: min(1240px, 95vw); border-radius: var(--fx-radius-lg); overflow: hidden; border: 1px solid rgba(176, 196, 218, 0.4); background: radial-gradient(380px 220px at 8% 14%, rgba(245, 143, 31, 0.18), transparent 64%), linear-gradient(124deg, rgb(22, 40, 62) 0%, rgb(31, 59, 87) 56%, rgb(47, 86, 120) 100%); box-shadow: rgba(15, 23, 42, 0.28) 0px 30px 62px;
}

.page-content > .home-container:first-child .home-hero-inner {
    position: relative; z-index: 1; padding: clamp(34px, 6.6vw, 86px) !important;
}

.page-content > .home-container:first-child .home-hero-subtitle,
.page-content > .home-container:first-child .home-hero-title,
.page-content > .home-container:first-child .home-hero-description {
    color: var(--fx-ink); text-shadow: none;
}

.page-content > .home-container:first-child .home-hero-title {
    letter-spacing: -0.02em; padding-top: 0.15em; font-size: clamp(2rem, 4.8vw, 3.85rem) !important; line-height: 1.2 !important; font-weight: 800 !important; margin-top: 0px !important;
}

.page-content > .home-container:first-child .home-hero-subtitle {
    opacity: 0.96; font-size: clamp(1.1rem, 2.2vw, 1.45rem) !important; line-height: 1.42 !important;
}

.page-content > .home-container:first-child .home-hero-heading,
.page-content > .home-container:first-child .home-hero-layout {
    overflow: visible;
}

.page-content p,
.page-content li {
    color: var(--fx-muted);
}

.page-content p,
.page-content li {
    line-height: 1.68;
}

.page-content .home-hero-layout {
    display: flex; flex-direction: column; height: 100%;
}

.page-content .home-hero-subtitle {
    color: rgb(26, 48, 72); font-size: clamp(1rem, 1.4vw, 1.35rem); line-height: 1.28; word-break: normal; overflow-wrap: normal; hyphens: none;
}

.foxiam-testimonial-block {
    max-width: 920px; margin: clamp(20px, 3vw, 34px) auto; padding: clamp(18px, 2.6vw, 28px); border-top: 1px solid rgb(213, 223, 237); border-right: 1px solid rgb(213, 223, 237); border-bottom: 1px solid rgb(213, 223, 237); border-image: initial; border-left: 4px solid var(--fx-accent); border-radius: 16px; background: linear-gradient(rgb(255, 255, 255) 0%, rgb(246, 250, 255) 100%); box-shadow: rgba(15, 23, 42, 0.08) 0px 12px 30px;
}

.foxiam-testimonial-block blockquote {
    margin: 0px; color: rgb(37, 58, 83); font-size: clamp(1rem, 1.6vw, 1.14rem); line-height: 1.72;
}

.foxiam-testimonial-block .testimonial-author {
    margin-top: 14px; margin-bottom: 0px; color: rgb(49, 72, 96); font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

.foxiam-testimonial-block .testimonial-author a {
    color: rgb(27, 79, 143); text-decoration: underline;
}

.foxiam-testimonial-block .testimonial-brand {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; overflow: hidden; border: 1px solid rgb(213, 223, 237); background: rgb(255, 255, 255);
}

.foxiam-testimonial-block .testimonial-brand img {
    display: block; width: 100%; height: auto;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background: radial-gradient(circle at right top, rgba(255, 162, 50, 0.14), transparent 28%), linear-gradient(145deg, rgb(20, 35, 52) 0%, rgb(30, 52, 74) 56%, rgb(33, 63, 88) 100%) !important; padding: clamp(28px, 4vw, 48px) 0px 0px !important;
}

.site-primary-footer-wrap .footer-inner,
.site-below-footer-wrap .footer-inner {
    max-width: 1280px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 34px);
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    border-top: 1px solid rgba(207, 220, 236, 0.12); background: rgb(13, 26, 39) !important;
}

.foxiam-site-footer-shell {
    display: grid; grid-template-columns: minmax(0px, 1.08fr) repeat(3, minmax(0px, 0.82fr)); gap: clamp(24px, 3vw, 42px); color: rgb(232, 238, 246);
}

.foxiam-site-footer-brand,
.foxiam-site-footer-column {
    min-width: 0px;
}

.foxiam-site-footer-brand {
    padding: clamp(12px, 2vw, 18px) clamp(8px, 1.4vw, 12px) 0px 0px;
}

.foxiam-site-footer-brand-top {
    display: flex; align-items: flex-start; gap: 18px;
}

.foxiam-site-footer-brand-copy {
    min-width: 0px;
}

.foxiam-site-footer-logo {
    display: inline-flex; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 20px; padding: 6px; background: rgba(255, 255, 255, 0.95); box-shadow: rgba(6, 14, 24, 0.14) 0px 12px 24px;
}

.foxiam-site-footer-logo img {
    display: block; width: 100%; height: 100%; object-fit: contain;
}

.foxiam-site-footer-kicker {
    display: inline-block; margin-top: 6px; color: rgb(255, 182, 110); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

.foxiam-site-footer-brand h2 {
    margin: 10px 0px 0px; color: rgb(244, 247, 251); font-size: clamp(1.1rem, 1.2vw, 1.42rem); line-height: 1.22; max-width: 19ch;
}

.foxiam-site-footer-brand p,
.foxiam-site-footer-column p,
.foxiam-site-footer-column li {
    color: rgba(232, 238, 246, 0.84); font-size: 1rem; line-height: 1.7;
}

.foxiam-site-footer-brand p {
    margin: 16px 0px 0px; max-width: 26rem; font-size: 0.94rem; line-height: 1.65;
}

.foxiam-site-footer-actions {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px;
}

.foxiam-site-footer-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s; text-decoration: none !important;
}

.foxiam-site-footer-button:hover,
.foxiam-site-footer-button:focus-visible {
    transform: translateY(-1px);
}

.foxiam-site-footer-button-primary {
    background: linear-gradient(135deg, rgb(110, 122, 240) 0%, rgb(95, 107, 229) 100%); box-shadow: rgba(110, 122, 240, 0.22) 0px 14px 26px; color: rgb(255, 255, 255) !important;
}

.foxiam-site-footer-actions-portal {
    margin-top: 18px;
}

.foxiam-site-footer-socials {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px;
}

.foxiam-site-footer-socials .footer-social-item {
    display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 0px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(228, 236, 245, 0.1); text-decoration: none; font-size: 0.86rem; color: rgba(233, 239, 247, 0.88) !important;
}

.foxiam-site-footer-socials .footer-social-item .footer-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: rgb(169, 216, 255);
}

.foxiam-site-footer-socials .footer-social-item .footer-icon svg {
    width: 18px; height: 18px; fill: currentcolor;
}

.foxiam-site-footer-socials .footer-social-item.footer-linkedin .footer-icon {
    color: rgb(125, 204, 255);
}

.foxiam-site-footer-socials .footer-social-item.footer-email .footer-icon {
    color: rgb(255, 171, 142);
}

.foxiam-site-footer-column {
    padding-top: 10px;
}

.foxiam-site-footer-column h3 {
    margin: 0px 0px 16px; color: rgb(242, 247, 251); font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}

.foxiam-site-footer-column ul {
    list-style: none; margin: 0px; padding: 0px; display: grid; gap: 12px;
}

.foxiam-site-footer-column a {
    text-decoration: none; color: rgba(238, 244, 251, 0.9) !important;
}

.foxiam-site-footer-column a:hover,
.foxiam-site-footer-column a:focus-visible,
.foxiam-site-footer-bottom a:hover,
.foxiam-site-footer-bottom a:focus-visible {
    text-decoration: underline; text-underline-offset: 0.18em; color: rgb(255, 255, 255) !important;
}

.foxiam-site-footer-contact p {
    margin: 0px 0px 12px;
}

.foxiam-site-footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0px 22px; color: rgba(224, 233, 243, 0.8); font-size: 0.95rem;
}

.foxiam-site-footer-bottom p {
    margin: 0px;
}

.foxiam-site-footer-bottom-links {
    display: flex; flex-wrap: wrap; gap: 16px;
}

.foxiam-site-footer-bottom a {
    text-decoration: none; color: rgba(238, 244, 251, 0.88) !important;
}

@media (max-width: 1100px) {
    .foxiam-site-footer-shell {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }

    .foxiam-site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .page-content > .home-container {
        animation: 0.5s ease 0s 1 normal both running fx-fade-up;
    }
}

@keyframes fx-fade-up {
    0% { opacity: 0; transform: translateY(12px); }

    100% { opacity: 1; transform: translateY(0px); }
}

@media (max-width: 768px) {
    .page-content > .home-container:first-child {
        border-radius: 18px;
    }

    .page-content > .home-container:first-child .home-hero-inner {
        padding: 24px !important;
    }

    .foxiam-site-footer-shell {
        grid-template-columns: 1fr;
    }

    .foxiam-site-footer-bottom {
        flex-direction: column; align-items: flex-start;
    }

    .foxiam-site-footer-brand {
        padding-right: 0px;
    }

    .foxiam-site-footer-brand-top {
        flex-direction: column; gap: 12px;
    }

    .foxiam-site-footer-actions {
        width: 100%; flex-direction: column; align-items: stretch;
    }

    .foxiam-site-footer-button {
        width: 100%;
    }
}

.footer-social-item.footer-linkedin {
    --color: #1c86c6; --background-color: transparent;
}

.footer-social-item.footer-email {
    --color: #ea4335; --background-color: transparent;
}
