:root {
    --surface: #ffffff;
    --surface-soft: #f3f6fb;
    --surface-raised: #ffffff;
    --surface-strong: #101b30;
    --text: #142035;
    --text-muted: #52627a;
    --text-inverse: #ffffff;
    --border: #d9e2ee;
    --action: #175ee7;
    --accent: #35bddb;
    --teal: #087e8b;
    --focus: #075acb;
    --shadow-soft: 0 12px 32px rgb(16 35 67 / 8%);
    --shadow-raised: 0 24px 60px rgb(11 27 53 / 16%);
    --radius-card: 1.1rem;
    --radius-control: 0.7rem;
    --content-width: 76rem;
    --wide-width: 88rem;
    --reading-width: 68ch;
    --section-space: clamp(3.75rem, 7vw, 6.5rem);
    --transition-fast: 160ms;
    --transition-base: 220ms;
}

.product-platform-icon {
    flex: 0 0 auto;
    width: 1.375rem;
    height: 1.375rem;
}

.button.product-platform-unavailable {
    cursor: not-allowed;
    color: var(--text-muted);
    background: var(--surface-soft);
    box-shadow: none;
    transform: none;
}

.product-platform-unavailable small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
}

html {
    background: #f7f9fc;
    scroll-padding-top: 6rem;
}

.showcase-grid,
.showcase-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1.5rem;
}

.showcase-panel {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    overflow-wrap: anywhere;
}

.showcase-steps {
    padding-left: 1.5rem;
}

.showcase-steps li {
    padding-right: 1rem;
}

.showcase-steps h3 {
    font-size: 1.1rem;
}

body {
    background: #f7f9fc;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.navigation-open {
    overflow: hidden;
}

a {
    color: var(--action);
    text-underline-offset: 0.2em;
}

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

h1,
h2,
h3 {
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    text-wrap: balance;
}

h1 {
    max-width: 14ch;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    letter-spacing: -0.055em;
}

h2 {
    font-size: clamp(1.85rem, 3.4vw, 3rem);
}

h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

p {
    text-wrap: pretty;
}

.layout {
    width: min(calc(100% - 2.5rem), var(--content-width));
    margin-inline: auto;
}

.layout--wide {
    width: min(calc(100% - 2.5rem), var(--wide-width));
}

.layout--narrow,
.reading-width {
    width: min(calc(100% - 2.5rem), var(--reading-width));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-space);
}

.section-heading {
    max-width: var(--reading-width);
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-heading > p:last-child {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.eyebrow {
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgb(217 226 238 / 85%);
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 4px 18px rgb(16 35 67 / 4%);
}

.site-header__inner {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    min-height: 5.25rem;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    padding-block: 0.6rem;
}

.brand-link {
    display: block;
    width: clamp(10.2rem, 16.8vw, 11.34rem);
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 3 / 1;
    background: url("../images/KSSInfonet-HeaderLogo-gZvVNsn.png") left center / contain no-repeat;
    text-decoration: none;
}

.primary-navigation {
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.2rem, 0.8vw, 0.75rem);
}

.nav-link {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #35445a;
    font-size: 0.91rem;
    font-weight: 620;
    padding-inline: clamp(0.65rem, 1vw, 0.9rem);
    text-decoration: none;
    transition: background-color var(--transition-fast) ease, color var(--transition-fast) ease, border-color var(--transition-fast) ease;
}

.primary-navigation .nav-link:hover,
.primary-navigation .nav-link[aria-current="page"] {
    background: #eff4fc;
    color: #124dbb;
}

.primary-navigation .nav-link[aria-current="page"] {
    font-weight: 720;
}

.primary-navigation .nav-link--quote,
.site-footer__quote {
    min-height: 2.85rem;
    border-color: var(--action);
    background: var(--action);
    box-shadow: 0 6px 16px rgb(23 94 231 / 18%);
    color: var(--text-inverse);
    font-weight: 700;
    padding-inline: 1.15rem;
    transition: background-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease, transform var(--transition-fast) ease;
}

.primary-navigation .nav-link--quote:hover,
.site-footer__quote:hover {
    transform: translateY(-1px);
    border-color: #104cbe;
    background: #104cbe;
    box-shadow: 0 9px 20px rgb(23 94 231 / 25%);
    color: var(--text-inverse);
}

.menu-toggle,
.menu-close {
    display: none;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    background: var(--surface-raised);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 0.8rem;
}

.menu-toggle:hover,
.menu-close:hover {
    border-color: #a8bad2;
    background: var(--surface-soft);
}

.menu-toggle__icon {
    display: grid;
    width: 1rem;
    gap: 3px;
}

.menu-toggle__icon i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.menu-close {
    min-height: 2.75rem;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.menu-close > span:last-child {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.navigation-backdrop[hidden] {
    display: none;
}

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgb(255 255 255 / 10%);
    background-color: #0c1729;
    background-image:
        linear-gradient(rgb(119 166 224 / 3%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(119 166 224 / 3%) 1px, transparent 1px);
    background-position: center top;
    background-size: 3.25rem 3.25rem;
    color: #e7edf6;
    padding-block: clamp(2rem, 4vw, 3rem) 1.25rem;
}

.site-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #36b9d6 30%, #647ef2 68%, transparent);
    content: "";
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 2fr);
    align-items: start;
    gap: clamp(1.75rem, 3vw, 3rem);
}

.site-footer__brand {
    max-width: 25rem;
}

.site-footer__logo {
    display: block;
    width: min(100%, 12rem);
    height: 3.75rem;
    margin-bottom: 1rem;
    background-image: url("../images/KSSFooter-Logo-htIVvsL.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.site-footer__brand p {
    max-width: 28ch;
    margin: 0;
    color: #becbdb;
    font-size: 1.05rem;
    line-height: 1.6;
}

.site-footer__brand .site-footer__intro {
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.site-footer__brand .site-footer__quote {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.6rem 1rem;
    border: 1px solid #3975e8;
    border-radius: 0.7rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
}

.site-footer .site-footer__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgb(255 255 255 / 14%);
    padding-top: 1rem;
}

.site-footer .site-footer__copyright {
    margin: 0;
    color: #becbdb;
    font-size: 0.85rem;
}

.site-footer__meta,
.site-footer .site-footer__meta .site-footer__group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.25rem;
    max-width: 100%;
}

.site-footer__meta .site-footer__label {
    margin: 0;
}

.site-footer .site-footer__meta nav[aria-label="Social media"] a {
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgb(145 165 192 / 35%);
    border-radius: 0.6rem;
    background: rgb(255 255 255 / 5%);
}

.site-footer .site-footer__meta nav[aria-label="Social media"] a:hover,
.site-footer .site-footer__meta nav[aria-label="Social media"] a:focus-visible {
    border-color: #74d6ec;
    background: rgb(116 214 236 / 10%);
}

@media (max-width: 41.99rem) {
    .site-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__links .site-footer__group[aria-label="Business contact"] {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.site-footer__label {
    margin: 0 0 0.5rem;
    color: #91a5c0;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer .site-footer__group a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: #edf3fa;
    font-size: 0.95rem;
    font-weight: 560;
    text-decoration: none;
}

.site-footer .site-footer__group a:hover,
.site-footer .site-footer__group a[aria-current="page"] {
    color: #74d6ec;
}

.site-footer .site-footer__group .site-footer__quote {
    min-height: 2.75rem;
    max-width: 100%;
    margin-top: 0.35rem;
    border-radius: 999px;
    padding-inline: 1rem;
    text-align: center;
    white-space: normal;
}

.button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-control);
    font: inherit;
    font-weight: 700;
    padding: 0.65rem 1rem;
    text-decoration: none;
    transition: background-color var(--transition-fast) ease, border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease, transform var(--transition-fast) ease;
}

.button--primary {
    border-color: var(--action);
    background: var(--action);
    box-shadow: 0 6px 16px rgb(23 94 231 / 18%);
    color: var(--text-inverse);
}

.button--primary:hover {
    transform: translateY(-1px);
    border-color: #104cbe;
    background: #104cbe;
    color: var(--text-inverse);
}

.button--secondary {
    border-color: var(--border);
    background: var(--surface);
    color: var(--surface-strong);
}

.button--secondary:hover {
    border-color: #a8bad2;
    background: var(--surface-soft);
}

.button--text {
    min-height: 2.75rem;
    border-color: transparent;
    background: transparent;
    color: var(--action);
    padding-inline: 0.35rem;
}

.surface-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface-raised);
    box-shadow: 0 5px 20px rgb(16 35 67 / 4%);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.surface-card--interactive,
.service-card,
.product-card,
.catalog-card,
.plan-card {
    transition: border-color var(--transition-base) ease, box-shadow var(--transition-base) ease, transform var(--transition-base) ease;
}

.surface-card--interactive:hover,
.service-card:hover,
.product-card:hover,
.catalog-card:hover {
    transform: translateY(-2px);
    border-color: #b8c8df;
    box-shadow: var(--shadow-soft);
}

.dark-section {
    background: var(--surface-strong);
    color: #e7edf6;
}

.dark-section h2,
.dark-section h3 {
    color: #ffffff;
}

.fixture-notice h2,
.fixture-notice h3 {
    color: #ffffff;
}

.dark-section .eyebrow {
    color: #74d6ec;
}

.skip-link {
    border-radius: 0 0 0.6rem 0;
    background: var(--surface-strong);
    color: #ffffff;
    text-decoration: none;
}

@media (min-width: 68rem) {
    .layout {
        width: min(calc(100% - 4rem), var(--content-width));
    }

    .layout--wide {
        width: min(calc(100% - 4rem), var(--wide-width));
    }
}

@media (max-width: 63.99rem) {
    .site-header__inner {
        flex-wrap: wrap;
        min-height: 4.75rem;
    }

    .js .menu-toggle {
        display: inline-flex;
    }

    .primary-navigation {
        width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.35rem;
        padding-block: 0.5rem 1rem;
    }

    .primary-navigation .nav-link {
        justify-content: flex-start;
        min-height: 2.9rem;
        padding-inline: 0.9rem;
    }

    .primary-navigation .nav-link--quote {
        justify-content: center;
        margin-top: 0.35rem;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .js .navigation-backdrop:not([hidden]) {
        position: fixed;
        z-index: 1;
        inset: 0;
        display: block;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        border: 0;
        background: rgb(7 16 31 / 56%);
        cursor: default;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }

    .js .primary-navigation {
        position: fixed;
        z-index: 2;
        inset: 0 0 0 auto;
        display: none;
        width: min(23rem, calc(100vw - 3rem));
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.4rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: max(1.25rem, env(safe-area-inset-top)) 1.25rem max(1.25rem, env(safe-area-inset-bottom));
        background: #ffffff;
        box-shadow: -1rem 0 3rem rgb(7 16 31 / 14%);
    }

    .js .primary-navigation--open {
        display: flex;
    }

    .js .menu-close {
        display: inline-flex;
        margin-bottom: 0.75rem;
    }

    .js .primary-navigation .nav-link {
        min-height: 3rem;
        justify-content: flex-start;
    }

    .js .primary-navigation .nav-link--quote {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 40rem) {
    .layout,
    .layout--wide,
    .layout--narrow,
    .reading-width {
        width: min(calc(100% - 2rem), var(--content-width));
    }

    .site-header__inner {
        gap: 0.75rem;
        padding-block: 0.45rem;
    }

    .brand-link {
        width: clamp(8rem, 42vw, 9.5rem);
        height: 2.8rem;
    }

    .site-footer__links {
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
