/*
   Solid Arc Software - Unified Enterprise Design System
   -----------------------------------------------------
   Shared by the SolidArc public site and portal.

   Design principles:
   - One visual language across public and authenticated surfaces.
   - Navy / slate foundation with a restrained SolidArc blue accent.
   - Light operational surfaces with selective dark architectural panels.
   - Reusable component classes instead of page-specific inline CSS.
   - Responsive from ultrawide desktop through mobile.

   Usage:
   - Load AFTER Bootstrap.
   - Pages should compose shared sas-* components and contain no page-level style blocks.
*/

:root {
    /* Brand lineage from the DataArc portal */
    --sas-navy-950: #0b1420;
    --sas-navy-900: #111d2c;
    --sas-navy-850: #17263a;
    --sas-navy-800: #21344d;
    --sas-navy-700: #36506d;
    --sas-accent: #2aa6df;
    --sas-accent-strong: #1689c0;
    --sas-accent-soft: #eaf7fd;
    --sas-accent-border: #bfe6f7;
    --sas-evolution-arc-color: #2aa6df;
    /* Public-site corporate palette */
    --sas-bg: #f5f8fb;
    --sas-bg-alt: #eef4f8;
    --sas-surface: #ffffff;
    --sas-surface-soft: #f8fbfd;
    --sas-surface-blue: #f1f9fd;
    --sas-text: #1b2a3b;
    --sas-text-strong: #102033;
    --sas-muted: #617184;
    --sas-soft: #7e8c9b;
    --sas-border: #dce5ed;
    --sas-border-soft: #e9eef3;
    --sas-border-strong: #cbd7e2;
    --sas-success: #238866;
    --sas-warning: #a6791f;
    --sas-danger: #c14f5b;
    --sas-radius-sm: 7px;
    --sas-radius-md: 12px;
    --sas-radius-lg: 16px;
    --sas-shadow-xs: 0 1px 3px rgba(15, 31, 49, 0.05);
    --sas-shadow-sm: 0 8px 24px rgba(15, 31, 49, 0.07);
    --sas-shadow-md: 0 20px 52px rgba(15, 31, 49, 0.12);
    --sas-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sas-font-mono: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    --sas-nav-height: 66px;
    --sas-footer-height: 68px;
    /* Unified component tokens */
    --sas-hero-start: #0d2238;
    --sas-hero-mid: #102b45;
    --sas-hero-end: #123b58;
    --sas-hero-text: #f5f9fc;
    --sas-hero-muted: rgba(225, 236, 245, 0.82);
    --sas-glass-border: rgba(111, 194, 235, 0.24);
    --sas-glass-surface: rgba(37, 76, 106, 0.58);
    --sas-radius-xl: 20px;
    --sas-shadow-lg: 0 26px 64px rgba(10, 31, 52, 0.14);
    --sas-section-space: clamp(54px, 5vw, 82px);
    --sas-content-gutter: 24px;
}

/* ============================================================
   SOLIDARC MODERNISATION PATHS
   Enterprise capability cards
   ============================================================ */

.sas-hero-grid-home {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.sas-brand-home {
    grid-column: 2;
    justify-self: center;
}


/* ============================================================
   Section
   ============================================================ */

.sas-modernization {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* ============================================================
   Section introduction
   ============================================================ */

.sas-modernization-intro {
    max-width: 980px;
    margin: 0 0 2rem;
}

    .sas-modernization-intro .sas-evolution-period {
        margin-bottom: 8px;
    }

    .sas-modernization-intro .sas-eyebrow {
        margin-bottom: 12px !important;
    }

    .sas-modernization-intro p {
        max-width: 900px;
        margin: 0;
        color: var(--sas-muted) !important;
        font-size: 0.96rem;
        line-height: 1.7;
    }


/* ============================================================
   Vertical card stack
   ============================================================ */

.sas-modernization-paths {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1.35rem;
}


/* ============================================================
   Individual modernisation card
   ============================================================ */

.sas-modernization-path {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--sas-border) !important;
    border-radius: var(--sas-radius-lg) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    box-shadow: var(--sas-shadow-sm) !important;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}


    /* Blue architectural accent */

    .sas-modernization-path::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 4px;
        background: linear-gradient( 180deg, var(--sas-accent) 0%, var(--sas-accent-strong) 100% );
    }


    /* Slightly stronger treatment on hover */

    .sas-modernization-path:hover {
        transform: translateY(-2px);
        border-color: var(--sas-accent-border) !important;
        box-shadow: 0 10px 28px rgba(20, 35, 52, 0.09) !important;
    }


    /* ============================================================
   Card body
   ============================================================ */

    .sas-modernization-path > .card-body {
        padding: 0 !important;
    }


/* ============================================================
   Two-column card layout
   Content left / architecture visual right
   ============================================================ */

.sas-modernization-path-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 330px;
    align-items: stretch;
}


/* ============================================================
   Main content
   ============================================================ */

.sas-modernization-path-content {
    min-width: 0;
    padding: clamp(26px, 2.6vw, 40px) clamp(26px, 3vw, 48px);
    box-sizing: border-box;
}


    /* Era */

    .sas-modernization-path-content .sas-evolution-period {
        display: inline-flex;
        align-items: center;
        min-height: 26px;
        margin-bottom: 10px;
        padding: 3px 8px;
        border: 1px solid var(--sas-accent-border);
        border-radius: 4px;
        background: var(--sas-accent-soft);
        color: var(--sas-accent-strong) !important;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.075em;
    }


    /* Heading */

    .sas-modernization-path-content h3 {
        margin: 0 0 14px;
        color: var(--sas-text-strong) !important;
        font-size: clamp(1.16rem, 1.45vw, 1.42rem) !important;
        font-weight: 600 !important;
        line-height: 1.25;
        letter-spacing: -0.018em;
    }


    /* Body text */

    .sas-modernization-path-content p {
        max-width: 920px;
        margin: 0 0 18px;
        color: var(--sas-muted) !important;
        font-size: 0.9rem;
        line-height: 1.67;
    }


        /* Last statement */

        .sas-modernization-path-content p:last-child {
            margin-top: 20px;
            margin-bottom: 0;
            padding-top: 16px;
            border-top: 1px solid var(--sas-border-soft);
            color: #4d5f72 !important;
            font-size: 0.88rem;
            line-height: 1.62;
        }


    /* ============================================================
   Numbered modernisation steps
   ============================================================ */

    .sas-modernization-path-content ol {
        counter-reset: sas-modernisation-step;
        display: grid;
        gap: 9px;
        margin: 20px 0 0;
        padding: 0;
        list-style: none;
    }


        .sas-modernization-path-content ol li {
            counter-increment: sas-modernisation-step;
            position: relative;
            min-height: 34px;
            margin: 0;
            padding: 8px 10px 8px 42px;
            color: var(--sas-muted) !important;
            border: 1px solid transparent;
            border-radius: 5px;
            background: transparent;
            font-size: 0.86rem;
            line-height: 1.52;
            transition: background-color 150ms ease, border-color 150ms ease;
        }


            .sas-modernization-path-content ol li::before {
                content: counter(sas-modernisation-step);
                position: absolute;
                top: 8px;
                left: 8px;
                width: 25px;
                height: 25px;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 1px solid var(--sas-accent-border);
                border-radius: 50%;
                background: var(--sas-surface-blue);
                color: var(--sas-accent-strong);
                font-family: var(--sas-font-mono);
                font-size: 0.68rem;
                font-weight: 800;
                line-height: 1;
            }


            .sas-modernization-path-content ol li strong {
                color: #314156;
                font-weight: 700;
            }


.sas-modernization-path:hover
.sas-modernization-path-content ol li {
    border-color: rgba(185, 223, 241, 0.35);
    background: rgba(241, 248, 252, 0.42);
}


/* ============================================================
   Diagram panel
   ============================================================ */

.sas-modernization-path-diagram {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 2.5vw, 38px) clamp(20px, 2.5vw, 34px);
    overflow: hidden;
    border-left: 1px solid var(--sas-border-soft);
    background: radial-gradient( circle at 78% 18%, rgba(36, 152, 210, 0.095), transparent 35% ), linear-gradient( 180deg, #f8fbfd 0%, #f2f7fa 100% );
    box-sizing: border-box;
}


    /* Technical grid background */

    .sas-modernization-path-diagram::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0.7;
        background-image: linear-gradient( rgba(32, 41, 57, 0.035) 1px, transparent 1px ), linear-gradient( 90deg, rgba(32, 41, 57, 0.035) 1px, transparent 1px );
        background-size: 24px 24px;
        mask-image: linear-gradient( 90deg, rgba(0,0,0,0.18), rgba(0,0,0,0.75) );
    }


    /* subtle inner edge */

    .sas-modernization-path-diagram::after {
        content: "";
        position: absolute;
        top: 24px;
        bottom: 24px;
        left: 0;
        width: 1px;
        background: linear-gradient( 180deg, transparent, rgba(36, 152, 210, 0.35), transparent );
    }


    /* ============================================================
   SVG diagrams
   ============================================================ */

    .sas-modernization-path-diagram svg {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        max-width: 430px;
        height: auto;
        overflow: visible;
        filter: drop-shadow( 0 4px 8px rgba(20, 35, 52, 0.045) );
    }


    /* Diagram headings */

    .sas-modernization-path-diagram .title-label {
        fill: var(--sas-accent-strong);
        font-family: var(--sas-font);
        font-size: 12px;
        font-weight: 750;
        letter-spacing: 0.015em;
    }


    /* Normal SVG text */

    .sas-modernization-path-diagram text {
        font-family: var(--sas-font);
        fill: #314156;
        font-size: 12px;
        font-weight: 650;
    }


    /* Smaller diagram annotations */

    .sas-modernization-path-diagram .small-label {
        fill: #667689;
        font-size: 10px;
        font-weight: 600;
    }


/* ============================================================
   Current / newest generation card
   Give the .NET 10 path a slightly stronger identity.
   ============================================================ */

#modernize-net10 {
    border-color: var(--sas-accent-border) !important;
    background: linear-gradient( 180deg, #ffffff 0%, #f7fbfd 100% ) !important;
}


    #modernize-net10::before {
        width: 5px;
    }


    #modernize-net10
    .sas-modernization-path-diagram {
        background: radial-gradient( circle at 76% 18%, rgba(36, 152, 210, 0.16), transparent 38% ), linear-gradient( 180deg, #f5fbfe 0%, #edf6fa 100% );
    }


/* ============================================================
   Anchor navigation
   Prevent fixed navbar covering card heading.
   ============================================================ */

.sas-modernization-path {
    scroll-margin-top: calc(var(--sas-nav-height) + 20px);
}


/* ============================================================
   Tablet
   ============================================================ */

@media (max-width: 991.98px) {

    .sas-modernization-path-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }


    .sas-modernization-path-content {
        padding: 28px 26px;
    }


    .sas-modernization-path-diagram {
        min-height: 230px;
        padding: 24px;
        border-left: 0;
        border-top: 1px solid var(--sas-border-soft);
    }


        .sas-modernization-path-diagram::after {
            top: 0;
            right: 24px;
            bottom: auto;
            left: 24px;
            width: auto;
            height: 1px;
            background: linear-gradient( 90deg, transparent, rgba(36, 152, 210, 0.35), transparent );
        }


        .sas-modernization-path-diagram svg {
            max-width: 390px;
        }
}


/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 575.98px) {

    .sas-modernization-intro {
        margin-bottom: 1.4rem;
    }


        .sas-modernization-intro p {
            font-size: 0.88rem;
            line-height: 1.6;
        }


    .sas-modernization-paths {
        gap: 1rem;
    }


    .sas-modernization-path {
        border-radius: 7px !important;
    }


        .sas-modernization-path::before {
            width: 3px;
        }


    .sas-modernization-path-content {
        padding: 22px 18px 24px 20px;
    }


        .sas-modernization-path-content
        .sas-evolution-period {
            margin-bottom: 9px;
            font-size: 0.65rem;
        }


        .sas-modernization-path-content h3 {
            margin-bottom: 12px;
            font-size: 1.08rem !important;
        }


        .sas-modernization-path-content p {
            font-size: 0.84rem;
            line-height: 1.58;
        }


        .sas-modernization-path-content ol {
            gap: 7px;
            margin-top: 16px;
        }


            .sas-modernization-path-content ol li {
                padding: 7px 6px 7px 37px;
                font-size: 0.82rem;
                line-height: 1.5;
            }


                .sas-modernization-path-content ol li::before {
                    top: 7px;
                    left: 4px;
                    width: 24px;
                    height: 24px;
                }


        .sas-modernization-path-content p:last-child {
            margin-top: 16px;
            padding-top: 14px;
        }


    .sas-modernization-path-diagram {
        min-height: 190px;
        padding: 20px 16px;
    }


        .sas-modernization-path-diagram svg {
            max-width: 310px;
        }
}


/* ============================================================
   Very narrow devices
   ============================================================ */

@media (max-width: 399.98px) {

    .sas-modernization-path-content {
        padding: 20px 14px 22px 17px;
    }


    .sas-modernization-path-diagram {
        padding: 18px 10px;
    }


        .sas-modernization-path-diagram svg {
            max-width: 280px;
        }
}


/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .sas-modernization-path,
    .sas-modernization-path-content ol li {
        transition: none;
    }


        .sas-modernization-path:hover {
            transform: none;
        }
}


/* ============================================================
   Base
   ============================================================ */

.section-content-container {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    padding-right: 10px;
    padding-left: 10px;
}


    .section-content-container h1 {
        font-size: 1.8em !important;
        font-weight: 400 !important;
        margin-bottom: 1rem;
        color: black !important;
    }

    .section-content-container h2 {
        font-size: 0.875em;
        font-weight: 600;
        margin-bottom: 1rem;
    }

.sas-brand {
    min-height: 300px;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: clamp(8px, 1vw, 18px);
    align-items: center;
    position: relative;
    overflow: visible;
}


/* ARC IMAGE */
.sas-brand-arc {
    position: relative;
    display: block;
    width: 100%;
    max-width: 330px;
    height: auto;
    justify-self: start;
    z-index: 0;
    pointer-events: none;
}

/* TEXT */
.sas-brand-content {
    position: relative;
    min-width: 0;
    width: 100%;
    margin: 0;
    z-index: 1;
}

    .sas-brand-content h1 {
        margin: 0;
        font-family: "Segoe UI", sans-serif;
        font-size: 42px !important;
        font-weight: 400 !important;
        color: white;
        white-space: nowrap;
    }

    .sas-brand-content h2 {
        margin: 6px 0 0 0;
        font-family: "Segoe UI", sans-serif;
        font-size: 22px !important;
        font-weight: 300 !important;
        color: white;
        white-space: nowrap;
        padding-bottom: 8px;
    }

    .sas-brand-content p {
        margin-top: 8px;
        font-family: "Segoe UI", sans-serif;
        font-size: 16px;
        font-weight: 300;
        color: #d4dce7;
        max-width: 430px;
        white-space: normal;
        line-height: 1.5;
        margin-left: 1px;
    }

.sas-brand-name {
    color: #f5f7fb;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    padding-left: 10px;
}

html {
    min-height: 100%;
    background: var(--sas-bg);
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    padding-top: var(--sas-nav-height);
    padding-bottom: var(--sas-footer-height);
    color: var(--sas-text);
    background: linear-gradient(180deg, #f7fafc 0%, var(--sas-bg) 100%) !important;
    font-family: var(--sas-font);
    line-height: 1.62;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main,
main[role="main"] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

h1 {
    font-family: var(--sas-font) !important;
    font-weight: 650 !important;
    font-size: 50px !important;
    color: white !important;
    letter-spacing: -0.025em !important;
}

h2 {
    font-family: var(--sas-font) !important;
    font-weight: 500 !important;
    font-size: 25px !important;
    color: var(--sas-text-strong) !important;
    letter-spacing: -0.018em !important;
}

h3 {
    font-family: var(--sas-font) !important;
    font-weight: 560 !important;
    font-size: 17px !important;
    color: var(--sas-text-strong) !important;
    letter-spacing: -0.01em !important;
}

h4,
h5,
h6 {
    color: var(--sas-text-strong);
}

p,
li,
dd,
small,
.text-muted {
    color: var(--sas-muted) !important;
}

a {
    color: var(--sas-accent-strong);
    text-decoration: none;
}

    a:hover,
    a:focus-visible {
        color: #0b6899;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

::selection {
    background: rgba(36, 152, 210, 0.22);
    color: var(--sas-text-strong);
}

hr {
    border: 0;
    height: 1px;
    margin: 24px 0;
    background: var(--sas-border);
}

code,
pre,
kbd,
samp {
    font-family: var(--sas-font-mono);
}

code {
    padding: 0.14em 0.34em;
    color: #235d7a;
    border: 1px solid #d5e8f2;
    border-radius: 4px;
    background: #edf7fc;
}

/* ============================================================
   Header / navigation
   Shared translucent navigation treatment.
   ============================================================ */

.site-header,
body > header,
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4000;
    min-height: var(--sas-nav-height);
    background: rgba(4, 24, 43, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 8px 24px rgba(4, 18, 31, 0.10) !important;
    backdrop-filter: blur(16px) saturate(115%);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
    transition: background-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}


    /* ============================================================
   Scrolled navigation state
   Becomes solid once the hero has moved behind the page content.
   ============================================================ */

    .site-header.is-scrolled,
    body > header.is-scrolled,
    .navbar.is-scrolled {
        background: rgba(7, 28, 48, 0.98) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 8px 24px rgba(4, 18, 31, 0.18) !important;
        backdrop-filter: blur(16px) saturate(115%);
        -webkit-backdrop-filter: blur(16px) saturate(115%);
    }


    .navbar .container,
    .navbar .container-fluid,
    .site-header .container,
    .site-header .container-fluid,
    header .container,
    header .container-fluid {
        min-height: var(--sas-nav-height);
        display: flex;
        align-items: center;
        gap: 18px;
        padding-left: clamp(24px, 3vw, 48px) !important;
        padding-right: clamp(24px, 3vw, 48px) !important;
    }


    .navbar-brand,
    .navbar .navbar-brand,
    .site-header .navbar-brand {
        min-height: var(--sas-nav-height);
        display: inline-flex;
        align-items: center;
        padding: 0 !important;
        margin-right: 24px !important;
        border-right: 0 !important;
        background: transparent !important;
        text-decoration: none !important;
    }


        .sas-public-logo,
        .navbar-brand img {
            width: auto !important;
            height: 36px !important;
            max-width: min(340px, 46vw);
            object-fit: contain;
            box-shadow: none !important;
        }


.navbar-collapse,
.navbar-nav,
.nav-item {
    z-index: 4100;
}


.navbar-nav {
    align-items: center;
    gap: 18px;
}


.dropdown {
    z-index: 4100 !important;
}


.navbar .nav-link,
.navbar a:not(.navbar-brand),
.site-header a:not(.navbar-brand) {
    min-height: var(--sas-nav-height);
    display: inline-flex;
    align-items: center;
    padding: 0 5px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 0.82rem !important;
    font-weight: 650 !important;
    letter-spacing: -0.005em;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: color 140ms ease, opacity 140ms ease;
}


    .navbar .nav-link:hover,
    .navbar .nav-link:focus-visible,
    .navbar a:not(.navbar-brand):hover,
    .site-header a:not(.navbar-brand):hover {
        color: #ffffff !important;
        background: transparent !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }


    .navbar .nav-link.active,
    .navbar a.active,
    .navbar .show > .nav-link {
        color: #ffffff !important;
        background: transparent !important;
        box-shadow: none !important;
    }


.sas-navbar-toggler,
.navbar-toggler {
    width: 42px;
    height: 38px;
    padding: 0 !important;
    border: 1px solid rgba(77, 184, 234, 0.42) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    box-shadow: none !important;
}


    .sas-navbar-toggler:focus,
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.16rem rgba(36, 152, 210, 0.22) !important;
    }


.sas-navbar-toggler-lines {
    width: 18px;
    height: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}


    .sas-navbar-toggler-lines span {
        display: block;
        height: 2px;
        border-radius: 99px;
        background: #e7edf4;
    }

/* ============================================================
   Navigation dropdowns
   ============================================================ */

.navbar .dropdown-menu {
    min-width: 260px;
    margin-top: 8px;
    padding: 8px;
    background: rgba(17, 29, 44, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 10px;
    box-shadow: 0 20px 46px rgba(8, 19, 31, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

    .navbar .dropdown-menu .dropdown-item {
        min-height: 0 !important;
        display: flex;
        align-items: center;
        padding: 10px 12px !important;
        color: #c3ccd7 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 2px !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        line-height: 1.35;
        white-space: nowrap;
        box-shadow: none !important;
    }

        .navbar .dropdown-menu .dropdown-item:hover,
        .navbar .dropdown-menu .dropdown-item:focus-visible {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.05) !important;
            box-shadow: none !important;
        }

.navbar .dropdown-divider {
    margin: 4px 0;
    border-color: rgba(255, 255, 255, 0.10);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer,
footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    min-height: var(--sas-footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: #b9c8d7 !important;
    background: radial-gradient(circle at 18% 0%, rgba(42, 166, 223, 0.08), transparent 30%), linear-gradient(180deg, var(--sas-navy-850), var(--sas-navy-900)) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 -10px 28px rgba(8,19,31,0.12) !important;
    font-size: 0.84rem;
    text-align: center;
}

    .site-footer .container,
    .site-footer .container-fluid,
    footer .container,
    footer .container-fluid {
        width: min(1320px, calc(100% - 32px));
        min-height: var(--sas-footer-height);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-inline: auto;
    }

.sas-public-footer {
    justify-content: center !important;
}

.site-footer p,
footer p {
    margin: 0 !important;
    color: #b8c3cf !important;
}

.site-footer a,
footer a {
    color: #70c3e9 !important;
    font-weight: 650;
}

/* ============================================================
   Shared corporate surfaces
   ============================================================ */

.card,
.panel,
.feature-card,
.pricing-card,
.product-card,
.box {
    color: var(--sas-text);
    border: 1px solid var(--sas-border) !important;
    border-radius: var(--sas-radius-md) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    box-shadow: var(--sas-shadow-sm) !important;
}

.card-header,
.panel-header,
.card-title-header {
    color: var(--sas-text-strong) !important;
    border-bottom: 1px solid var(--sas-border-soft) !important;
    background: var(--sas-surface-soft) !important;
}

.card-footer {
    border-top: 1px solid var(--sas-border-soft) !important;
    background: var(--sas-surface-soft) !important;
}

.card h2,
.card h3,
.card h4,
.card h5,
.card-title {
    color: var(--sas-text-strong) !important;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn,
button,
input[type="button"],
input[type="submit"],
.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px !important;
    border: 1px solid var(--sas-border-strong) !important;
    border-radius: 6px !important;
    color: #243245 !important;
    background: #ffffff !important;
    font-weight: 700;
    letter-spacing: -0.005em;
    text-decoration: none !important;
    box-shadow: var(--sas-shadow-xs) !important;
    transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

    .btn:hover,
    button:hover,
    input[type="button"]:hover,
    input[type="submit"]:hover,
    .button:hover {
        color: var(--sas-text-strong) !important;
        border-color: #adc0cf !important;
        background: #f8fafc !important;
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(20,35,52,0.08) !important;
    }

.btn-primary {
    border-color: var(--sas-accent-strong) !important;
    background: linear-gradient(180deg, #32abe1 0%, #178cc4 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(22, 137, 192, 0.18) !important;
}

.button-primary,
button.primary,
input[type="submit"].btn-primary {
    border-color: var(--sas-accent-strong) !important;
    background: linear-gradient(180deg, #2da5df 0%, #1687bf 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(20,127,184,0.18) !important;
}

.btn-primary:hover {
    border-color: #1179ad !important;
    background: linear-gradient(180deg, #2aa2d8 0%, #1179ad 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(22, 137, 192, 0.24) !important;
}

.button-primary:hover,
button.primary:hover,
input[type="submit"].btn-primary:hover {
    border-color: #0f75aa !important;
    background: linear-gradient(180deg, #269bd4 0%, #117aaf 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(20,127,184,0.22) !important;
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(36,152,210,0.18) !important;
}

/* ============================================================
   Forms / tables for future commercial pages
   ============================================================ */

label {
    color: #46576a;
    font-weight: 650;
}

input,
select,
textarea,
.form-control {
    color: var(--sas-text) !important;
    border: 1px solid var(--sas-border-strong) !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    box-shadow: inset 0 1px 1px rgba(20,35,52,0.02), 0 1px 2px rgba(15,31,49,0.025) !important;
}

    input:focus,
    select:focus,
    textarea:focus,
    .form-control:focus {
        outline: none !important;
        border-color: var(--sas-accent) !important;
        box-shadow: 0 0 0 3px rgba(36,152,210,0.14) !important;
    }

table,
.table {
    width: 100%;
    color: var(--sas-text) !important;
    border: 1px solid var(--sas-border) !important;
    background: #ffffff !important;
    border-collapse: collapse !important;
}

th,
td {
    padding: 13px 14px !important;
    border-bottom: 1px solid var(--sas-border-soft) !important;
}

th {
    color: #314156 !important;
    background: #f5f8fa !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================================
   Public site shell
   ============================================================ */

.sas-public-shell {
    width: calc(100% - 48px);
    max-width: none;
    margin-inline: auto;
}

.sas-public-narrow {
    max-width: 900px;
}

.sas-public-hero,
.sas-page-hero,
.sas-public-section {
    position: relative;
}

.sas-public-section {
    padding: clamp(32px, 4vw, 48px) 0;
}

/* ============================================================
   Alternate light hero / legacy public hero
   ============================================================ */

.sas-public-hero {
    padding: clamp(78px, 8vw, 118px) 0 clamp(70px, 7vw, 104px);
    overflow: hidden;
    background: radial-gradient(circle at 84% 18%, rgba(36,152,210,0.13), transparent 29%), linear-gradient(180deg, #f8fbfd 0%, #f1f6f9 100%);
    border-bottom: 1px solid var(--sas-border);
}

    .sas-public-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(32,41,57,0.025) 1px, transparent 1px), linear-gradient(rgba(32,41,57,0.025) 1px, transparent 1px);
        background-size: 48px 48px;
        mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.4) 58%, rgba(0,0,0,.7));
    }

.sas-public-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.76fr);
    gap: clamp(28px, 4vw, 55px);
    align-items: center;
}

.sas-public-hero h1,
.sas-page-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--sas-text-strong) !important;
    font-size: clamp(2.8rem, 5vw, 5.2rem) !important;
    line-height: 1.01 !important;
    letter-spacing: -0.052em !important;
    font-weight: 780;
}

    .sas-public-hero h1 span {
        color: var(--sas-accent-strong);
    }

.sas-public-hero .lead,
.sas-page-hero .lead {
    max-width: 770px;
    margin-top: 25px;
    color: #516174 !important;
    font-size: clamp(1.04rem, 1.35vw, 1.19rem);
    line-height: 1.72;
}

.sas-eyebrow {
    margin: 0 0 13px !important;
    color: #6fc4e8 !important;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

.sas-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .sas-trust-row span {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 4px 10px;
        color: #536475;
        border: 1px solid #d5e0e8;
        border-radius: 4px;
        background: rgba(255,255,255,0.72);
        font-size: 0.73rem;
        font-weight: 750;
        letter-spacing: 0.035em;
    }

/* The engineering panel deliberately remains dark.
   This is the strongest visual bridge back to DataArc. */
.sas-system-panel {
    overflow: hidden;
    border: 1px solid #35465b !important;
    border-radius: 10px !important;
    color: #eef4f9;
    background: linear-gradient(180deg, #253245 0%, #1a2431 100%) !important;
    box-shadow: 0 20px 46px rgba(20,35,52,0.18) !important;
}

    .sas-system-panel .card-header {
        min-height: 54px;
        padding: 12px 16px;
        color: #eef4f9 !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        background: rgba(12,18,27,0.30) !important;
    }

        .sas-system-panel .card-header strong {
            color: #eef4f9;
            font-size: 0.78rem;
            letter-spacing: 0.07em;
        }

        .sas-system-panel .card-header small {
            color: #91a1b4 !important;
        }

    .sas-system-panel .card-body {
        padding: 16px !important;
        background: transparent !important;
    }

.sas-system-stack {
    display: grid;
    gap: 8px;
}

    .sas-system-stack > div {
        display: grid;
        gap: 3px;
        padding: 12px 13px;
        border: 1px solid rgba(255,255,255,0.07);
        border-radius: 5px;
        background: rgba(9,15,23,0.28);
    }

    .sas-system-stack small {
        color: #8ea2b8 !important;
        font-size: 0.64rem;
        font-weight: 800;
        letter-spacing: 0.08em;
    }

    .sas-system-stack strong {
        color: #f3f7fb;
        font-size: 0.88rem;
    }

    .sas-system-stack code {
        width: fit-content;
        color: #a9d8ee;
        border-color: rgba(90,182,225,0.13);
        background: rgba(36,152,210,0.07);
        font-size: 0.69rem;
    }

.sas-system-panel .card-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    background: rgba(9,15,23,0.28) !important;
}

    .sas-system-panel .card-footer small {
        color: #67c1e8 !important;
        font-weight: 800;
        letter-spacing: 0.08em;
    }

    .sas-system-panel .card-footer p {
        color: #b8c6d3 !important;
    }

/* ============================================================
   Sector band
   ============================================================ */

.sas-public-band {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--sas-footer-height);
    z-index: 999;
    border-top: 1px solid var(--sas-border-soft);
    border-bottom: 1px solid var(--sas-border);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 -8px 24px rgba(15,31,49,0.035);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sas-sector-strip {
    min-height: 46px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    padding-block: 4px !important;
}

    .sas-sector-strip span {
        color: #6d7986;
        font-size: 0.73rem;
        font-weight: 780;
        letter-spacing: 0.075em;
        padding-block: 4px !important;
    }
/* ============================================================
   Page heroes
   ============================================================ */

.sas-page-hero {
    padding: clamp(66px, 7vw, 94px) 0;
    background: radial-gradient(circle at 88% 8%, rgba(42,166,223,0.12), transparent 28%), linear-gradient(180deg, #fbfdff 0%, #eef5f9 100%);
    border-bottom: 1px solid var(--sas-border);
}

    .sas-page-hero h1 {
        max-width: 880px;
        font-size: clamp(2.45rem, 4.1vw, 4.2rem) !important;
    }
/* ============================================================
   Section rhythm and hierarchy
   ============================================================ */

.sas-public-section-alt {
    background: var(--sas-bg-alt);
    border-block: 1px solid var(--sas-border);
}

.sas-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
    gap: clamp(36px, 6vw, 72px);
    align-items: end;
    margin-bottom: 34px;
}

    .sas-section-heading h2,
    .sas-public-section h2 {
        margin: 0;
        color: var(--sas-text-strong) !important;
        font-size: clamp(1.95rem, 3vw, 3.15rem);
        line-height: 1.1;
        letter-spacing: -0.035em;
        font-weight: 760;
    }

    .sas-section-heading > p {
        margin: 0;
        color: #607082 !important;
    }
/* ============================================================
   Corporate cards
   ============================================================ */

.sas-card-grid {
    display: grid;
    gap: 18px;
}

.sas-card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sas-card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sas-card-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sas-card-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sas-card-grid .card {
    height: 100%;
    box-shadow: var(--sas-shadow-xs) !important;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

    .sas-card-grid .card:hover {
        transform: translateY(-2px);
        border-color: #c5d3de !important;
        box-shadow: var(--sas-shadow-sm) !important;
    }

.sas-card-grid .card-header {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 16px;
}

    .sas-card-grid .card-header span,
    .sas-card-grid .card-header small {
        color: #74818f !important;
        font-size: 0.69rem;
        font-weight: 800;
        letter-spacing: 0.06em;
    }

.sas-card-grid .card-body {
    padding: 24px !important;
}

.sas-card-grid h3 {
    margin: 0 0 12px;
    color: var(--sas-text-strong) !important;
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: -0.018em;
}

.sas-info-card {
    position: relative;
    overflow: hidden;
}

.sas-featured-card {
    border-color: var(--sas-accent-border) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5fbfe 100%) !important;
    box-shadow: 0 8px 24px rgba(20,127,184,0.09) !important;
}

    .sas-featured-card::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 3px;
        background: var(--sas-accent);
    }

.sas-number {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--sas-accent-strong);
    font-family: var(--sas-font-mono);
    font-size: 0.82rem;
    font-weight: 800;
}

.sas-preview-code {
    display: block;
    min-height: 62px;
    margin: 14px 0 18px;
    padding: 12px;
    color: #365c70;
    border: 1px solid #dce8ee;
    border-radius: 5px;
    background: #f5f9fb;
    white-space: normal;
}

.sas-feature-list {
    margin: 18px 0 0;
    padding-left: 1.15rem;
}

    .sas-feature-list li {
        margin-bottom: 9px;
        color: var(--sas-muted) !important;
    }

        .sas-feature-list li::marker {
            color: var(--sas-accent);
        }
/* ============================================================
   Position statement
   ============================================================ */

.sas-position-panel {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding: 22px 24px;
    border: 1px solid var(--sas-accent-border);
    border-left: 4px solid var(--sas-accent);
    border-radius: 7px;
    background: var(--sas-surface-blue);
    box-shadow: var(--sas-shadow-xs);
}

    .sas-position-panel span {
        color: var(--sas-accent-strong);
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.08em;
    }

    .sas-position-panel p {
        margin: 0;
        color: #506174 !important;
    }
/* ============================================================
   Process / approach
   ============================================================ */

.sas-process-list {
    display: grid;
    gap: 14px;
    max-width: 1040px;
}

    .sas-process-list .card {
        box-shadow: var(--sas-shadow-xs) !important;
    }

    .sas-process-list .card-body {
        display: grid;
        grid-template-columns: 72px 1fr;
        gap: 24px;
        padding: 27px 30px !important;
    }

    .sas-process-list .sas-number {
        margin: 3px 0 0;
    }

    .sas-process-list h2 {
        font-size: 1.52rem;
    }
/* ============================================================
   CTA section - dark brand anchor like the portal
   ============================================================ */

.sas-public-cta-section {
    position: relative;
    isolation: isolate;
    color: #edf3f8;
    background: radial-gradient(circle at 78% 34%, rgba(31, 156, 219, 0.20), transparent 28%), radial-gradient(circle at 96% -10%, rgba(89, 181, 228, 0.12), transparent 30%), linear-gradient(115deg, var(--sas-hero-start) 0%, var(--sas-hero-mid) 48%, var(--sas-hero-end) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(10,22,36,0.45);
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding-top: 34px;
    padding-bottom: 30px;
}

    .sas-public-cta-section::before,
    .sas-public-cta-section::after {
        content: "";
        position: absolute;
        z-index: -1;
        pointer-events: none;
        border: 1px solid rgba(116, 202, 239, 0.10);
        border-radius: 50%;
    }

    .sas-public-cta-section::before {
        width: 620px;
        height: 620px;
        right: -190px;
        top: -390px;
    }

    .sas-public-cta-section::after {
        width: 430px;
        height: 430px;
        right: 80px;
        top: -260px;
    }

    .sas-public-cta-section .sas-eyebrow {
        color: #6bc2e8 !important;
    }

    .sas-public-cta-section h2,
    .sas-public-cta-section h3 {
        color: #f3f7fb !important;
    }

    .sas-public-cta-section p {
        color: #bbc6d2 !important;
    }

.sas-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: clamp(36px, 7vw, 82px);
    align-items: center;
}

.sas-public-cta-section .card {
    border-color: rgba(255,255,255,0.13) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)) !important;
    box-shadow: 0 22px 54px rgba(4, 14, 25, 0.22) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sas-public-cta-section .card-body {
    padding: 26px !important;
}

.sas-public-cta-section .card p {
    color: #c5cfda !important;
}

/* ============================================================
   Informational alerts - same soft dark surface as CTA cards
   ============================================================ */

.alert-info {
    color: #c5cfda !important;
    border: 1px solid #3a4658 !important;
    background: linear-gradient(180deg, #2c3544 0%, #252e3c 100%) !important;
    box-shadow: 0 10px 24px rgba(20, 35, 52, 0.12) !important;
}

    .alert-info strong,
    .alert-info h4,
    .alert-info h5,
    .alert-info h6 {
        color: #f3f7fb !important;
    }

    .alert-info p,
    .alert-info li,
    .alert-info small,
    .alert-info .text-muted {
        color: #c5cfda !important;
    }

    .alert-info a {
        color: #6bc2e8 !important;
    }

        .alert-info a:hover,
        .alert-info a:focus-visible {
            color: #9edcf5 !important;
        }
/* ============================================================
   Contact
   ============================================================ */

.sas-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
    gap: 20px;
    align-items: stretch;
}

    .sas-contact-grid .card-body {
        padding: 28px !important;
    }

.sas-contact-list {
    margin: 25px 0 0;
}

    .sas-contact-list > div {
        display: grid;
        grid-template-columns: 130px 1fr;
        gap: 18px;
        padding: 13px 0;
        border-bottom: 1px solid var(--sas-border-soft);
    }

    .sas-contact-list dt {
        color: #7a8795;
        font-size: 0.76rem;
        font-weight: 750;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .sas-contact-list dd {
        margin: 0;
    }


/* ============================================================
   Evolution timeline
   ============================================================ */

.sas-evolution {
    /* border-top: 1px solid var(--sas-border-soft);
    border-bottom: 1px solid var(--sas-border-soft);*/
    padding-top: 0px;
    padding-right: 10px;
    padding-left: 10px;
}


/* ============================================================
   Evolution card container
   ============================================================ */

.card.sas-evolution-card {
    margin: 18px 14px 0;
    overflow: visible;
    color: var(--sas-text);
    border: 1px solid var(--sas-border-soft) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    box-shadow: 0 14px 34px rgba(15, 31, 49, 0.06) !important;
}

.sas-evolution-card > .card-body {
    padding: clamp(26px, 2.6vw, 42px) clamp(22px, 3vw, 48px) !important;
}


/* ============================================================
   Evolution header
   ============================================================ */

.sas-evolution-header {
    max-width: 860px;
    margin: 0 0 34px;
}

    .sas-evolution-header h2 {
        margin: 0 0 8px;
        color: var(--sas-text-strong) !important;
        font-size: clamp(1.7rem, 2.4vw, 2.3rem) !important;
        font-weight: 500 !important;
        line-height: 1.15;
    }

    .sas-evolution-header p {
        margin: 0;
        color: var(--sas-muted) !important;
        font-size: 1rem;
        line-height: 1.6;
    }


/* ============================================================
   Timeline
   ============================================================ */

.sas-evolution-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    padding-top: 24px;
    overflow: visible;
}

    .sas-evolution-timeline::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 10px;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient( 90deg, var(--sas-border) 0%, var(--sas-accent-border) 60%, var(--sas-accent) 100% );
    }


/* ============================================================
   Evolution stage - normal state
   ============================================================ */

.sas-evolution-stage {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 20px clamp(14px, 1.45vw, 24px) 26px;
    color: var(--sas-text);
    border-left: 1px solid var(--sas-border-soft);
    background: rgba(42, 166, 223, 0.025);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

    .sas-evolution-stage:first-of-type {
        border-left: 0;
    }


/* Period */

.sas-evolution-period {
    margin-bottom: 7px;
    color: var(--sas-accent-strong) !important;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    transition: color 180ms ease;
}


/* Heading */

.sas-evolution-stage h3 {
    min-height: 48px;
    margin: 0 0 7px;
    color: var(--sas-text-strong) !important;
    font-size: 1.06rem !important;
    font-weight: 450 !important;
    line-height: 1.3;
    transition: color 180ms ease;
}


/* Focus */

.sas-evolution-focus {
    min-height: 42px;
    margin-bottom: 18px;
    color: var(--sas-text) !important;
    font-size: 0.84rem;
    line-height: 1.42;
    transition: color 180ms ease;
}


/* Description */

.sas-evolution-stage p {
    min-height: 112px;
    margin: 0;
    color: var(--sas-muted) !important;
    font-size: 0.84rem;
    line-height: 1.58;
    transition: color 180ms ease;
}

/* ============================================================
   Evolution stage - hover / active state
   ============================================================ */

.sas-evolution-stage:hover,
.sas-evolution-stage.sas-evolution-stage-active {
}

    .sas-evolution-stage:hover .sas-evolution-period,
    .sas-evolution-stage.sas-evolution-stage-active .sas-evolution-period {
        /*color: #6bc2e8 !important;*/
    }

    .sas-evolution-stage:hover h3,
    .sas-evolution-stage.sas-evolution-stage-active h3 {
        /*color: #ffffff !important;*/
    }

    .sas-evolution-stage:hover .sas-evolution-focus,
    .sas-evolution-stage.sas-evolution-stage-active .sas-evolution-focus {
        /*color: #ffffff !important;*/
    }

    .sas-evolution-stage:hover p,
    .sas-evolution-stage.sas-evolution-stage-active p {
        /*color: #ffffff !important;*/
    }


/* ============================================================
   Current generation
   ============================================================ */

.sas-evolution-stage-current {
    background: var(--sas-surface-blue);
}

    .sas-evolution-stage-current:hover,
    .sas-evolution-stage-current.sas-evolution-stage-active {
        background: var(--sas-navy-800);
    }


/* ============================================================
   Timeline markers
   ============================================================ */

.sas-evolution-marker {
    position: absolute;
    z-index: 4;
    top: -22px;
    left: clamp(12px, 1.45vw, 22px);
    width: 16px;
    height: 16px;
    border: 2px solid #eef4f8;
    border-radius: 50%;
    background: var(--sas-navy-900);
    box-shadow: 0 0 0 4px rgba(36, 152, 210, 0.08);
    transition: transform 170ms ease, background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

    .sas-evolution-stage-current .sas-evolution-marker,
    .sas-evolution-marker.sas-node-active {
        background: var(--sas-accent);
        border-color: #ffffff;
        box-shadow: 0 0 0 5px rgba(36, 152, 210, 0.12), 0 4px 12px rgba(20, 127, 184, 0.16);
    }

    .sas-evolution-marker.sas-node-active {
        transform: scale(1.16);
    }


/* ============================================================
   Technology labels
   ============================================================ */

.sas-evolution-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    justify-content: center;
}

    .sas-evolution-tech span {
        display: inline-flex;
        align-items: center;
        min-height: 27px;
        padding: 4px 8px;
        color: var(--sas-text);
        border: 1px solid var(--sas-accent-border);
        border-radius: var(--sas-radius-sm);
        background: rgba(255, 255, 255, 0.65);
        font-size: 0.69rem;
        white-space: nowrap;
        transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
    }

.sas-evolution-stage:hover .sas-evolution-tech span,
.sas-evolution-stage.sas-evolution-stage-active .sas-evolution-tech span {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}


/*
   Solid Arc timeline runner.
   It stays on the current generation and glides to whichever stage is
   hovered, focused or tapped. JavaScript only changes its transform.
*/

/* ============================================================
   Evolution runner
   ============================================================ */

.sas-evolution-timeline {
    position: relative;
}

.sas-evolution-runner {
    position: absolute;
    z-index: 30;
    top: 0;
    left: 0;
    width: 78px;
    height: 78px;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    will-change: transform;
    transition: transform 420ms cubic-bezier(.22, .61, .36, 1), opacity 180ms ease;
}

.sas-evolution-timeline.sas-evolution-ready
.sas-evolution-runner {
    opacity: 1;
}


/* ============================================================
   Timeline markers
   ============================================================ */

.sas-evolution-marker {
    position: relative;
    z-index: 10;
}


/* ============================================================
   Previous arc no longer used
   ============================================================ */

.sas-evolution-arc {
    display: none;
}


/* ============================================================
   Evolution footer
   ============================================================ */

.sas-evolution-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
    padding-top: 18px;
    color: var(--sas-muted);
    border-top: 1px solid var(--sas-border-soft);
    font-size: 0.86rem;
}

    .sas-evolution-footer strong {
        color: var(--sas-accent-strong);
        font-weight: 700;
    }

/* ============================================================
   Global layout hardening
   ============================================================ */

img {
    max-width: 100%;
    height: auto;
}

pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.btn,
button,
.button {
    max-width: 100%;
    white-space: normal;
}

/* ============================================================
   Large desktop scaling
   ============================================================ */

@media (min-width: 1800px) {
    .sas-brand {
        grid-template-columns: 330px minmax(0, 1fr);
    }

    .sas-brand-arc {
        max-width: 330px;
    }
}




/* ============================================================
   UNIFIED COMPONENT SYSTEM
   Canonical shared components for public site and portal pages.
   Pages should use these classes instead of page-specific CSS.
   ============================================================ */


/* ============================================================
   Shared section primitives
   ============================================================ */

.sas-section {
    position: relative;
    width: 100%;
    padding: var(--sas-section-space) 0;
}

.sas-section-white {
    background: #ffffff;
}

.sas-section-soft {
    background: radial-gradient(circle at 90% 16%, rgba(42, 166, 223, 0.045), transparent 24%), linear-gradient(180deg, #f8fbfd 0%, #f4f8fb 100%);
}

.sas-section-blue {
    background: radial-gradient(circle at 88% 12%, rgba(42, 166, 223, 0.065), transparent 27%), linear-gradient(180deg, #f4f9fc 0%, #eef6fa 100%);
}

.sas-section-bordered {
    border-top: 1px solid var(--sas-border-soft);
    border-bottom: 1px solid var(--sas-border-soft);
}

.sas-section-header {
    max-width: 1180px;
    margin: 0 0 clamp(28px, 3vw, 42px);
}

.sas-section-label {
    margin: 0 0 10px;
    color: var(--sas-accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.sas-section-header h1,
.sas-section-header h2 {
    max-width: 1080px;
    margin: 0 0 13px !important;
    color: var(--sas-text-strong) !important;
    font-size: clamp(1.75rem, 2.35vw, 2.6rem) !important;
    font-weight: 520 !important;
    line-height: 1.14;
    letter-spacing: -0.025em !important;
}

.sas-section-header p {
    max-width: 1080px;
    margin: 0;
    color: var(--sas-muted) !important;
    font-size: clamp(0.91rem, 0.92vw, 1rem);
    line-height: 1.74;
}


/* ============================================================
   Shared architectural hero
   Use on Home, Services and future branded public pages.
   ============================================================ */

.sas-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: calc(-1 * var(--sas-nav-height));
    padding: calc(var(--sas-nav-height) + clamp(38px, 4.5vw, 64px)) 0 clamp(62px, 5.5vw, 82px);
    color: var(--sas-hero-text);
    border-top: 0;
    border-bottom: 1px solid rgba(121, 191, 226, 0.12);
    background: linear-gradient( 90deg, rgba(4, 25, 47, 0.94) 0%, rgba(5, 37, 68, 0.82) 34%, rgba(5, 42, 77, 0.42) 66%, rgba(4, 27, 50, 0.12) 100% ), url("/images/solidarc-hero-banner.webp") 66% center / cover no-repeat !important;
}

    .sas-hero::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 180deg, rgba(2, 16, 30, 0.18) 0%, transparent 44%, rgba(2, 17, 31, 0.18) 100% );
    }

    /* Subtle glass/light break across the heavy blue area */
    .sas-hero::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: -20%;
        bottom: -20%;
        left: 17%;
        width: clamp(180px, 18vw, 320px);
        pointer-events: none;
        background: linear-gradient( 112deg, transparent 0%, rgba(255, 255, 255, 0.01) 24%, rgba(146, 201, 231, 0.045) 42%, rgba(193, 224, 240, 0.085) 50%, rgba(146, 201, 231, 0.04) 58%, rgba(255, 255, 255, 0.01) 76%, transparent 100% );
        transform: skewX(-10deg);
    }

.sas-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    gap: clamp(42px, 5vw, 82px);
    align-items: center;
}

.sas-hero .sas-brand {
    min-height: 0;
    display: grid;
    grid-template-columns: clamp(180px, 13vw, 235px) minmax(0, 1fr);
    gap: clamp(24px, 2.4vw, 40px);
    align-items: center;
}

.sas-hero .sas-brand-arc {
    width: 100%;
    max-width: 235px;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.14));
}

.sas-hero .sas-brand-content {
    max-width: 760px;
}

    .sas-hero .sas-brand-content h1 {
        margin: 0;
        color: #ffffff !important;
        font-size: clamp(2.35rem, 3vw, 3.45rem) !important;
        font-weight: 500 !important;
        line-height: 1.05;
        letter-spacing: -0.035em !important;
        white-space: normal;
    }

.sas-hero .sas-eyebrow {
    font-size: clamp(0.84rem, 0.95vw, 1rem) !important;
    font-weight: 600 !important;
    color: #b8def2 !important;
    letter-spacing: 0.035em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 10px rgba(0, 0, 0, 0.35);
}

.sas-hero-summary {
    position: relative;
    max-width: 700px !important;
    margin: 22px 0 0 !important;
    padding-top: 19px;
    color: rgba(235, 243, 250, 0.86) !important;
    font-size: clamp(0.95rem, 1vw, 1.08rem) !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;
}

    .sas-hero-summary::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 42px;
        height: 2px;
        border-radius: 999px;
        background: var(--sas-accent);
        box-shadow: 0 0 14px rgba(36, 152, 210, 0.28);
    }

.sas-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    border: 1px solid rgba(112, 198, 238, 0.38) !important;
    border-radius: 12px !important;
    background: linear-gradient( 135deg, rgba(26, 75, 111, 0.64) 0%, rgba(16, 51, 78, 0.54) 100% ) !important;
    box-shadow: 0 18px 42px rgba(3, 18, 31, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(16px) saturate(112%);
    -webkit-backdrop-filter: blur(16px) saturate(112%);
}

    .sas-hero-card::before {
        content: "";
        position: absolute;
        top: 24px;
        right: 76px;
        bottom: 24px;
        width: 1px;
        background: rgba(157, 215, 243, 0.24);
        pointer-events: none;
    }

    .sas-hero-card::after {
        /*content: "\2192";*/
        position: absolute;
        z-index: 3;
        top: 50%;
        right: 20px;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        color: #ffffff;
        border: 1px solid rgba(118, 202, 240, 0.88);
        border-radius: 50%;
        background: rgba(7, 33, 55, 0.36);
        box-shadow: 0 5px 16px rgba(2, 15, 27, 0.18);
        font-size: 1.18rem;
        font-weight: 500;
        line-height: 1;
        pointer-events: none;
    }

    .sas-hero-card .card-body {
        position: relative;
        z-index: 2;
        display: grid;
        align-content: center;
        height: 100%;
        padding: clamp(26px, 2.3vw, 36px) clamp(92px, 7vw, 112px) clamp(26px, 2.3vw, 36px) clamp(30px, 2.7vw, 44px) !important;
    }

.sas-hero-card-label {
    margin-bottom: 11px;
    color: #76c8ec;
    font-size: 0.70rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sas-hero-card h2,
.sas-hero-card h3 {
    max-width: 650px;
    margin: 0 0 13px;
    color: #ffffff !important;
    font-size: clamp(1.30rem, 1.48vw, 1.64rem) !important;
    font-weight: 600 !important;
    line-height: 1.24;
    letter-spacing: -0.015em;
}

.sas-hero-card p {
    max-width: 690px;
    margin: 0;
    color: rgba(225, 236, 245, 0.88) !important;
    font-size: clamp(0.88rem, 0.92vw, 0.97rem);
    line-height: 1.66;
}

.sas-hero-card-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 9px 13px;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

    .sas-hero-card-link:hover,
    .sas-hero-card-link:focus-visible {
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.36);
        background: rgba(255, 255, 255, 0.13);
        text-decoration: none;
        transform: translateY(-1px);
    }

/* ============================================================
   Shared feature / capability cards
   ============================================================ */

.sas-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 1.5vw, 24px);
}

.sas-feature-card {
    position: relative;
    min-height: clamp(210px, 14vw, 252px);
    overflow: hidden;
    border: 1px solid #dce5ec !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg, #ffffff 0%, #fbfdfe 100%) !important;
    box-shadow: 0 2px 4px rgba(21, 42, 65, 0.025), 0 14px 34px rgba(21, 42, 65, 0.06) !important;
    transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

    .sas-feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 2px;
        opacity: 0;
        background: linear-gradient(90deg, var(--sas-accent), rgba(36, 152, 210, 0.25), transparent);
        transition: opacity 170ms ease;
    }

    .sas-feature-card:hover {
        transform: translateY(-3px);
        border-color: var(--sas-accent-border) !important;
        box-shadow: 0 4px 8px rgba(21, 42, 65, 0.035), 0 22px 48px rgba(21, 42, 65, 0.09) !important;
    }

        .sas-feature-card:hover::before {
            opacity: 1;
        }

    .sas-feature-card .card-body {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: clamp(26px, 2.2vw, 34px) !important;
    }

.sas-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin-bottom: 21px;
    color: var(--sas-accent-strong);
    border: 1px solid #cbe7f4;
    border-radius: 11px;
    background: linear-gradient(145deg, #e5f5fc, #f7fcfe);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 6px 15px rgba(36, 152, 210, 0.07);
    font-size: 1.15rem;
}

.sas-feature-card h3 {
    margin: 0 0 11px;
    color: var(--sas-text-strong) !important;
    font-size: clamp(1.05rem, 1vw, 1.18rem) !important;
    font-weight: 650 !important;
    line-height: 1.3;
    letter-spacing: -0.012em;
}

.sas-feature-card p {
    max-width: 600px;
    margin: 0;
    color: var(--sas-muted) !important;
    font-size: clamp(0.83rem, 0.82vw, 0.91rem);
    line-height: 1.72;
}

.sas-signals-section {
    position: relative;
    padding: clamp(48px, 4vw, 66px) 0 clamp(58px, 5vw, 82px);
    border-top: 1px solid var(--sas-border-soft);
    border-bottom: 1px solid var(--sas-border-soft);
    background: linear-gradient(180deg, #f5f8fb 0%, #f9fbfc 100%);
}


/* ============================================================
   Evolution presentation modifier
   The timeline remains a semantic component, not a page style.
   ============================================================ */

.sas-evolution-surface {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 0 clamp(12px, 2vw, 30px) 12px;
    background: rgba(4, 24, 43, 0.08) !important;
}

    .sas-evolution-surface .sas-evolution-card {
        overflow: hidden;
        border: 1px solid rgba(207, 220, 232, 0.92) !important;
        border-radius: 14px !important;
        background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,253,0.98)) !important;
        box-shadow: 0 20px 54px rgba(20, 42, 66, 0.10), 0 2px 6px rgba(20, 42, 66, 0.035) !important;
    }

        .sas-evolution-surface .sas-evolution-card > .card-body {
            padding: clamp(34px, 3vw, 48px) clamp(26px, 3.5vw, 58px) clamp(28px, 2.6vw, 40px) !important;
        }

    .sas-evolution-surface .sas-evolution-stage {
        padding-right: clamp(18px, 1.5vw, 28px);
        padding-left: clamp(18px, 1.5vw, 28px);
    }

    .sas-evolution-surface .sas-evolution-period {
        margin-bottom: 9px;
        font-size: clamp(0.69rem, 0.7vw, 0.78rem);
    }

    .sas-evolution-surface .sas-evolution-stage h3 {
        margin-bottom: 12px;
        font-size: clamp(1rem, 1vw, 1.16rem) !important;
        font-weight: 650 !important;
    }

    .sas-evolution-surface .sas-evolution-focus {
        margin-bottom: 15px;
        color: #41556a;
        font-size: clamp(0.78rem, 0.78vw, 0.88rem);
        font-weight: 600;
    }

    .sas-evolution-surface .sas-evolution-stage p {
        color: var(--sas-muted) !important;
        font-size: clamp(0.76rem, 0.76vw, 0.85rem);
        line-height: 1.62;
    }

    .sas-evolution-surface .sas-evolution-stage-current {
        background: linear-gradient(180deg, rgba(225,244,252,0.64), rgba(241,248,252,0.78));
    }

    .sas-evolution-surface .sas-evolution-footer {
        margin-top: clamp(24px, 2vw, 34px);
        padding-top: clamp(20px, 2vw, 28px);
        border-top: 1px solid var(--sas-border-soft);
    }


/* ============================================================
   Modernisation path component
   Shared Services-style architecture card system.
   ============================================================ */

.sas-modernisation-section {
    position: relative;
    padding: clamp(58px, 5vw, 84px) 0 clamp(70px, 6vw, 96px);
    background: radial-gradient(circle at 90% 8%, rgba(42,166,223,0.04), transparent 25%), linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.sas-modernisation-intro {
    max-width: 1180px;
    margin-bottom: clamp(30px, 3vw, 44px);
}

.sas-modernisation-list {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 1.6vw, 26px);
}

.sas-modernisation-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid #d9e4ec !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%) !important;
    box-shadow: 0 2px 5px rgba(17, 38, 62, 0.03), 0 16px 38px rgba(17, 38, 62, 0.065) !important;
    scroll-margin-top: calc(var(--sas-nav-height) + 20px);
    transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

    .sas-modernisation-card::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 3;
        width: 3px;
        background: linear-gradient(180deg, var(--sas-accent), var(--sas-accent-strong));
    }

    .sas-modernisation-card:hover {
        transform: translateY(-2px);
        border-color: var(--sas-accent-border) !important;
        box-shadow: 0 4px 8px rgba(17, 38, 62, 0.04), 0 24px 50px rgba(17, 38, 62, 0.085) !important;
    }

.sas-modernisation-card-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 290px;
}

.sas-modernisation-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 3vw, 48px) clamp(34px, 3.3vw, 54px);
}

.sas-modernisation-era {
    /*width: fit-content;*/
    width: 100%;
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-bottom: 13px;
    padding: 4px 10px;
    color: var(--sas-accent-strong);
    border: 1px solid var(--sas-accent-border);
    border-radius: 6px;
    background: linear-gradient(180deg, var(--sas-accent-soft), #f4fbfe);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.sas-modernisation-copy h3 {
    max-width: 880px;
    margin: 0 0 13px;
    color: var(--sas-text-strong) !important;
    font-size: clamp(1.2rem, 1.45vw, 1.52rem) !important;
    font-weight: 620 !important;
    line-height: 1.28;
    letter-spacing: -0.012em;
}

.sas-modernisation-copy p {
    max-width: 900px;
    margin: 0;
    color: var(--sas-muted) !important;
    font-size: clamp(0.88rem, 0.9vw, 0.96rem);
    line-height: 1.72;
}

.sas-modernisation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

    .sas-modernisation-tags span {
        display: inline-flex;
        align-items: center;
        min-height: 29px;
        padding: 4px 10px;
        color: #536475;
        border: 1px solid #dce6ed;
        border-radius: 6px;
        background: #f8fafc;
        font-size: 0.69rem;
        font-weight: 700;
    }

.sas-modernisation-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: clamp(30px, 3vw, 48px);
    overflow: hidden;
    border-left: 1px solid var(--sas-border-soft);
    background: radial-gradient(circle at 82% 18%, rgba(42,166,223,0.14), transparent 34%), radial-gradient(circle at 18% 88%, rgba(42,166,223,0.055), transparent 30%), linear-gradient(180deg, #f8fbfd 0%, #eff6fa 100%);
}

    .sas-modernisation-visual::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.50;
        pointer-events: none;
        background-image: linear-gradient(rgba(32, 41, 57, 0.038) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 41, 57, 0.038) 1px, transparent 1px);
        background-size: 28px 28px;
        mask-image: linear-gradient(90deg, rgba(0,0,0,0.18), rgba(0,0,0,0.86));
    }

    .sas-modernisation-visual::after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        right: -210px;
        top: -210px;
        border: 1px solid rgba(42,166,223,0.13);
        border-radius: 50%;
        box-shadow: 0 0 0 48px rgba(42,166,223,0.025), 0 0 0 96px rgba(42,166,223,0.018);
        pointer-events: none;
    }

    .sas-modernisation-visual svg {
        position: relative;
        z-index: 1;
        display: block;
        width: min(100%, 500px);
        max-width: 500px;
        height: auto;
        overflow: visible;
        filter: drop-shadow(0 10px 20px rgba(24, 67, 98, 0.055));
    }

    .sas-modernisation-visual text {
        font-family: var(--sas-font);
        fill: #314156;
        font-size: 12px;
        font-weight: 650;
    }

    .sas-modernisation-visual .diagram-title {
        fill: var(--sas-accent-strong);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.015em;
    }

    .sas-modernisation-visual .diagram-small {
        fill: #667689;
        font-size: 10px;
        font-weight: 600;
    }

.sas-modernisation-details {
    border-top: 1px solid var(--sas-border-soft);
    background: linear-gradient(180deg, #fbfdfe 0%, #f8fbfd 100%);
}

    .sas-modernisation-details summary {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 58px;
        padding: 0 clamp(24px, 3vw, 48px);
        cursor: pointer;
        color: var(--sas-accent-strong);
        font-size: 0.79rem;
        font-weight: 750;
        letter-spacing: 0.015em;
        list-style: none;
        user-select: none;
        transition: color 150ms ease, background 150ms ease;
    }

        .sas-modernisation-details summary::-webkit-details-marker {
            display: none;
        }

        .sas-modernisation-details summary::before {
            content: "+";
            width: 25px;
            height: 25px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 25px;
            border: 1px solid var(--sas-accent-border);
            border-radius: 50%;
            background: var(--sas-accent-soft);
            color: var(--sas-accent-strong);
            font-family: var(--sas-font-mono);
            font-size: 0.85rem;
            line-height: 1;
        }

    .sas-modernisation-details[open] summary {
        background: rgba(42,166,223,0.04);
    }

        .sas-modernisation-details[open] summary::before {
            content: "-";
        }

    .sas-modernisation-details summary:hover {
        color: #0b6899;
        background: rgba(42,166,223,0.05);
    }

.sas-modernisation-detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(26px, 3vw, 42px);
    padding: 0 clamp(24px, 3vw, 48px) clamp(28px, 3vw, 42px);
}

.sas-modernisation-steps {
    counter-reset: sas-path-step;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .sas-modernisation-steps li {
        counter-increment: sas-path-step;
        position: relative;
        min-height: 42px;
        padding: 10px 13px 10px 48px;
        color: var(--sas-muted) !important;
        border: 1px solid var(--sas-border-soft);
        border-radius: 8px;
        background: rgba(255,255,255,0.86);
        box-shadow: 0 2px 5px rgba(17,38,62,0.025);
        font-size: 0.85rem;
        line-height: 1.58;
    }

        .sas-modernisation-steps li::before {
            content: counter(sas-path-step);
            position: absolute;
            top: 10px;
            left: 10px;
            width: 26px;
            height: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--sas-accent-strong);
            border: 1px solid var(--sas-accent-border);
            border-radius: 50%;
            background: var(--sas-accent-soft);
            font-family: var(--sas-font-mono);
            font-size: 0.65rem;
            font-weight: 800;
        }

    .sas-modernisation-steps strong {
        color: #314156;
        font-weight: 700;
    }

.sas-modernisation-outcome {
    align-self: start;
    padding: 24px;
    border: 1px solid var(--sas-accent-border);
    border-left: 3px solid var(--sas-accent);
    border-radius: 10px;
    background: linear-gradient(180deg, var(--sas-surface-blue) 0%, #f8fcfe 100%);
    box-shadow: 0 8px 22px rgba(24,67,98,0.045);
}

    .sas-modernisation-outcome strong {
        display: block;
        margin-bottom: 8px;
        color: var(--sas-accent-strong);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.07em;
        text-transform: uppercase;
    }

    .sas-modernisation-outcome p {
        margin: 0;
        color: #506174 !important;
        font-size: 0.85rem;
        line-height: 1.66;
    }

.sas-modernisation-current {
    border-color: var(--sas-accent-border) !important;
    box-shadow: 0 2px 5px rgba(17,38,62,0.03), 0 18px 42px rgba(42,166,223,0.09) !important;
}

    .sas-modernisation-current::before {
        width: 4px;
    }

    .sas-modernisation-current .sas-modernisation-visual {
        background: radial-gradient(circle at 82% 18%, rgba(42,166,223,0.18), transparent 38%), radial-gradient(circle at 18% 88%, rgba(42,166,223,0.06), transparent 30%), linear-gradient(180deg, #f5fbfe 0%, #edf6fa 100%);
    }


/* ============================================================
   Shared closing CTA panel
   ============================================================ */

.sas-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    margin-top: clamp(34px, 4vw, 54px);
    padding: clamp(26px, 2.5vw, 36px);
    border: 1px solid #d9e4ec;
    border-radius: 14px;
    background: radial-gradient(circle at 92% 0%, rgba(42,166,223,0.08), transparent 30%), linear-gradient(135deg, #ffffff 0%, #f7fbfd 100%);
    box-shadow: 0 2px 5px rgba(17,38,62,0.03), 0 16px 38px rgba(17,38,62,0.06);
}

    .sas-cta-panel h2,
    .sas-cta-panel h3 {
        margin: 0 0 7px;
        color: var(--sas-text-strong) !important;
        font-size: clamp(1.1rem, 1.2vw, 1.28rem) !important;
        font-weight: 620 !important;
        line-height: 1.3;
    }

    .sas-cta-panel p {
        max-width: 980px;
        margin: 0;
        color: var(--sas-muted) !important;
        font-size: 0.9rem;
        line-height: 1.65;
    }

.sas-cta-panel-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 17px;
    white-space: nowrap;
    color: #ffffff !important;
    border: 1px solid var(--sas-accent-strong);
    border-radius: 8px;
    background: linear-gradient(180deg, #2aa6df 0%, #1689c0 100%);
    box-shadow: 0 9px 22px rgba(20,127,184,0.17);
    font-size: 0.81rem;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

    .sas-cta-panel-action:hover,
    .sas-cta-panel-action:focus-visible {
        transform: translateY(-1px);
        color: #ffffff !important;
        background: linear-gradient(180deg, #229bd4 0%, #117aaf 100%);
        box-shadow: 0 12px 26px rgba(20,127,184,0.22);
        text-decoration: none;
    }


/* ============================================================
   Unified component responsive rules
   ============================================================ */

@media (min-width: 1800px) {
    .sas-hero {
        padding-top: calc(var(--sas-nav-height) + 54px);
        padding-bottom: 86px;
    }

        .sas-hero .sas-brand {
            grid-template-columns: 260px minmax(0, 1fr);
        }

        .sas-hero .sas-brand-arc {
            max-width: 260px;
        }

        .sas-hero .sas-brand-content h1 {
            font-size: 3.4rem !important;
        }

    .sas-hero-card {
        min-height: 205px;
    }
}

@media (max-width: 1199.98px) {
    .sas-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
        gap: 34px;
    }

    .sas-hero .sas-brand {
        grid-template-columns: 185px minmax(0, 1fr);
    }

    .sas-hero .sas-brand-arc {
        max-width: 185px;
    }
}

@media (max-width: 991.98px) {
    .sas-hero {
        margin-top: calc(-1 * var(--sas-nav-height));
        padding: calc(var(--sas-nav-height) + 34px) 0 64px;
        background-position: 72% center !important;
    }

    .sas-hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .sas-hero .sas-brand {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .sas-hero-card {
        min-height: 0;
    }

    .sas-feature-grid,
    .sas-modernisation-card-main {
        grid-template-columns: 1fr;
    }

    .sas-feature-card {
        min-height: 0;
    }

    .sas-modernisation-visual {
        min-height: 250px;
        border-left: 0;
        border-top: 1px solid var(--sas-border-soft);
    }

        .sas-modernisation-visual svg {
            max-width: 430px;
        }

    .sas-modernisation-detail-body,
    .sas-cta-panel {
        grid-template-columns: 1fr;
    }

    .sas-evolution-surface {
        margin-top: -24px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .sas-cta-panel-action {
        width: fit-content;
    }
}

@media (max-width: 575.98px) {
    .sas-hero {
        margin-top: calc(-1 * var(--sas-nav-height));
        padding: calc(var(--sas-nav-height) + 24px) 0 52px;
        background-position: 74% center !important;
    }

        .sas-hero::before {
            opacity: 0.82;
        }

        .sas-hero .sas-brand {
            display: block;
            padding: 0;
        }

        .sas-hero .sas-brand-arc {
            display: none;
        }

        .sas-hero .sas-brand-content h1 {
            font-size: clamp(2rem, 10vw, 2.55rem) !important;
        }

        .sas-hero .sas-eyebrow {
            margin-top: 8px !important;
            font-size: 0.70rem !important;
        }

    .sas-hero-summary {
        margin-top: 17px !important;
        padding-top: 16px;
        font-size: 0.89rem !important;
        line-height: 1.62 !important;
    }

    .sas-hero-card {
        border-radius: 10px !important;
    }

        .sas-hero-card::before,
        .sas-hero-card::after {
            display: none;
        }

        .sas-hero-card .card-body {
            padding: 23px !important;
        }

        .sas-hero-card h2,
        .sas-hero-card h3 {
            font-size: 1.25rem !important;
        }

    .sas-section {
        padding: 46px 0 54px;
    }

    .sas-section-header {
        margin-bottom: 24px;
    }

        .sas-section-header h1,
        .sas-section-header h2 {
            font-size: 1.55rem !important;
        }

        .sas-section-header p {
            font-size: 0.88rem;
            line-height: 1.62;
        }

    .sas-feature-card .card-body {
        padding: 23px !important;
    }

    .sas-feature-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        margin-bottom: 17px;
    }

    .sas-evolution-surface {
        margin-top: -20px;
        padding-right: 10px;
        padding-left: 10px;
        padding-bottom: 42px;
    }

        .sas-evolution-surface .sas-evolution-card {
            border-radius: 10px !important;
        }

    .sas-modernisation-section {
        padding: 46px 0 56px;
    }

    .sas-modernisation-intro {
        margin-bottom: 24px;
    }

    .sas-modernisation-list {
        gap: 16px;
    }

    .sas-modernisation-card {
        border-radius: 10px !important;
    }

    .sas-modernisation-copy {
        padding: 24px 20px 25px 23px;
    }

        .sas-modernisation-copy h3 {
            font-size: 1.1rem !important;
        }

        .sas-modernisation-copy p {
            font-size: 0.85rem;
            line-height: 1.62;
        }

    .sas-modernisation-tags {
        margin-top: 16px;
    }

    .sas-modernisation-visual {
        min-height: 210px;
        padding: 20px 16px;
    }

        .sas-modernisation-visual svg {
            max-width: 330px;
        }

    .sas-modernisation-details summary {
        min-height: 52px;
        padding: 0 20px;
    }

    .sas-modernisation-detail-body {
        padding: 0 20px 24px;
    }

    .sas-modernisation-steps li {
        font-size: 0.81rem;
    }

    .sas-cta-panel {
        padding: 22px 20px;
    }

    .sas-cta-panel-action {
        width: 100%;
    }

    .sas-signals-section {
        padding: 42px 0 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sas-feature-card,
    .sas-modernisation-card,
    .sas-hero-card-link,
    .sas-cta-panel-action {
        transition: none;
    }

        .sas-feature-card:hover,
        .sas-modernisation-card:hover,
        .sas-hero-card-link:hover,
        .sas-cta-panel-action:hover {
            transform: none;
        }
}


/* ============================================================
   Page loader / spinner
   ============================================================ */

.sas-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 29, 40, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 140ms ease, visibility 140ms ease;
}

    .sas-page-loader.sas-page-loader-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

.sas-page-loader-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.22);
    border-top-color: var(--sas-accent, #2498d2);
    border-radius: 50%;
    animation: sas-page-loader-spin 0.75s linear infinite;
}

@keyframes sas-page-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sas-page-loader,
    .sas-page-loader-spinner {
        transition: none;
    }

    .sas-page-loader-spinner {
        animation-duration: 1.5s;
    }
}

/* ============================================================
   Tablet / mobile responsive styles
   Keep all max-width overrides together at the end of the file.
   ============================================================ */

@media (max-width: 1199.98px) {
    .sas-card-grid-five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sas-card-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sas-brand {
        grid-template-columns: clamp(250px, 29vw, 330px) minmax(0, 1fr);
        gap: 10px;
    }

    .sas-brand-arc {
        max-width: 330px;
    }

    .sas-brand-content h1 {
        font-size: 36px !important;
    }

    .sas-brand-content h2 {
        font-size: 20px !important;
    }
}

@media (max-width: 991.98px) {
    :root {
        --sas-nav-height: 62px;
    }

    .sas-public-shell {
        width: calc(100% - 32px);
        max-width: none;
    }

    .sas-public-hero-grid,
    .sas-section-heading,
    .sas-cta-grid,
    .sas-contact-grid {
        grid-template-columns: 1fr;
    }

    .sas-public-hero-grid {
        gap: 44px;
    }

    .sas-cta-grid {
        gap: 22px;
    }

    .sas-section-heading {
        gap: 18px;
    }

    .sas-brand {
        width: 100%;
        min-height: 240px;
        grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
        gap: 16px;
    }

    .sas-brand-arc {
        width: 100%;
        max-width: 320px;
    }

    .sas-brand-content {
        max-width: 620px;
    }

        .sas-brand-content h1 {
            font-size: 36px !important;
            line-height: 1.12;
            white-space: normal;
        }

        .sas-brand-content h2 {
            font-size: 20px !important;
            line-height: 1.22;
            white-space: normal;
        }

        .sas-brand-content h3 {
            line-height: 1.4;
            white-space: normal;
        }

        .sas-brand-content p {
            max-width: 100%;
        }

    .sas-public-logo,
    .navbar-brand img {
        height: 31px !important;
        max-width: min(290px, 62vw);
    }

    .navbar .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .navbar-collapse {
        max-height: calc(100vh - var(--sas-nav-height));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 8px 12px 14px;
        background: rgba(12, 32, 52, 0.97);
        border-top: 1px solid rgba(255,255,255,0.08);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 14px 26px rgba(11,20,31,0.16);
    }

    .navbar-nav {
        align-items: center;
        gap: 14px;
    }

    .navbar .nav-link {
        min-height: 44px !important;
        padding-inline: 10px !important;
    }

    .navbar .dropdown-menu {
        width: 100%;
        min-width: 0;
    }

        .navbar .dropdown-menu .dropdown-item {
            white-space: normal;
        }

    .sas-public-cta-section .card-body {
        padding: 22px !important;
    }

    .alert {
        overflow-wrap: anywhere;
    }

    .sas-evolution-card > .card-body {
        padding: 28px 22px !important;
    }

    .sas-evolution-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 0 0 34px;
    }

        .sas-evolution-timeline::before {
            top: 10px;
            bottom: 10px;
            left: 12px;
            right: auto;
            width: 1px;
            height: auto;
            background: linear-gradient( 180deg, var(--sas-border) 0%, var(--sas-accent-border) 60%, var(--sas-accent) 100% );
        }

    .sas-evolution-stage,
    .sas-evolution-stage:first-of-type {
        padding: 16px 14px 22px 18px;
        border-left: 0;
        border-bottom: 1px solid var(--sas-border-soft);
    }

        .sas-evolution-stage:last-of-type {
            border-bottom: 0;
        }

    .sas-evolution-marker {
        top: 20px;
        left: -30px;
    }

    .sas-evolution-stage h3,
    .sas-evolution-focus,
    .sas-evolution-stage p {
        min-height: 0;
    }

    .sas-evolution-focus {
        margin-bottom: 10px;
    }

    .sas-evolution-stage p {
        max-width: 720px;
    }

    .sas-evolution-stage-current {
        border-radius: var(--sas-radius-sm);
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 0;
    }

    .sas-card-grid-two,
    .sas-card-grid-four,
    .sas-card-grid-five {
        grid-template-columns: 1fr;
    }

    .sas-position-panel {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sas-public-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .sas-public-cta-section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .sas-public-hero-grid,
    .sas-cta-grid,
    .sas-contact-grid,
    .sas-section-heading {
        gap: 20px;
    }

    .sas-sector-strip {
        min-height: 50px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0 18px;
        padding-block: 12px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

        .sas-sector-strip span {
            flex: 0 0 auto;
            padding-block: 6px !important;
            white-space: nowrap;
        }

    .sas-public-band {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
    }

    .site-footer,
    footer {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
        min-height: var(--sas-footer-height);
    }

    .sas-public-hero h1 {
        font-size: clamp(2.45rem, 11vw, 4rem) !important;
    }

    .sas-evolution-tech span {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 575.98px) {
    :root {
        --sas-footer-height: 78px;
    }

    .section-content-container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .sas-public-shell {
        width: calc(100% - 24px);
    }

    .sas-public-hero,
    .sas-page-hero,
    .sas-public-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .sas-public-hero {
        padding-top: 62px;
    }

    .sas-public-cta-section {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .sas-brand {
        min-height: 0;
        display: block;
        padding: 18px 0;
    }

    .sas-brand-arc {
        display: none;
    }

    .sas-brand-content {
        width: 100%;
        max-width: none;
        margin: 0;
    }

        .sas-brand-content h1 {
            font-size: clamp(1.9rem, 9vw, 2.25rem) !important;
            line-height: 1.12;
            white-space: normal;
        }

        .sas-brand-content h2 {
            font-size: clamp(1.05rem, 5.4vw, 1.3rem) !important;
            line-height: 1.24;
            padding-bottom: 5px;
            white-space: normal;
        }

        .sas-brand-content h3 {
            font-size: 0.92rem !important;
            line-height: 1.4;
            white-space: normal;
        }

        .sas-brand-content p {
            max-width: 100%;
            margin-top: 6px;
            font-size: 0.88rem;
            line-height: 1.45;
        }

    .sas-process-list .card-body {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 22px !important;
    }

    .sas-contact-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .site-footer .container-fluid,
    footer .container-fluid {
        width: calc(100% - 20px);
    }

    .site-footer p,
    footer p {
        line-height: 1.35;
    }

    .sas-public-cta-section .card-body {
        padding: 18px !important;
    }

    .alert {
        padding: 14px 16px;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 2.65rem) !important;
    }

    h2 {
        font-size: clamp(1.35rem, 6.5vw, 1.65rem) !important;
    }

    .sas-page-hero h1,
    .sas-public-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        overflow-wrap: anywhere;
    }

    .sas-public-hero .lead,
    .sas-page-hero .lead {
        margin-top: 18px;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .sas-card-grid .card-body,
    .sas-contact-grid .card-body {
        padding: 20px !important;
    }

    .sas-position-panel {
        padding: 18px;
    }

    .sas-trust-row {
        gap: 6px;
    }

        .sas-trust-row span {
            min-height: 28px;
            padding: 4px 8px;
            font-size: 0.68rem;
        }

    .sas-evolution-card > .card-body {
        padding: 24px 16px !important;
    }

    .sas-evolution-timeline {
        padding-left: 30px;
    }

        .sas-evolution-timeline::before {
            left: 10px;
        }

    .sas-evolution-stage,
    .sas-evolution-stage:first-of-type {
        padding: 14px 10px 20px 16px;
    }

    .sas-evolution-marker {
        left: -28px;
    }

    .sas-evolution-period {
        font-size: 0.70rem;
    }

    .sas-evolution-stage h3 {
        font-size: 1rem !important;
    }

    .sas-evolution-stage p,
    .sas-evolution-focus {
        font-size: 0.82rem;
    }

    .sas-evolution-runner {
        width: 34px;
        height: 24px;
    }

    .sas-evolution-arc {
        transform: scale(0.9) rotate(-7deg);
        transform-origin: center;
    }

    input,
    select,
    textarea,
    .form-control {
        max-width: 100%;
    }
}

@media (max-width: 399.98px) {
    .sas-public-shell {
        width: calc(100% - 20px);
    }

    .sas-brand-content h1 {
        font-size: 1.82rem !important;
    }

    .sas-brand-content h2 {
        font-size: 1.05rem !important;
    }

    .sas-brand-content h3,
    .sas-brand-content p {
        font-size: 0.84rem !important;
    }

    .sas-public-cta-section .card-body {
        padding: 16px !important;
    }
}

@media (max-width: 575.98px) {

    .sas-brand,
    .sas-brand-content {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

        .sas-brand-content h1,
        .sas-brand-content h2 {
            white-space: normal;
            overflow-wrap: anywhere;
            word-break: normal;
        }

        .sas-brand-content p {
            max-width: 100%;
            overflow-wrap: anywhere;
        }
}

@media (max-width: 575.98px) {

    .sas-public-shell,
    .sas-cta-grid,
    .sas-section-heading,
    .sas-public-hero-grid {
        min-width: 0;
    }

        .sas-public-shell > *,
        .sas-cta-grid > *,
        .sas-section-heading > *,
        .sas-public-hero-grid > * {
            min-width: 0;
        }
}

/* ============================================================
   License management
   ============================================================ */

.sas-license-page {
    padding-top: clamp(32px, 4vw, 48px);
    padding-bottom: clamp(40px, 5vw, 64px);
}

.sas-license-hero-card {
    min-width: 0;
}

    .sas-license-hero-card .card-body {
        display: grid;
        gap: 6px;
    }

.sas-license-hero-label,
.sas-license-section-label,
.sas-license-modal-label,
.sas-license-summary-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sas-license-hero-label,
.sas-license-modal-label {
    color: #6bc2e8;
}

.sas-license-hero-value {
    min-width: 0;
    color: #f5f7fb;
    font-size: 1rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.sas-license-hero-card p {
    margin: 2px 0 0;
}

.sas-license-summary-card {
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: var(--sas-shadow-xs) !important;
}

.sas-license-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sas-license-summary-item {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 18px 22px;
    border-right: 1px solid var(--sas-border-soft);
}

    .sas-license-summary-item:last-child {
        border-right: 0;
    }

.sas-license-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sas-soft);
}

    .sas-license-summary-label i {
        color: var(--sas-accent-strong);
        font-size: 0.84rem;
    }

.sas-license-summary-item strong {
    min-width: 0;
    color: var(--sas-text-strong);
    font-size: 0.94rem;
    font-weight: 740;
    overflow-wrap: anywhere;
}

.sas-license-card {
    overflow: hidden;
}

.sas-license-card-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--sas-border-soft);
    background: var(--sas-surface-soft);
}

.sas-license-section-label {
    display: block;
    margin-bottom: 4px;
    color: var(--sas-accent-strong);
}

.sas-public-section .sas-license-card-title,
.sas-public-section .sas-license-empty-title {
    margin: 0;
    color: var(--sas-text-strong) !important;
    font-size: 1.22rem !important;
    font-weight: 720 !important;
    line-height: 1.25;
    letter-spacing: -0.018em;
}

.sas-license-card-header p {
    max-width: 760px;
    margin: 5px 0 0;
    font-size: 0.88rem;
}

.sas-license-table-wrap {
    width: 100%;
}

.sas-license-table {
    width: 100%;
    margin: 0;
    border: 0 !important;
    table-layout: fixed;
}

    .sas-license-table th:nth-child(1) {
        width: 27%;
    }

    .sas-license-table th:nth-child(2) {
        width: 39%;
    }

    .sas-license-table th:nth-child(3) {
        width: 14%;
    }

    .sas-license-table th:nth-child(4) {
        width: 20%;
    }

    .sas-license-table th,
    .sas-license-table td {
        vertical-align: middle;
    }

    .sas-license-table tbody tr:last-child td {
        border-bottom: 0 !important;
    }

.sas-license-assignee {
    min-width: 0;
    display: block;
    color: var(--sas-text);
    overflow-wrap: anywhere;
}

.sas-license-key-row {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sas-license-key-value {
    min-width: 0;
    max-width: 100%;
    display: block;
    flex: 1 1 auto;
    padding: 6px 8px;
    color: #365c70;
    border: 1px solid #dce8ee;
    border-radius: 5px;
    background: #f5f9fb;
    font-family: var(--sas-font-mono);
    font-size: 0.76rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.sas-license-key-empty {
    color: var(--sas-soft);
    font-size: 0.82rem;
    font-style: italic;
}

.sas-license-copy-button {
    width: 38px;
    min-width: 38px;
    min-height: 36px;
    height: 36px;
    flex: 0 0 38px;
    padding: 0 !important;
}

    .sas-license-copy-button i {
        margin: 0;
    }

.sas-license-status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid var(--sas-border);
    border-radius: 999px;
    color: #536475;
    background: #f4f7fa;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.sas-license-status-assigned {
    color: #1d7155;
    border-color: #b8dccf;
    background: #eef8f4;
}

.sas-license-status-pending {
    color: #8b661a;
    border-color: #e5d3a5;
    background: #fbf7ea;
}

.sas-license-status-revoked {
    color: #9b3f49;
    border-color: #e5bcc1;
    background: #fbf0f2;
}

.sas-license-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .sas-license-actions .btn {
        min-height: 36px;
        padding: 6px 12px !important;
        font-size: 0.8rem;
    }

        .sas-license-actions .btn:disabled {
            opacity: 0.55;
            transform: none;
        }

.sas-license-card-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 24px;
    color: var(--sas-muted);
    border-top: 1px solid var(--sas-border-soft);
    background: var(--sas-surface-soft);
    font-size: 0.84rem;
}

    .sas-license-card-footer i {
        flex: 0 0 auto;
        color: var(--sas-accent-strong);
    }

.sas-license-mobile-list {
    padding: 14px;
    background: var(--sas-bg);
}

.sas-license-mobile-card {
    padding: 18px;
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius-md);
    background: var(--sas-surface);
    box-shadow: var(--sas-shadow-xs);
}

    .sas-license-mobile-card + .sas-license-mobile-card {
        margin-top: 12px;
    }

.sas-license-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sas-border-soft);
}

.sas-license-mobile-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sas-text-strong);
    font-size: 0.9rem;
    font-weight: 750;
}

    .sas-license-mobile-title i {
        color: var(--sas-accent-strong);
    }

.sas-license-mobile-detail {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 10px 0;
}

    .sas-license-mobile-detail > span {
        color: var(--sas-soft);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.065em;
        text-transform: uppercase;
    }

    .sas-license-mobile-detail > strong {
        min-width: 0;
        color: var(--sas-text);
        font-size: 0.86rem;
        font-weight: 650;
        overflow-wrap: anywhere;
    }

.sas-license-mobile-card .sas-license-actions {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--sas-border-soft);
}

.sas-license-empty-state {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

    .sas-license-empty-state .card-body {
        padding: clamp(34px, 5vw, 54px) !important;
    }

.sas-license-empty-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--sas-accent-strong);
    border: 1px solid var(--sas-accent-border);
    border-radius: 50%;
    background: var(--sas-accent-soft);
    font-size: 1.1rem;
}

.sas-license-empty-state p {
    max-width: 480px;
    margin: 9px auto 0;
}

/* License modals */

.sas-license-modal {
    overflow: hidden;
    border: 1px solid var(--sas-border) !important;
    border-radius: var(--sas-radius-lg) !important;
    background: var(--sas-surface) !important;
    box-shadow: 0 24px 64px rgba(11, 20, 31, 0.24) !important;
}

    .sas-license-modal .modal-header {
        align-items: center;
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        background: linear-gradient(180deg, var(--sas-navy-850), var(--sas-navy-900));
    }

    .sas-license-modal .modal-title {
        margin: 2px 0 0;
        color: #f5f7fb !important;
        font-size: 1.08rem;
        font-weight: 700;
    }

    .sas-license-modal .modal-body {
        padding: 22px;
    }

.sas-license-modal-copy {
    margin: 0 0 18px;
}

.sas-license-modal-actions {
    padding-top: 4px;
}

.sas-license-modal .btn-close {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat !important;
    box-shadow: none !important;
    transform: none !important;
}

    .sas-license-modal .btn-close:hover,
    .sas-license-modal .btn-close:focus-visible {
        background: rgba(255,255,255,0.06) var(--bs-btn-close-bg) center / 1em auto no-repeat !important;
        box-shadow: none !important;
        transform: none !important;
    }

/* ============================================================
   License management - responsive
   Keep these max-width overrides at the end of the stylesheet.
   ============================================================ */

@media (max-width: 767.98px) {
    .sas-license-summary-grid {
        grid-template-columns: 1fr;
    }

    .sas-license-summary-item {
        border-right: 0;
        border-bottom: 1px solid var(--sas-border-soft);
    }

        .sas-license-summary-item:last-child {
            border-bottom: 0;
        }

    .sas-license-card-header {
        padding: 18px;
    }

    .sas-license-card-footer {
        align-items: flex-start;
        padding: 14px 18px;
    }

    .sas-license-modal .modal-body {
        padding: 18px;
    }
}

@media (max-width: 575.98px) {
    .sas-license-page {
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .sas-license-summary-item {
        padding: 15px 16px;
    }

    .sas-license-mobile-list {
        padding: 10px;
    }

    .sas-license-mobile-card {
        padding: 15px;
    }

    .sas-license-mobile-header {
        align-items: flex-start;
    }

    .sas-license-key-row {
        align-items: stretch;
    }

    .sas-license-copy-button {
        min-height: 38px;
        height: auto;
    }

    .sas-license-actions .btn {
        flex: 1 1 100%;
    }

    .sas-license-modal .modal-dialog {
        margin: 12px;
    }
}
