/* CleanSheet Group, the site's theme.
   The group's own design: brand blue and teal, blue-to-teal gradients, rounded cards, pill buttons, Poppins, and a
   white header bar that floats over the top of every page. Tokens first; every value below comes from them. */
:root {
    --blue: #00339e;
    --blue-deep: #002a82;
    --teal: #28afb0;
    --teal-ink: #0c7475; /* teal that is readable as small text on white */
    --navy: #001a50;
    --ink: #0e1b3d;
    --ink-soft: #4a5672;
    --ink-faint: #6b7690;
    --line: #dfe5f0;
    --paper: #f8f8f8;
    --tint: #eef3fc;
    --surface: #ffffff;
    --danger: #b3261e;
    --grad-brand: linear-gradient(129deg, var(--blue) 0%, var(--teal) 100%);
    --grad-band: linear-gradient(100deg, #00339e 0%, #0b47a8 38%, #1f86ad 78%, #28afb0 100%);
    --grad-card-1: linear-gradient(120deg, #3b5ca9 0%, #286395 100%);
    --grad-card-2: linear-gradient(120deg, #286395 0%, #2ca2b3 100%);
    --grad-card-3: linear-gradient(120deg, #2ca2b3 0%, #2dbbbf 100%);
    --grad-card-4: linear-gradient(120deg, #2dbbbf 0%, #286395 100%);
    --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --step--1: .875rem;
    --step-0: 1rem;
    --step-1: 1.125rem;
    --step-2: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
    --step-3: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem);
    --step-4: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
    --wrap: 1200px;
    --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
    --section: clamp(3.5rem, 2.25rem + 5vw, 6rem);
    --radius: 15px;
    --radius-small: 10px;
    --radius-pill: 38px;
    --header-space: 96px; /* the height the floating header takes at the top of a page */
    --shadow: 0 10px 30px rgba(0, 26, 80, .10);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-space) + 12px);
}

body {
    margin: 0;
    font: 400 var(--step-0)/1.65 var(--font);
    color: var(--ink);
    background: var(--surface);
    overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

img, svg {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
}

a {
    color: var(--blue);
    text-underline-offset: 3px;
}

    a:hover {
        color: var(--blue-deep);
    }

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

.icon {
    flex: none;
    vertical-align: -.2em;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
    border-radius: 4px;
}

main:focus {
    outline: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-small);
}

    .skip-link:focus {
        top: 16px;
        color: #fff;
    }

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.25;
    text-wrap: balance;
}

h1 {
    font-size: var(--step-4);
}

h2 {
    font-size: var(--step-3);
}

h3 {
    font-size: var(--step-1);
}

.accent {
    color: var(--blue);
}

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.narrow {
    max-width: calc(840px + 2 * var(--gutter));
}

.section {
    padding-block: var(--section);
}

.section-flush {
    padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-flush-bottom {
    padding-bottom: 0;
}

/* A section's heading block: a small label, the heading, an optional paragraph. */
.head {
    max-width: 760px;
    margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

    .head p:not(.label) {
        margin-top: 1rem;
        color: var(--ink-soft);
    }

.head-center {
    margin-inline: auto;
    text-align: center;
    max-width: 900px;
}

.head-split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: none;
}

    .head-split > div {
        max-width: 760px;
    }

.label {
    margin-bottom: .5rem;
    font-size: var(--step--1);
    font-weight: 500;
    color: var(--blue);
}

.lead {
    font-size: var(--step-1);
    color: var(--ink-soft);
    max-width: 64ch;
}

/* ---------- buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .6rem 1.6rem;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}

    .btn:active {
        transform: translateY(1px);
    }

.btn-small {
    min-height: 44px;
    padding-inline: 1.3rem;
    font-size: var(--step--1);
}

.btn-large {
    min-height: 54px;
    padding-inline: 2rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--teal-ink);
        color: #fff;
    }
/* The header's "Start Verification" keeps its blue under the mouse, as on the old site. */
.header-cta:hover, .header-cta:focus-visible {
    background: var(--blue);
    color: #fff;
}

.btn-outline {
    border-color: var(--blue);
    color: var(--blue);
    background: transparent;
}

    .btn-outline:hover {
        background: var(--blue);
        color: #fff;
    }

.btn-light {
    background: #fff;
    color: var(--blue);
}

    .btn-light:hover {
        background: var(--navy);
        color: #fff;
    }

.btn-ghost, .btn-outline-light {
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}

    .btn-ghost:hover, .btn-outline-light:hover {
        background: #fff;
        border-color: #fff;
        color: var(--blue);
    }

.btn[disabled] {
    opacity: .65;
    cursor: progress;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--ink);
}

    .icon-btn:hover {
        background: var(--tint);
        color: var(--blue);
    }

.round-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    transition: background-color .18s, opacity .18s;
}

    .round-btn:hover {
        background: var(--teal-ink);
    }

    .round-btn[disabled] {
        opacity: .3;
        cursor: default;
    }

.round-btn-quiet {
    background: var(--surface);
    color: var(--blue);
    border: 1px solid var(--line);
}

    .round-btn-quiet:hover {
        background: var(--blue);
        color: #fff;
    }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 500;
}

.pill {
    display: inline-block;
    padding: .1rem .7rem;
    border-radius: var(--radius-pill);
    background: var(--blue);
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
}

/* ---------- header: a white bar floating over the top of the page */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 0;
}

    .site-header > .wrap {
        padding-top: 14px;
    }

.header-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 68px;
    padding: 8px 12px 8px 22px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(0, 26, 80, .14);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    flex: none;
    color: var(--blue);
    text-decoration: none;
}

    .logo img {
        height: 40px;
        width: auto;
    }

.logo-text {
    display: grid;
    line-height: 1;
}

    .logo-text strong {
        font-size: 1.55rem;
        font-weight: 700;
        letter-spacing: .02em;
        color: var(--blue);
    }

    .logo-text small {
        margin-top: 3px;
        font-size: .56rem;
        font-weight: 500;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--ink-soft);
        white-space: nowrap;
    }

.logo-light {
    color: #fff;
}

    .logo-light .logo-text strong {
        color: #fff;
    }

    .logo-light .logo-text small {
        color: #c8d3ee;
    }

    .logo-light .logo-mark {
        width: 52px;
        height: 52px;
    }

    .logo-light .logo-text strong {
        font-size: 2rem;
    }

.nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-head, .nav-cta, .nav-open {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: .1rem;
}

    .nav-list > li.has-panel:not(.has-mega) {
        position: relative;
    }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 44px;
    padding: .4rem .75rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    color: var(--ink);
    font-weight: 500;
    font-size: .9rem;
    text-decoration: none;
    white-space: nowrap;
}

    .nav-link:hover, .nav-link[aria-expanded=true], .nav-link[aria-current=page] {
        color: var(--blue);
        background: var(--tint);
    }

    .nav-link .icon {
        transition: transform .18s;
    }

    .nav-link[aria-expanded=true] .icon {
        transform: rotate(180deg);
    }

.tag {
    padding: .05rem .55rem;
    border-radius: var(--radius-pill);
    background: var(--blue);
    color: #fff;
    font-size: .68rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex: none;
}

.panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 60;
    min-width: 250px;
    padding: .5rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(0, 26, 80, .2);
}

.panel-links a {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .5rem .9rem;
    border-radius: var(--radius-small);
    color: var(--ink);
    font-size: .9375rem;
    text-decoration: none;
}

    .panel-links a:hover {
        background: var(--tint);
        color: var(--blue);
    }

.panel-mega {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 1.75rem;
}

.mega {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2.5rem;
}

.mega-title {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}

    .mega-title:hover {
        color: var(--teal-ink);
    }

.mega-links {
    columns: 2;
    column-gap: 1.5rem;
}

    .mega-links a {
        display: flex;
        align-items: center;
        gap: .6rem;
        min-height: 42px;
        padding: .3rem .6rem;
        margin-inline: -.6rem;
        border-radius: var(--radius-small);
        color: var(--ink);
        font-size: .9375rem;
        text-decoration: none;
        break-inside: avoid;
    }

        .mega-links a:hover {
            background: var(--tint);
            color: var(--blue);
        }

.mega-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--tint);
    color: var(--blue);
    flex: none;
}

.mega-side {
    display: grid;
    align-content: start;
    gap: .5rem;
}

    .mega-side a {
        display: block;
        padding: .9rem 1.1rem;
        border-radius: var(--radius-small);
        background: var(--grad-brand);
        color: #fff;
        text-decoration: none;
        transition: filter .18s;
    }

        .mega-side a:hover {
            filter: brightness(1.12);
        }

    .mega-side strong {
        display: block;
        font-weight: 600;
    }

    .mega-side span {
        display: block;
        margin-top: .15rem;
        font-size: .8125rem;
        line-height: 1.45;
        color: #e2ecfb;
    }

.search-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 60;
    padding: .75rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(0, 26, 80, .2);
}

.search-form {
    display: flex;
    align-items: center;
    gap: .75rem;
}

    .search-form > .icon {
        margin-left: .5rem;
        color: var(--ink-faint);
    }

    .search-form input {
        flex: 1;
        min-width: 0;
        min-height: 48px;
        padding: .6rem 1rem;
        border: 1.5px solid var(--line);
        border-radius: var(--radius-pill);
        background: var(--surface);
    }

        .search-form input:focus-visible {
            outline: 3px solid var(--teal);
            outline-offset: 0;
            border-color: var(--blue);
        }

.search-form-page {
    margin-bottom: 2.5rem;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 26, 80, .6);
}

/* ---------- hero: photo under a blue wash, rounded at the bottom */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(720px, 92vh);
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    color: #fff;
    background: radial-gradient(60% 80% at 82% 30%, rgba(45, 187, 191, .55) 0%, rgba(45, 187, 191, 0) 60%), radial-gradient(50% 60% at 60% 85%, rgba(59, 92, 169, .8) 0%, rgba(59, 92, 169, 0) 70%), linear-gradient(120deg, #001a50 0%, #00339e 55%, #0f5aa6 100%);
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .5;
        background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.5px);
        background-size: 22px 22px;
        -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
        mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
    }

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(0, 38, 120, .88) 0%, rgba(0, 51, 158, .62) 45%, rgba(0, 51, 158, .12) 100%);
}

.hero:not(:has(.hero-photo)) .hero-shade {
    display: none;
}

.hero-inner {
    position: relative;
    padding-block: calc(var(--header-space) + 3rem) 5rem;
}

.hero h1 {
    max-width: 16ch;
    color: #fff;
}

    .hero h1 .accent {
        color: #9fe6e7;
    }

.hero p {
    margin-top: 1.25rem;
    max-width: 52ch;
    color: #e6edfb;
    font-size: var(--step-1);
}

.hero .btn-row {
    margin-top: 2rem;
}

/* ---------- carousels: a row that scrolls sideways, with buttons */
.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-block: .5rem 1rem;
    margin-block: -.5rem -1rem;
}

    .carousel-track::-webkit-scrollbar {
        display: none;
    }
    /* position: relative keeps the visually hidden text of a card inside the scrolling row */
    .carousel-track > li {
        position: relative;
        scroll-snap-align: start;
        flex: none;
    }

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 2rem;
}

.carousel-sides {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.solutions > li {
    width: calc((100% - 3rem) / 3);
}

.solution-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: var(--radius);
    color: #fff;
    background: var(--grad-card-1);
    box-shadow: var(--shadow);
}

    .solution-card:nth-child(4n + 2) {
        background: var(--grad-card-2);
    }

    .solution-card:nth-child(4n + 3) {
        background: var(--grad-card-3);
    }

    .solution-card:nth-child(4n + 4) {
        background: var(--grad-card-4);
    }

.solution-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
}

.solution-name {
    font-size: var(--step--1);
    font-weight: 500;
    color: #e8f3fb;
}

.solution-card h3 {
    margin-top: .4rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
}

    .solution-card h3 + p {
        margin-block: 1rem 1.5rem;
        font-size: var(--step--1);
        line-height: 1.7;
        color: #f1f6fd;
        flex: 1;
    }

.more-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    align-self: flex-start;
    min-height: 44px;
    color: #fff;
    font-size: var(--step--1);
    font-weight: 500;
    text-decoration: none;
}

.more-dot {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    transition: transform .18s;
}

.more-link:hover {
    color: #fff;
}

    .more-link:hover .more-dot {
        transform: translateX(4px);
    }

/* ---------- framework: four stages on pedestals */
.pedestals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.pedestal-item {
    display: grid;
    justify-items: center;
    gap: .25rem;
    padding: .5rem;
    border-radius: var(--radius);
    color: var(--ink);
    text-align: center;
}

.pedestal-number {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--teal);
    line-height: 1;
}

.pedestal {
    position: relative;
    display: grid;
    justify-items: center;
    width: 150px;
    height: 150px;
    margin-bottom: .5rem;
}

.pedestal-beam {
    position: absolute;
    top: 6px;
    bottom: 34px;
    width: 92px;
    border-radius: 8px 8px 50% 50% / 8px 8px 22px 22px;
    background: linear-gradient(180deg, rgba(40, 175, 176, 0) 0%, rgba(40, 175, 176, .16) 55%, rgba(0, 51, 158, .22) 100%);
}

.pedestal-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-top: 30px;
    border-radius: 16px;
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 51, 158, .28);
    transition: transform .25s ease-out;
}

.pedestal-base {
    position: absolute;
    bottom: 8px;
    width: 128px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid var(--navy);
    box-shadow: 0 8px 0 -1px var(--blue), 0 16px 18px rgba(0, 26, 80, .22);
}
/* With the old site's pictures: 250px high, the stage in blue capitals, the solution in black under it. */
.pedestal-picture {
    width: auto;
    height: 250px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.pedestals.has-pictures strong {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    color: #00339e;
}

.pedestals.has-pictures .pedestal-item > span:last-child {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: #000;
}

.pedestals strong {
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
}

.pedestals .pedestal-item > span:last-child {
    font-size: var(--step--1);
    color: var(--ink-soft);
}

.strategy {
    color: #fff;
    background: var(--grad-band);
    padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.strategy-head {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
    margin-bottom: 2.5rem;
}

    .strategy-head h2 {
        font-size: var(--step-2);
        margin-bottom: 1.25rem;
    }

    .strategy-head p {
        color: #e9f1fc;
        font-size: .9375rem;
    }

.strategy-rows li {
    display: grid;
    grid-template-columns: 52px minmax(0, 160px) minmax(0, 1fr);
    gap: 1rem 1.5rem;
    align-items: center;
    padding-block: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .28);
}

.strategy-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    border: 1px solid rgba(255, 255, 255, .45);
}

.strategy-rows h3 {
    font-size: var(--step-1);
}

.strategy-rows p {
    font-size: var(--step--1);
    line-height: 1.7;
    color: #eef4fd;
}

.strategy-rows strong {
    font-weight: 600;
    color: #fff;
}

/* ---------- industries */
.industries > li {
    width: calc((100% - 4.5rem) / 4);
}

.industry-card {
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    text-align: center;
    transition: border-color .18s, box-shadow .18s;
}

    .industry-card:hover {
        border-color: var(--teal);
        box-shadow: var(--shadow);
    }

.industry-icon {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--tint);
    color: var(--blue);
}

.industry-card h3 {
    font-size: 1rem;
    color: var(--blue);
}

.industry-card p {
    margin-top: .6rem;
    font-size: .8125rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

/* ---------- why choose: the accordion on a navy band */
.why {
    margin-top: .5rem;
    color: #fff;
    background: radial-gradient(70% 120% at 85% 40%, #0b47a8 0%, rgba(11, 71, 168, 0) 65%), linear-gradient(100deg, #001a50 0%, #002a82 100%);
}

.why-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.why-art {
    display: grid;
    place-items: center;
}

    .why-art img {
        border-radius: var(--radius);
    }

.why-svg {
    width: min(100%, 520px);
    height: auto;
}

.accordion details {
    border-bottom: 1px solid var(--line);
}

.accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 60px;
    padding-block: .9rem;
    font-size: var(--step-1);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

    .accordion summary::-webkit-details-marker {
        display: none;
    }

    .accordion summary::after {
        content: "";
        flex: none;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translate(-3px, -3px);
        transition: transform .2s;
    }

.accordion details[open] > summary::after {
    transform: rotate(-135deg) translate(-3px, -3px);
}

.accordion summary .icon {
    display: none;
}

.accordion details > p, .accordion details > .prose {
    padding-bottom: 1.25rem;
    font-size: .9375rem;
    color: var(--ink-soft);
    max-width: 62ch;
}

.accordion-dark details {
    border-bottom-color: rgba(255, 255, 255, .22);
}

.accordion-dark summary:hover {
    color: #9fe6e7;
}

.accordion-dark details > p {
    color: #dfe8f9;
}

/* ---------- trusted-by logos */
.logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 3rem;
    margin-top: 1rem;
}

    .logos img {
        height: 72px;
        width: auto;
        max-width: 180px;
        object-fit: contain;
    }

/* ---------- figures */
.scale {
    color: #fff;
    background: var(--grad-band);
    position: relative;
    overflow: hidden;
}

    .scale::before {
        content: "";
        position: absolute;
        inset: 0 0 0 40%;
        opacity: .55;
        background-image: radial-gradient(rgba(255, 255, 255, .5) 1.2px, transparent 1.6px);
        background-size: 14px 14px;
        -webkit-mask-image: radial-gradient(60% 75% at 55% 50%, #000 30%, transparent 75%);
        mask-image: radial-gradient(60% 75% at 55% 50%, #000 30%, transparent 75%);
    }

.scale-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.scale h2 {
    font-size: var(--step-2);
}

.scale-inner > div > p {
    margin-top: 1rem;
    font-size: .9375rem;
    color: #e9f1fc;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

    .stats > div {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: .9rem;
        align-items: center;
        padding: 1rem 1.25rem;
        border: 1px solid rgba(255, 255, 255, .4);
        border-radius: var(--radius-small);
        background: rgba(255, 255, 255, .14);
        backdrop-filter: blur(4px);
    }

        .stats > div:nth-child(even) {
            transform: translateY(1.25rem);
        }

.stat-icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
}

.stats dd {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
}

.stats dt {
    grid-column: 2;
    grid-row: 2;
    font-size: .8125rem;
    color: #e9f1fc;
}

/* ---------- posts */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

    .post-card:hover {
        box-shadow: var(--shadow);
        transform: translateY(-3px);
    }

.post-cover {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

    .post-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease-out;
    }

.post-card:hover .post-cover img {
    transform: scale(1.04);
}

.post-cover-empty {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, .8);
    background: var(--grad-card-1);
}

.post-cover-1 {
    background: var(--grad-card-2);
}

.post-cover-2 {
    background: var(--grad-card-3);
}

.post-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.25rem 1.5rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    font-size: .8125rem;
    color: var(--ink-faint);
}

.post-card h3 {
    margin-top: .75rem;
    font-size: 1.0625rem;
    line-height: 1.45;
}

    .post-card h3 a {
        color: var(--blue);
        text-decoration: none;
    }

        .post-card h3 a:hover {
            text-decoration: underline;
        }

    .post-card h3 + p {
        margin-block: .6rem 1.25rem;
        font-size: var(--step--1);
        color: var(--ink-soft);
        flex: 1;
    }

.post-card .btn {
    align-self: flex-start;
}

.switcher {
    display: inline-flex;
    gap: .25rem;
    margin-bottom: 2.5rem;
    padding: .3rem;
    background: var(--tint);
    border-radius: var(--radius-pill);
}

    .switcher a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: .4rem 1.3rem;
        border-radius: var(--radius-pill);
        color: var(--ink-soft);
        font-weight: 500;
        text-decoration: none;
    }

        .switcher a[aria-current=page] {
            background: var(--blue);
            color: #fff;
        }

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 3.5rem;
    color: var(--ink-soft);
}

/* ---------- closing call to action (inner pages) */
.cta {
    padding-bottom: var(--section);
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
    border-radius: var(--radius);
    color: #fff;
    background: var(--grad-band);
}

.cta h2 {
    font-size: var(--step-2);
}

.cta p {
    margin-top: .5rem;
    max-width: 56ch;
    color: #e9f1fc;
}

/* ---------- footer */
.site-footer {
    background: var(--navy);
    color: #c8d3ee;
    font-size: var(--step--1);
    border-radius: 30px 30px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding-block: 4rem 2.5rem;
}

.footer-tagline {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    max-width: 14ch;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .footer-badges img {
        height: 48px;
        width: auto;
    }

.footer-locations {
    margin-top: 1.5rem;
    font-size: .8125rem;
    line-height: 1.7;
}

.footer-nav {
    columns: 3;
    column-gap: 2.5rem;
}

.footer-col {
    break-inside: avoid;
    margin-bottom: 1.75rem;
}

    .footer-col h2 {
        margin-bottom: .5rem;
        font-size: .9375rem;
        font-weight: 600;
        color: #fff;
    }

        .footer-col h2 a {
            color: inherit;
            text-decoration: none;
        }

    .footer-col a {
        color: #c8d3ee;
        text-decoration: none;
    }

    .footer-col li a {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
    }

    .footer-col a:hover {
        color: #fff;
        text-decoration: underline;
    }

.footer-phone {
    display: flex;
    align-items: center;
    min-height: 40px;
    font-weight: 500;
    color: #fff !important;
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}

.site-footer .social li a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--navy) !important;
    transition: background-color .18s;
}

.social a:hover {
    background: var(--teal);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .8125rem;
    color: #a9b7da;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-payments img {
        display: block;
        width: auto;
        height: 26px;
    }

/* ---------- inner pages */
.page-head {
    padding-block: calc(var(--header-space) + 2.5rem) 3rem;
    border-radius: 0 0 30px 30px;
    color: #fff;
    background: radial-gradient(55% 90% at 88% 20%, rgba(45, 187, 191, .5) 0%, rgba(45, 187, 191, 0) 65%), linear-gradient(110deg, #001a50 0%, #00339e 60%, #0f5aa6 100%);
}

    .page-head h1 {
        font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
        max-width: 24ch;
    }

    .page-head .lead {
        margin-top: 1rem;
        color: #e6edfb;
    }

    .page-head .post-meta {
        margin-top: 1rem;
        color: #dbe6fa;
    }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    margin-bottom: 1rem;
    font-size: var(--step--1);
    color: #cfdcf6;
}

    .crumbs li + li::before {
        content: "/";
        margin-right: .5rem;
        color: rgba(255, 255, 255, .45);
    }

    .crumbs a {
        color: #fff;
        text-decoration: none;
    }

        .crumbs a:hover {
            text-decoration: underline;
        }

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-space) + 12px);
    display: grid;
    gap: 1.5rem;
}

.side-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

    .side-card h2 {
        margin-bottom: .75rem;
        font-size: 1.05rem;
    }

.side-links a {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .4rem .6rem;
    margin-inline: -.6rem;
    border-radius: var(--radius-small);
    color: var(--ink);
    font-size: .9375rem;
    text-decoration: none;
}

    .side-links a:hover {
        background: var(--tint);
        color: var(--blue);
    }

.side-links .icon {
    color: var(--teal-ink);
}

.side-card-strong {
    background: var(--grad-brand);
    border: 0;
    color: #fff;
}

    .side-card-strong p {
        margin-bottom: 1.25rem;
        color: #eef4fd;
        font-size: .9375rem;
    }

    .side-card-strong .btn + .btn {
        margin-top: .6rem;
    }

.prose {
    max-width: 72ch;
}

.prose-page {
    margin-inline: auto;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h2 {
    margin-top: 2em;
    font-size: var(--step-2);
    color: var(--blue);
}

.prose h3 {
    margin-top: 1.7em;
}

.prose h4 {
    margin: 1.5em 0 0;
    font-size: var(--step-0);
}

.prose ul, .prose ol {
    padding-left: 1.4rem;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li + li {
    margin-top: .4em;
}

.prose li::marker {
    color: var(--teal);
}

.prose blockquote {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
    background: var(--tint);
    color: var(--ink-soft);
}

.prose img, .content-image {
    border-radius: var(--radius);
}

.content-image {
    width: 100%;
    margin-bottom: 2rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--step--1);
}

.prose th, .prose td {
    padding: .7rem .8rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--tint);
    font-weight: 600;
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin-block: 2.5em;
}

.stage-note {
    margin-top: 3rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--tint);
}

.stage-note-title {
    font-size: var(--step-1);
    font-weight: 600;
    color: var(--blue);
}

.stage-note p + p {
    margin-top: .5rem;
    color: var(--ink-soft);
}

.solution-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 5vw, 4rem);
    padding-block: 3rem;
    border-top: 1px solid var(--line);
}

    .solution-block:first-child {
        padding-top: 0;
        border-top: 0;
    }

.register-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 13px;
    background: var(--grad-brand);
    color: #fff;
}

.register-tagline {
    margin-top: .35rem;
    font-weight: 500;
    color: var(--teal-ink);
}

.solution-intro h2 {
    margin-top: 1.25rem;
    font-size: var(--step-2);
}

    .solution-intro h2 a {
        color: var(--blue);
        text-decoration: none;
    }

        .solution-intro h2 a:hover {
            text-decoration: underline;
        }

.solution-intro > p:not(.register-tagline) {
    margin-block: .9rem 1.25rem;
    color: var(--ink-soft);
    font-size: .9375rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1.25rem;
    align-content: start;
}

    .service-list a {
        display: flex;
        gap: .9rem;
        height: 100%;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        color: var(--ink);
        text-decoration: none;
        transition: border-color .18s, box-shadow .18s;
    }

        .service-list a:hover {
            border-color: var(--teal);
            box-shadow: var(--shadow);
        }

    .service-list .icon {
        color: var(--blue);
        margin-top: .15rem;
    }

    .service-list strong {
        display: block;
        font-weight: 600;
        color: var(--blue);
    }

    .service-list span span {
        display: block;
        margin-top: .2rem;
        font-size: .8125rem;
        line-height: 1.6;
        color: var(--ink-soft);
    }

.jobs {
    margin-top: 1.5rem;
    border-top: 1px solid var(--line);
}

    .jobs summary strong {
        display: block;
    }

.job-facts {
    display: block;
    font-size: var(--step--1);
    font-weight: 400;
    color: var(--ink-faint);
}

.results li {
    padding-block: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.results h2 {
    font-size: 1.2rem;
    margin-block: .4rem;
}

    .results h2 a {
        color: var(--blue);
        text-decoration: none;
    }

        .results h2 a:hover {
            text-decoration: underline;
        }

.results .post-meta {
    color: var(--teal-ink);
    font-weight: 500;
}

.results p:last-child {
    color: var(--ink-soft);
    font-size: .9375rem;
}

.empty {
    padding: 3rem 2rem;
    border-radius: var(--radius);
    background: var(--tint);
    text-align: center;
}

    .empty h2 {
        font-size: var(--step-2);
        margin-bottom: .75rem;
    }

    .empty p {
        color: var(--ink-soft);
        max-width: 54ch;
        margin-inline: auto;
    }

.error-page {
    padding-top: calc(var(--header-space) + 4rem);
}

.error-code {
    margin-bottom: .75rem;
    color: var(--teal-ink);
    font-weight: 600;
}

.error-page h1 {
    font-size: var(--step-3);
    color: var(--blue);
}

.error-page .lead {
    margin-block: 1.25rem 2rem;
}

.error-page .search-form {
    margin-top: 2.5rem;
}

/* ---------- contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.contact-details h2, .form-card h2 {
    font-size: var(--step-2);
    margin-bottom: 1.25rem;
}

.contact-list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
}

.contact-list .icon {
    box-sizing: content-box;
    padding: 12px;
    border-radius: 50%;
    background: var(--tint);
    color: var(--blue);
}

.contact-list strong {
    display: block;
    font-size: var(--step--1);
    font-weight: 500;
    color: var(--ink-faint);
}

.contact-list a {
    font-weight: 500;
    overflow-wrap: anywhere;
}

.pre-line {
    white-space: pre-line;
}

.note {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--tint);
    border-radius: var(--radius);
}

    .note p {
        margin-block: .35rem .75rem;
        color: var(--ink-soft);
        font-size: var(--step--1);
    }

.form-card {
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 2px 6px rgba(0, 26, 80, .06), 0 16px 40px rgba(0, 26, 80, .10);
    outline: none;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.25rem;
}

.field {
    margin-bottom: 1.25rem;
}

    .field label {
        display: block;
        margin-bottom: .4rem;
        font-size: .9375rem;
        font-weight: 500;
    }

.optional {
    font-weight: 400;
    color: var(--ink-faint);
}

.field input, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: .7rem 1rem;
    border: 1.5px solid #c3cde0;
    border-radius: var(--radius-small);
    background: var(--surface);
}

.field textarea {
    resize: vertical;
    line-height: 1.6;
}

    .field input:hover, .field textarea:hover {
        border-color: var(--ink-faint);
    }

    .field input:focus-visible, .field textarea:focus-visible {
        outline: 3px solid var(--teal);
        outline-offset: 0;
        border-color: var(--blue);
    }

.has-error input, .has-error textarea {
    border-color: var(--danger);
}

.field-error {
    margin-top: .4rem;
    color: var(--danger);
    font-size: var(--step--1);
    font-weight: 500;
}

    .field-error:empty {
        display: none;
    }

.field-help {
    margin-top: .4rem;
    color: var(--ink-faint);
    font-size: var(--step--1);
}

.form-summary {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e3b5b2;
    border-radius: var(--radius-small);
    background: #fbeceb;
    color: #7a1711;
}

.form-done {
    text-align: center;
    padding-block: 2rem;
}

    .form-done .icon {
        color: var(--teal);
    }

    .form-done h2 {
        margin-block: 1rem .75rem;
    }

    .form-done p {
        margin-bottom: 1.75rem;
        color: var(--ink-soft);
    }

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- what an editor puts in a page: videos, wide and blank layouts */
.prose-wide {
    max-width: none;
}

    .prose-wide > p, .prose-wide > ul, .prose-wide > ol, .prose-wide > blockquote, .prose-wide > h2, .prose-wide > h3, .prose-wide > h4 {
        max-width: 80ch;
    }

.prose a {
    font-weight: 500;
}

.prose figure {
    margin-inline: 0;
}

.prose figcaption {
    margin-top: .5rem;
    font-size: var(--step--1);
    color: var(--ink-faint);
}
/* A player of a video site: always 16:9, never wider than the text. */
.video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow);
}

    .video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.prose video, .video-file {
    display: block;
    width: 100%;
    max-height: 80vh;
    border-radius: var(--radius);
    background: #000;
    box-shadow: var(--shadow);
}

.prose iframe:not(.video iframe) {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
}
/* Blank layout: the page's own HTML, edge to edge, starting under the floating header. */
.page-blank {
    padding-top: var(--header-space);
}
    /* A page that opens with its own hero or title band goes under the floating header, as the built-in pages do. */
    .page-blank:has(> .hero:first-child), .page-blank:has(> .page-head:first-child) {
        padding-top: 0;
    }

    .page-blank img, .page-blank video, .page-blank iframe {
        max-width: 100%;
    }

    .page-blank .video {
        max-width: var(--wrap);
        margin-inline: auto;
    }

p.mega-title {
    margin-top: 0;
}

/* ---------- motion while scrolling (site.js). Only with scripts on (.js) and only for people who have not asked
   their device for less motion; otherwise every part of a page is simply there. */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 120;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), #9fe6e7);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

.to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 40;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 26, 80, .3);
    transition: background-color .18s, transform .18s;
}

    .to-top[hidden] {
        display: none;
    }

    .to-top:hover {
        background: var(--teal-ink);
        transform: translateY(-3px);
    }

.header-bar {
    transition: min-height .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.site-header > .wrap {
    transition: padding-top .25s ease;
}

.site-header.is-scrolled > .wrap {
    padding-top: 8px;
}

.site-header.is-scrolled .header-bar {
    min-height: 60px;
    box-shadow: 0 12px 34px rgba(0, 26, 80, .22);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
}
/* Where the menu is a drawer, the scrolled header is plain white: a blurred backdrop would make the bar the frame of the
   drawer (position: fixed inside it), which then opened as a thin strip once the page was scrolled. */
@media (max-width: 1199px) {
    .site-header.is-scrolled .header-bar {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    /* A part of the page rises into place when it is scrolled to; neighbours follow each other. "translate" is used,
       not "transform", so it never fights the transforms a component already has (hover lifts, the offset stat boxes). */
    .js [data-reveal] {
        opacity: 0;
        translate: 0 28px;
        transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms), translate .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms), transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .18s;
    }

        .js [data-reveal].is-in {
            opacity: 1;
            translate: 0 0;
        }


    /* The top of the home page arrives in order: heading, text, buttons. */
    .js .page-head .wrap > * {
        animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
    }

    .js .page-head .wrap > :nth-child(2) {
        animation-delay: .08s;
    }

    .js .page-head .wrap > :nth-child(3) {
        animation-delay: .16s;
    }

    /* The framework is a sequence, so its four stages switch on one after the other: the beam of light grows from
       the pedestal, then the icon settles on it. */
    .js .pedestals > li {
        --reveal-delay: calc(var(--stage, 0) * 180ms);
    }

        .js .pedestals > li:nth-child(2) {
            --stage: 1;
        }

        .js .pedestals > li:nth-child(3) {
            --stage: 2;
        }

        .js .pedestals > li:nth-child(4) {
            --stage: 3;
        }

    .js .pedestals .pedestal-beam {
        transform: scaleY(0);
        transform-origin: 50% 100%;
        transition: transform .7s cubic-bezier(.2, .7, .2, 1) calc(var(--stage, 0) * 180ms + .3s);
    }

    .js .pedestals .is-in .pedestal-beam {
        transform: scaleY(1);
    }

    .js .pedestals .pedestal-icon {
        opacity: 0;
        translate: 0 -18px;
        transition: opacity .5s ease calc(var(--stage, 0) * 180ms + .6s), translate .6s cubic-bezier(.3, 1.4, .5, 1) calc(var(--stage, 0) * 180ms + .6s), transform .25s ease-out;
    }

    .js .pedestals .is-in .pedestal-icon {
        opacity: 1;
        translate: 0 0;
    }

    .js .strategy-rows > li .strategy-icon {
        scale: .4;
        transition: scale .6s cubic-bezier(.3, 1.4, .5, 1) calc(var(--reveal-delay, 0ms) + .15s);
    }

    .js .strategy-rows > li.is-in .strategy-icon {
        scale: 1;
    }

    /* The artwork beside "Why choose" floats, slowly. */
    .why-art > * {
        animation: float 7s ease-in-out infinite;
    }

    .industry-card .industry-icon, .solution-icon {
        transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), background-color .18s;
    }

    .industry-card:hover .industry-icon {
        transform: translateY(-4px) scale(1.06);
        background: var(--blue);
        color: #fff;
    }

    .solution-card {
        transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
    }

        .solution-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 22px 44px rgba(0, 26, 80, .22);
        }

            .solution-card:hover .solution-icon {
                transform: rotate(-6deg) scale(1.08);
            }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
}

@keyframes float {
    50% {
        transform: translateY(-12px);
    }
}

/* ---------- smaller screens. The menu turns into a drawer under 1200px: a 1920px screen at 150% is 1280px wide,
   where the old site still shows the whole menu. Keep in step with the drawer test in site.js. */
@media (max-width: 1199px) {
    :root {
        --header-space: 88px;
    }
    /* The menu becomes a drawer. */
    .nav {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 100;
        width: min(400px, 100vw);
        display: block;
        padding: 0 1.25rem 2rem;
        background: var(--surface);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .22s ease-out, visibility .22s;
    }

        .nav.is-open {
            transform: none;
            visibility: visible;
        }

    .nav-head {
        position: sticky;
        top: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 68px;
        margin-bottom: .5rem;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--blue);
    }

    .nav-list {
        display: block;
    }

        .nav-list > li {
            border-bottom: 1px solid var(--line);
        }

            .nav-list > li.has-panel:not(.has-mega) {
                position: static;
            }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        min-height: 56px;
        padding-inline: .25rem;
        font-size: 1.05rem;
        border-radius: 0;
    }

        .nav-link:hover, .nav-link[aria-expanded=true], .nav-link[aria-current=page] {
            background: none;
        }

    .panel, .panel-mega {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0 0 1rem;
        border-radius: 0;
        box-shadow: none;
    }

    .mega {
        display: block;
    }

    .mega-links {
        columns: 1;
        margin-bottom: .75rem;
    }

    .mega-side span {
        display: none;
    }

    .nav-cta {
        display: flex;
        margin-top: 1.5rem;
    }

    .nav-open {
        display: inline-grid;
    }

    .header-bar {
        justify-content: space-between;
    }

    .solutions > li {
        width: calc((100% - 1.5rem) / 2);
    }

    .industries > li {
        width: calc((100% - 3rem) / 3);
    }
}

@media (max-width: 900px) {
    .strategy-head, .why-inner, .scale-inner, .contact-grid, .content-grid, .solution-block, .footer-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .strategy-rows li {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .strategy-rows p {
        grid-column: 1 / -1;
    }

    .pedestals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
    }

    .why-art {
        order: -1;
        max-width: 420px;
        margin-inline: auto;
    }

    .industries > li {
        width: calc((100% - 1.5rem) / 2);
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar {
        position: static;
    }

    .logos {
        justify-content: center;
    }

    .hero {
        min-height: 560px;
    }
}

@media (max-width: 640px) {
    .header-cta {
        display: none;
    }

    .header-bar {
        padding-left: 14px;
        min-height: 60px;
    }

    .hero {
        min-height: 520px;
        border-radius: 0 0 20px 20px;
    }

    .page-head {
        border-radius: 0 0 20px 20px;
    }

    .solutions > li, .industries > li {
        width: 86%;
    }

    .carousel-sides {
        grid-template-columns: minmax(0, 1fr);
    }

        .carousel-sides .round-btn {
            display: none;
        }

    .post-grid, .service-list, .field-row, .stats {
        grid-template-columns: minmax(0, 1fr);
    }

        .stats > div:nth-child(even) {
            transform: none;
        }

    .pedestal {
        width: 130px;
        height: 136px;
    }

    .pedestal-base {
        width: 110px;
    }

    .footer-nav {
        columns: 2;
        column-gap: 1.5rem;
    }

    .site-footer {
        border-radius: 20px 20px 0 0;
    }

    .btn-row .btn {
        flex: 1 1 100%;
    }

    .search-form .btn {
        padding-inline: .9rem;
    }

    .cta-inner .btn-row, .cta-inner .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation: none !important;
    }
}

@media print {
    .site-header, .cta, .site-footer, .sidebar, .carousel-nav, .scroll-progress, .to-top {
        display: none !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        translate: none !important;
    }

    .hero, .page-head, .strategy, .scale, .why {
        background: none !important;
        color: #000 !important;
    }

    .section {
        padding-block: 1.5rem;
    }
}

/* ============================================================================================================
   Start Verification and the client profiles - a copy of cleansheetgroup.com (WordPress, Hub theme, Elementor).
   Sizes, colours and timings are the old site's computed values, measured at a 1536px wide window.
   ============================================================================================================ */

.wrap-wide {
    max-width: calc(1350px + 2 * var(--gutter));
}

/* ---------- the top band (Shared/_HeroBand): the picture carries its own blue */
.hero-band {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: max(300px, 24vw);
    padding: 78px 0 0;
    border-radius: 0 0 30px 30px;
    color: #fff;
    text-align: center;
    background: radial-gradient(55% 90% at 88% 20%, rgba(45, 187, 191, .5) 0%, rgba(45, 187, 191, 0) 65%), linear-gradient(110deg, #001a50 0%, #00339e 60%, #0f5aa6 100%);
}

    .hero-band.has-image {
        background: var(--hero-image) 50% 50% / cover no-repeat, linear-gradient(110deg, #001a50 0%, #00339e 60%, #0f5aa6 100%);
    }
/* the blue stays under a picture that does not load */
.hero-band-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-block: 10px;
}

.hero-band h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    color: #fff;
}

    .hero-band h1 .accent {
        color: inherit;
    }

.hero-band p {
    max-width: 851px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #fff;
}

.hero-band-tall {
    min-height: max(480px, 41.73vw);
    padding-top: 101px;
}

    .hero-band-tall .hero-band-inner {
        gap: 10px;
    }

.hero-band-logo {
    width: auto;
    height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.hero-band-button {
    width: 210px;
    height: 50px;
    min-height: 0;
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-radius: 38px;
    background: #fff;
    color: #00339e;
    font-size: 15px;
    font-weight: 600;
}

.hero-band-button {
    transition: background-color .3s, color .3s;
}

    .hero-band-button:hover, .hero-band-button:focus-visible {
        background: #00339e;
        color: #fff;
    }
/* as on the old site */

/* ---------- Start Verification: the search boxes (filtering on the page, site.js) and the organization cards */
.client-directory {
    padding: 68px 0 87px;
}

.client-search {
    display: block;
    max-width: 1013px;
    margin: 0 auto 30px;
}

.client-search-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 20px;
}

.client-search-wide, .client-search-button {
    grid-column: 1 / -1;
}

.client-search-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    color: #000;
}

.client-search-field input {
    display: block;
    width: 100%;
    height: 47px;
    padding: 6px 16px;
    border: .8px solid rgba(0, 51, 158, .12);
    border-radius: 100px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: #555;
}

    .client-search-field input::placeholder {
        color: #757575;
        opacity: 1;
    }

    .client-search-field input:focus {
        outline: 0;
        border-color: rgba(0, 51, 158, .4);
    }

.client-search-button {
    height: 55px;
    margin-top: -8px;
    padding: 14px;
    border: 0;
    border-radius: 100px;
    background: #00339e;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all .3s;
}

    .client-search-button:hover {
        background: #002a82;
    }

.client-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 15px;
}

    .client-results p {
        margin: 0;
        font-size: 15px;
        color: #7a7a7a;
    }

.client-reset {
    display: inline-flex;
    align-items: center;
    height: 43px;
    padding: 8px 16px;
    border: .8px solid rgba(0, 51, 158, .12);
    border-radius: 100px;
    background: transparent;
    font-size: 15px;
    color: #7a7a7a;
    text-decoration: none;
    transition: all .3s;
}

    .client-reset:hover {
        color: #00339e;
        border-color: rgba(0, 51, 158, .3);
    }

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 324px));
    margin: 0;
    padding: 0;
    list-style: none;
}

    .client-grid > li[hidden] {
        display: none;
    }

.client-card {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 10px;
    text-decoration: none;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(0, 51, 158, .08);
}

    .client-logo img {
        width: auto;
        height: 100px;
        max-width: 100%;
        object-fit: contain;
    }

.client-initial {
    font-size: 40px;
    font-weight: 600;
    color: #00339e;
}

.client-name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #00339e;
    text-align: center;
    transition: color .3s;
}

.client-empty {
    margin: 1rem 0 0;
    font-size: 15px;
    color: #7a7a7a;
    text-align: center;
}

/* ---------- Start Verification: why choose us - the points on the box's picture */
.why-section {
    padding-bottom: var(--section);
}

.why-label {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    color: #00339e;
}

.why-head h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
}

.why-text {
    max-width: 850px;
    margin: 15px 0 0;
    font-size: 14px;
    line-height: 1.7;
}

.why-box {
    display: flex;
    align-items: center;
    min-height: 495px;
    margin: 40px 10px 0;
    border-radius: 10px;
    color: #fff;
    background: radial-gradient(70% 120% at 85% 40%, #0b47a8 0%, rgba(11, 71, 168, 0) 65%), linear-gradient(100deg, #001a50 0%, #002a82 100%);
}

    .why-box.has-image {
        background: var(--why-image, url("/media/legacy/2026/01/ChatGPT-Image-Jan-19-2026-01_42_03-PM-copy.webp")) 50% 50% / cover no-repeat, linear-gradient(100deg, #001a50 0%, #002a82 100%);
    }

.why-box-inner {
    width: 100%;
    padding-block: 40px;
}

.why-accordion {
    width: min(654px, 100%);
}

    .why-accordion details {
        border-bottom: 1px solid rgba(255, 255, 255, .24);
    }

        .why-accordion details:last-child {
            border-bottom: 0;
        }

    .why-accordion summary {
        display: block;
        min-height: 0;
        padding: 10px;
        font-size: 25px;
        font-weight: 600;
        line-height: 1.5;
        color: #fff;
        cursor: pointer;
        list-style: none;
    }

        .why-accordion summary::-webkit-details-marker {
            display: none;
        }

        .why-accordion summary::after {
            content: none;
        }

    .why-accordion .accordion-body p {
        max-width: none;
        margin: 0;
        padding: 0 10px 15px;
        font-size: 14px;
        line-height: 1.7;
        color: #fff;
    }

.insights-section .post-grid > [data-ca-item], .insights-section .post-grid > div {
    display: grid;
}

/* ---------- client profile: video guide and questions */
.client-section-title {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    color: #000;
    text-align: center;
}

    .client-section-title .accent {
        color: #00339e;
    }

.client-video, .client-content {
    padding-top: 100px;
}

.client-video-frame {
    position: relative;
    max-width: 878px;
    margin: 0 auto;
    aspect-ratio: 878 / 494;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
}

    .client-video-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.client-prose {
    margin-inline: auto;
}

.client-faq {
    padding-block: 100px;
}

.client-faq-band {
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(120deg, #2c4ea0 0%, #24509f 35%, #1f86ad 75%, #2ab3b5 100%);
}

    .client-faq-band.has-image {
        background: var(--faq-image) 50% 50% / cover no-repeat, linear-gradient(120deg, #2c4ea0 0%, #24509f 35%, #1f86ad 75%, #2ab3b5 100%);
    }

.faq-accordion details {
    border-bottom: .8px solid rgba(255, 255, 255, .24);
}

.faq-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 0;
    padding: 15px 10px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.875;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

    .faq-accordion summary::-webkit-details-marker {
        display: none;
    }
    /* The plus / minus of the old site (Font Awesome, 16px in a 30px column), drawn with two bars. */
    .faq-accordion summary::after {
        content: "";
        flex: none;
        width: 30px;
        height: 16px;
        border: 0;
        transform: none;
        background: linear-gradient(#fff, #fff) 50% 50% / 14px 3px no-repeat, linear-gradient(#fff, #fff) 50% 50% / 3px 14px no-repeat;
    }

.faq-accordion details[open] > summary::after {
    transform: none;
    background: linear-gradient(#fff, #fff) 50% 50% / 14px 3px no-repeat;
}

.faq-accordion .accordion-body {
    max-width: none;
    padding: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: #fff;
}

    .faq-accordion .accordion-body > :first-child {
        margin-top: 0;
    }

    .faq-accordion .accordion-body > :last-child {
        margin-bottom: 0;
    }

    .faq-accordion .accordion-body a, .faq-accordion .accordion-body strong {
        color: #fff;
    }

/* ---------- the top of the home page, as on cleansheetgroup.com: the picture (with its own blue) fills the band,
   heading 40px on two lines, 14px text with two bold words, no veil and no movement */
.hero {
    min-height: max(560px, 48vw);
}

    .hero:has(.hero-photo)::before, .hero:has(.hero-photo) .hero-shade {
        display: none;
    }

.hero-photo {
    transform: none;
}

.hero .hero-inner {
    width: 100%;
    padding-block: 98px 0;
}

.hero h1 {
    max-width: none;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    color: #fff;
}

    .hero h1 .accent {
        color: inherit;
    }

.hero p {
    max-width: 527px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: #fff;
}

    .hero p .accent {
        font-weight: 700;
        color: #fff;
    }

.hero .btn-row {
    margin-top: 30px;
}

/* ---------- "Why choose" (Shared/_WhyBox): the phone beside the points, 50px out of the box above and below */
.why-section {
    padding-bottom: calc(var(--section) + 50px);
}

.why-box-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 495px;
}

.why-phone {
    position: absolute;
    top: -50px;
    bottom: -50px;
    right: var(--gutter);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: min(676px, 50%);
    pointer-events: none;
}

    .why-phone img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

@media (max-width: 900px) {
    .why-box-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .why-phone {
        position: static;
        width: 100%;
        height: auto;
        margin: 20px 0 -50px;
    }

        .why-phone img {
            height: auto;
        }
}

@media (max-width: 767px) {
    .hero {
        min-height: 520px;
    }

        .hero .hero-inner {
            padding-block: calc(var(--header-space) + 1.5rem) 3rem;
        }

        .hero h1 {
            font-size: 30px;
            line-height: 1.2;
        }
}

/* ---------- the logos of the home page, as on cleansheetgroup.com: in colour, moving left without end (60px a second),
   still while the mouse is on them. Without motion (reduced motion) they simply wrap. */
.logo-marquee {
    display: flex;
    margin-top: 2.5rem;
    overflow: hidden;
}

.logo-track {
    display: flex;
    flex: none;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .logo-track li {
        display: flex;
        flex: none;
        align-items: center;
        justify-content: center;
        width: 282px;
        padding: 0 25px;
    }

    .logo-track img {
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 133px;
        object-fit: contain;
    }

@media (prefers-reduced-motion: no-preference) {
    .logo-track {
        animation: logo-marquee var(--marquee-duration, 28s) linear infinite;
    }

    .logo-marquee:hover .logo-track {
        animation-play-state: paused;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-track {
        flex-wrap: wrap;
        justify-content: center;
    }

        .logo-track[aria-hidden] {
            display: none;
        }
}

@keyframes logo-marquee {
    to {
        transform: translateX(-100%);
    }
}

/* ---------- editors' pictures behind the home bands (Admin > Page sections) */
.scale.has-image::before {
    inset: 0;
    opacity: 1;
    background: var(--scale-image) 85% 50% / auto 80% no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
}

.cta-inner.has-image {
    background: var(--cta-image) 50% 50% / cover no-repeat, var(--grad-band);
}

/* ---------- the motion of the Hub theme (site.js)
   Entrance: in a [data-ca] block every [data-ca-item] rises 150px and fades in, 1.6s power4.out, 0.16s after the one
   before, when the block's first item reaches the screen. Buttons: on hover each letter slips out and back. */
.btn-liquid-x .lqd-chars {
    display: inline-block;
    white-space: pre;
}

@media (prefers-reduced-motion: no-preference) {
    .js [data-ca] [data-ca-item] {
        opacity: 0;
        transform: translate3d(0, 150px, 0);
    }

    .js [data-ca].ca-in [data-ca-item] {
        opacity: 1;
        transform: none;
        transition: opacity 1.6s cubic-bezier(.23, 1, .32, 1) var(--ca-delay, 0s), transform 1.6s cubic-bezier(.23, 1, .32, 1) var(--ca-delay, 0s);
    }

    .btn-liquid-x:hover .lqd-chars {
        animation: btnHoverTxtLiquidX .6s calc(var(--chars-index, 0) * 30ms) cubic-bezier(.23, 1, .32, 1) both alternate;
    }
}

@keyframes btnHoverTxtLiquidX {
    50% {
        opacity: 0;
        transform: translateX(-.3em);
    }

    51% {
        opacity: 0;
        transform: translateX(.3em);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .client-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .client-faq-band {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .hero-band h1, .why-head h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero-band-tall {
        min-height: 480px;
        padding-top: 110px;
    }

    .client-search-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-box {
        min-height: 0;
    }

    .why-accordion summary {
        font-size: 20px;
    }

    .faq-accordion summary {
        font-size: 17px;
        line-height: 1.5;
    }

    .client-video, .client-content {
        padding-top: 60px;
    }

    .client-faq {
        padding-block: 60px;
    }
}

/* ==========================================================================================================
   Home sections copied from cleansheetgroup.com (measured at 1521px wide): solutions, strategy, industries,
   scale and the footer. Later than the rules above, so these win.
   ========================================================================================================== */

/* Section heads of the home page: small blue label 15px/600, title 40px/600. */
.home-solutions .label, .home-industries .label {
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
}

.home-solutions h2, .home-industries h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
    font-weight: 600;
}

/* ---- looping rows (site.js) */
.loop {
    position: relative;
}

.loop-viewport {
    overflow: hidden;
}

.loop-track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    will-change: transform;
}

.loop-cell {
    flex: none;
    padding: 0 10px;
}

.loop-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.loop-btn {
    display: inline-grid;
    place-items: center;
    width: 45px;
    height: 45px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    transition: background-color .3s;
}

    .loop-btn:hover {
        background: var(--teal);
    }

/* ---- solutions: cards 430 x 432 in cells of 450, gradient per card, round picture 82px half out at the top */
.home-solutions .loop-viewport {
    padding-top: 41px;
}
/* Three cards fill the row, as on the old site (450px each at the full 1350px; narrower screens share their width). */
.home-solutions .loop {
    container-type: inline-size;
}

.home-solutions .loop-cell {
    width: calc(100cqw / 3);
    max-width: 100vw;
}

.sol-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 432px;
    height: 100%;
    padding: 10px 30px 30px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(90deg, #3b5ca9 0%, #286395 100%);
}

.loop-cell:nth-child(4n + 2) .sol-card {
    background: linear-gradient(90deg, #286395 0%, #2ca2b3 100%);
}

.loop-cell:nth-child(4n + 3) .sol-card {
    background: linear-gradient(90deg, #2ca2b3 0%, #2dbbbf 100%);
}

.loop-cell:nth-child(4n + 4) .sol-card {
    background: linear-gradient(90deg, #2dbbbf 0%, #286395 100%);
}

.sol-badge {
    display: block;
    width: 82px;
    height: 82px;
    margin: -48px 0 20px;
}

    .sol-badge img {
        display: block;
        width: 82px;
        height: 82px;
        object-fit: cover;
    }

.sol-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}

.sol-card h3 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 21.6px;
    color: #fff;
}

.sol-text {
    flex: 1;
    margin-top: 16px;
    font-size: 14px;
    line-height: 23.8px;
    color: #fff;
}

.sol-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

    .sol-more:hover {
        color: #fff;
    }

.sol-more {
    margin-top: 24px;
    font-size: 14px;
}

.sol-more-dot {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    transition: transform .3s;
}

    .sol-more-dot svg {
        stroke-width: 3;
    }

.sol-more:hover .sol-more-dot {
    transform: translateX(4px);
}

.home-solutions .loop-track {
    align-items: stretch;
}

/* ---- strategy: Group-86 behind the band, original icons, plain text */
.home-strategy {
    padding: 0 10px;
    background: none;
    color: #fff;
}

.strategy-box {
    min-height: 763px;
    display: flex;
    align-items: center;
    padding-block: 80px;
    background: var(--grad-band);
    background: var(--strategy-image, var(--grad-band)) center / cover no-repeat;
}

    .strategy-box > .wrap {
        width: 100%;
    }

.home-strategy .strategy-head {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 100px;
    align-items: start;
    margin-bottom: 40px;
}

    .home-strategy .strategy-head h2 {
        margin-bottom: 25px;
        font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
        font-weight: 600;
        color: #fff;
    }

    .home-strategy .strategy-head p {
        font-size: 14px;
        line-height: 23.8px;
        color: #fff;
    }

.strategy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 223px;
    height: 51px;
    padding: 0 30px;
    border-radius: 50px;
    background: #fff;
    color: var(--blue);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}

    .strategy-btn:hover {
        background: var(--blue);
        color: #fff;
    }

.home-strategy .strategy-rows li {
    grid-template-columns: 54px minmax(0, 140px) minmax(0, 1fr);
    gap: 1rem 25px;
    padding-block: 30px;
    border-top: 0;
}

    .home-strategy .strategy-rows li + li {
        border-top: .8px solid rgba(255, 255, 255, .3);
    }

.home-strategy .strategy-icon, .js .home-strategy .strategy-rows > li .strategy-icon {
    width: 54px;
    height: 52px;
    border: 0;
    border-radius: 0;
    background: none;
    scale: 1;
    transition: none;
}

    .home-strategy .strategy-icon img {
        display: block;
        width: 54px;
        height: 52px;
    }

.home-strategy .strategy-rows h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.home-strategy .strategy-rows p {
    font-size: 14px;
    font-weight: 400;
    line-height: 23.8px;
    color: #fff;
}

/* ---- industries: centred row of cards 284 x 273 (cells of 304), faded sides, thin round arrows at the edges */
.home-industries .loop-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.home-industries .loop-cell {
    width: 304px;
}

.ind-card {
    height: 100%;
    min-height: 273px;
    padding: 30px;
    border: .8px solid #28afb0;
    border-radius: 15px;
    background: #fff;
}

.ind-icon {
    display: block;
    height: 36px;
    margin-bottom: 20px;
    color: var(--blue);
}

    .ind-icon img {
        display: block;
        width: auto;
        height: 36px;
    }

.ind-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    color: #00339e;
}

.ind-card p {
    margin-top: 14px;
    font-size: 13px;
    line-height: 22.1px;
    color: #000;
}

.loop-side {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin-top: -15px;
    border: .8px solid #00339e;
    border-radius: 50%;
    background: transparent;
    color: #00339e;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}

    .loop-side:hover {
        background: #00339e;
        color: #fff;
    }

.loop-side-prev {
    left: 0;
}

.loop-side-next {
    right: 0;
}

/* ---- scale: one rounded box (Group-62 holds gradient + map), text left, four small glass cards on the map */
.home-scale {
    padding: 10px;
}

.scale-box {
    position: relative;
    overflow: hidden;
    min-height: 363px;
    padding: 0 10px;
    border-radius: 15px;
    color: #fff;
    background: var(--scale-image, url('/media/legacy/2026/01/image-12-2.png')) right 5% center / 40% auto no-repeat, radial-gradient(ellipse 45% 75% at 22% 100%, rgba(64, 210, 216, .95) 0%, rgba(64, 210, 216, 0) 100%), radial-gradient(ellipse 30% 55% at 100% 0%, rgba(58, 190, 220, .8) 0%, rgba(58, 190, 220, 0) 100%), linear-gradient(90deg, #0d4ba6 0%, #136ab3 55%, #0f5aaa 100%);
}

.scale-box-inner {
    position: relative;
    min-height: 363px;
    display: flex;
    align-items: center;
}

.scale-text {
    max-width: min(723px, 55%);
}

    .scale-text h2 {
        font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
        font-weight: 600;
        color: #fff;
    }

    .scale-text p {
        margin-top: 15px;
        font-size: 14px;
        line-height: 23.8px;
        color: #fff;
    }
/* The cards keep to the right of the box, as wide as on the old site at full width (they end with the text column's
   width, 1350px), and close up on narrower screens instead of running out of the box. */
.scale-stats {
    position: absolute;
    top: 61px;
    right: 0;
    display: grid;
    width: min(512px, 45%);
    grid-template-columns: minmax(0, 1fr) max-content;
    row-gap: 84px;
    margin: 0;
}

.scale-stat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    height: 70px;
    padding: 10px 14px 5px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    width: max-content;
    min-width: 140px;
}

    .scale-stat:nth-child(even) {
        transform: translateY(21px);
    }

    .scale-stat img {
        flex: none;
    }

    .scale-stat dd {
        margin: 0;
        font-size: 28px;
        font-weight: 600;
        line-height: 1.15;
        color: #fff;
        white-space: nowrap;
    }

    .scale-stat dt {
        font-size: 12px;
        font-weight: 500;
        color: #fff;
    }

/* ---- footer: navy card, round top corners, logo block 447px then three columns */
.site-footer {
    padding-top: 80px;
    background: #001a50;
    border-radius: 30px 30px 0 0;
    color: #fff;
}

    .site-footer .footer-top {
        grid-template-columns: 447px minmax(0, 1fr);
        gap: 30px;
        padding-block: 0 50px;
    }

    .site-footer .footer-brand .logo img {
        display: block;
        width: 209px;
        height: auto;
    }

    .site-footer .footer-tagline {
        max-width: none;
        margin-top: 20px;
        font-size: 22px;
        font-weight: 600;
        line-height: 1.3;
        color: #fff;
    }

.footer-rule {
    height: 0;
    margin: 20px 0;
    border: 0;
    border-top: .8px solid rgba(255, 255, 255, .68);
}

.site-footer .footer-badges {
    flex-wrap: nowrap;
    gap: 15px;
    margin-top: 0;
}

    .site-footer .footer-badges img {
        width: 120px;
        height: 61px;
        object-fit: contain;
    }

.site-footer .footer-locations {
    margin-top: 30px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    color: #fff;
}

.site-footer .footer-nav {
    columns: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 30px;
}

.site-footer .footer-col {
    margin: 0;
}

.footer-group + .footer-group {
    margin-top: 12px;
}

    .footer-group.has-links + .footer-group, .footer-group + .footer-group.has-links {
        margin-top: 40px;
    }

.site-footer .footer-col h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.site-footer .footer-group.has-links h2 {
    margin-bottom: 20px;
}

.site-footer .footer-col li + li {
    margin-top: 6px;
}

.site-footer .footer-col h2 a {
    color: #fff;
}

.site-footer .footer-col li a {
    min-height: 0;
    font-size: 13px;
    line-height: 22.1px;
    color: #fff;
}

.site-footer .footer-col a:hover {
    color: #28afb0;
    text-decoration: none;
}

.site-footer .footer-contact {
    margin-top: 40px;
}

    .site-footer .footer-contact h2 {
        margin-bottom: 14px;
        font-size: 13px;
    }

.site-footer .footer-phone {
    min-height: 0;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    line-height: 22.1px;
    color: #fff !important;
}

.site-footer .social {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

    .site-footer .social li a {
        width: 22px;
        height: 22px;
        background: #fff;
        color: #001a50 !important;
    }

        .site-footer .social li a svg {
            width: 10px;
            height: 10px;
        }

        .site-footer .social li a:hover {
            background: #28afb0;
            color: #fff !important;
        }
/* One line, all at the same height (the footer's spacing between list items is not for these), in the old site's
   order: Facebook, X, Instagram, LinkedIn. */
.site-footer .social {
    align-items: center;
}

    .site-footer .social li, .site-footer .social li + li {
        margin: 0;
        padding: 0;
    }

        .site-footer .social li:has(a[href*="facebook"]) {
            order: 1;
        }

        .site-footer .social li:has(a[href*="x.com"]), .site-footer .social li:has(a[href*="twitter"]) {
            order: 2;
        }

        .site-footer .social li:has(a[href*="instagram"]) {
            order: 3;
        }

        .site-footer .social li:has(a[href*="linkedin"]) {
            order: 4;
        }

.site-footer .footer-bottom {
    padding-block: 20px;
    border-top: .8px solid rgba(255, 255, 255, .2);
    font-size: 13px;
    color: #fff;
}

    .site-footer .footer-bottom strong {
        font-weight: 600;
    }

/* ---- smaller screens */
/* The figures stay on the map beside the text down to 1025px, as on the old site (a 1920px screen at 150% is 1280px). */
@media (max-width: 1024px) {
    .scale-box-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 30px;
        padding-block: 50px;
    }

    .scale-text {
        max-width: 723px;
    }

    .scale-stats {
        position: static;
        width: auto;
        grid-template-columns: repeat(2, max-content);
        column-gap: 30px;
        row-gap: 20px;
    }

    .scale-stat:nth-child(even) {
        transform: none;
    }
}

@media (max-width: 1100px) {
    .site-footer .footer-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer .footer-badges {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .home-strategy .strategy-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-strategy .strategy-rows li {
        grid-template-columns: 54px minmax(0, 1fr);
    }

        .home-strategy .strategy-rows li p {
            grid-column: 1 / -1;
        }

    .strategy-box {
        min-height: 0;
    }

    .site-footer .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }
}

@media (max-width: 640px) {
    .home-solutions .loop-cell {
        width: 100cqw;
    }

    .sol-card {
        height: auto;
        min-height: 400px;
    }

    .home-industries .loop-viewport {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .scale-stats {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 14px;
    }

    .scale-stat {
        width: auto;
        min-width: 0;
        height: auto;
        padding: 8px 10px;
    }

        .scale-stat dd {
            font-size: 22px;
        }

    .site-footer .footer-nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

.site-footer .footer-col > .footer-contact:first-child {
    margin-top: 0;
}

.site-footer .footer-top {
    padding-top: 70px;
}

/* ==========================================================================================================
   Contact, About, Career, Blog and News copied from cleansheetgroup.com (measured at 1521px wide).
   ========================================================================================================== */

/* ---- picture band of the inner pages: small label, 40px heading, 14px text; height per page (--hero-h) */
.hero-band {
    min-height: var(--hero-h, max(300px, 24vw));
    padding-top: 70px;
}

.hero-band-inner {
    gap: 0;
}

.hero-band-label {
    margin: 0 0 15px;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: #fff;
}

.hero-band h1 {
    max-width: 860px;
}

    .hero-band h1 + p {
        max-width: 716px;
        margin-top: 20px;
        font-size: 14px;
        line-height: 23.8px;
    }

/* ---- article cards (lists, latest insights): grey card, picture inset, teal label and date, pill button */
.post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

    .post-grid > div {
        display: grid;
    }

.post-card {
    padding: 15px;
    border-radius: 15px;
    background: #f8f8f8;
    overflow: visible;
}

    .post-card:hover {
        box-shadow: none;
        transform: none;
    }

.post-cover {
    aspect-ratio: 400 / 230;
    border-radius: 15px;
}

    .post-cover img {
        border-radius: 15px;
    }

.post-body {
    padding: 10px 0 0;
}

.post-meta {
    gap: 11px;
    font-size: 13px;
    font-weight: 600;
    line-height: 22.1px;
    color: #27b0af;
}

    .post-meta .pill {
        padding: 0 10px;
        border-radius: 13px;
        background: #28afb0;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        line-height: 22.1px;
    }

.post-card h3 {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
}

    .post-card h3 a {
        color: #00339e;
    }

    .post-card h3 + p {
        margin-block: 10px 20px;
        font-size: 12px;
        font-weight: 500;
        line-height: 20.4px;
        color: #000;
    }

.post-card .btn {
    width: 140px;
    height: 50px;
    min-height: 0;
    margin-top: auto;
    padding: 0;
    border: 0;
    border-radius: 38px;
    background: #00339e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

    .post-card .btn:hover {
        background: #28afb0;
        color: #fff;
    }

/* ---- latest insights: 30px heading, text 965px, the pill button on the right */
.insights-head {
    align-items: center;
    margin-bottom: 30px;
}

    .insights-head > div {
        max-width: 965px;
    }

    .insights-head h2 {
        font-size: 30px;
        font-weight: 600;
        line-height: 36px;
    }

    .insights-head p:not(.label) {
        margin-top: 15px;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

.insights-button {
    min-width: 206px;
    height: 51px;
    min-height: 0;
    padding: 0 20px;
    border-radius: 38px;
    background: #00339e;
    font-size: 15px;
    font-weight: 600;
}

/* ---- contact: heading on the left, the blue-to-teal form on the right */
.contact-page {
    padding: 60px 0 80px;
}

.contact-columns {
    display: grid;
    grid-template-columns: minmax(0, 645px) minmax(0, 665px);
    justify-content: space-between;
    gap: 30px;
    align-items: start;
}

.contact-intro {
    position: sticky;
    top: 130px;
    padding-top: 5px;
}
    /* stays beside the form while it scrolls, as on the old site */
    .contact-intro h2 {
        text-wrap: wrap;
        margin: 0;
        font-size: 40px;
        font-weight: 600;
        line-height: 48px;
        color: #000;
    }

        .contact-intro h2 .accent {
            color: #00339e;
        }

    .contact-intro p {
        margin-top: 20px;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

.contact-card {
    padding: 40px 25px 40px 40px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(180deg, #00339e 0%, #2dbdc0 100%);
}

    .contact-card:focus {
        outline: none;
    }

    .contact-card form {
        display: grid;
        gap: 0;
        width: min(585px, 100%);
    }

.cf-field {
    margin-bottom: 24px;
}

    .cf-field + .cf-field[data-inquiry] {
        margin-top: -12px;
    }

    .cf-field label {
        display: block;
        margin-bottom: 5px;
        font-size: 13px;
        font-weight: 400;
        line-height: 22.1px;
        color: #fff;
    }

        .cf-field label span {
            font-weight: 400;
        }

.cf-input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 12px 30px;
    border: .8px solid #d5d6de;
    border-radius: 750px;
    background: #fff;
    color: #000;
    font: inherit;
    font-size: 15px;
    line-height: 25.5px;
}

    .cf-input::placeholder {
        color: #9a9a9a;
    }

    .cf-input:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

.cf-select {
    padding-right: 56px;
    color: #9a9a9a;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 30px center no-repeat;
}

    .cf-select option {
        color: #000;
    }

.cf-textarea {
    height: 134px;
    padding: 15px 30px;
    border-radius: 15px;
    resize: vertical;
}

.cf-heading {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 30.6px;
    color: #fff;
}

.cf-heading-gap {
    margin-top: 16px;
    margin-bottom: 18px;
}

.cf-check {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    margin-bottom: 28px;
}

    .cf-check input {
        width: 20px;
        height: 20px;
        margin: 0;
        accent-color: #00339e;
    }

    .cf-check label {
        font-size: 13px;
        line-height: 19.5px;
        color: #fff;
        cursor: pointer;
    }

    .cf-check .field-error {
        grid-column: 2;
    }

.contact-card .field-error {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

    .contact-card .field-error:empty {
        display: none;
    }

.contact-card .has-error .cf-input {
    border: 2px solid #ffd2cc;
    box-shadow: 0 0 0 2px #b3261e;
}

.contact-card .field-error::before {
    content: "! ";
    font-weight: 700;
}

.contact-summary {
    margin-bottom: 20px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
    color: #b3261e;
    font-size: 14px;
}

    .contact-summary:focus {
        outline: 2px solid #fff;
    }

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 158px;
    height: 50px;
    padding: 0 20px;
    border: .8px solid #6ec1e4;
    border-radius: 850px;
    background: #00339e;
    color: #fff;
    font: inherit;
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}

    .contact-submit:hover {
        background: #fff;
        color: #00339e;
    }

    .contact-submit[disabled] {
        opacity: .7;
        cursor: progress;
    }

.contact-done {
    display: grid;
    justify-items: start;
    gap: 14px;
}

    .contact-done h2 {
        font-size: 25px;
        color: #fff;
    }

    .contact-done p {
        font-size: 14px;
        line-height: 23.8px;
    }

    .contact-done .contact-submit {
        width: auto;
    }

/* ---- career */
.openings {
    padding-top: 65px;
}

.openings-head {
    max-width: 891px;
    margin: 0 auto;
    text-align: center;
}

    .openings-head h2 {
        font-size: 40px;
        font-weight: 600;
        line-height: 48px;
        color: #000;
    }

        .openings-head h2 .accent {
            color: #00339e;
        }

    .openings-head p {
        margin-top: 20px;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

.openings-empty {
    max-width: 891px;
    margin: 20px auto 0;
    padding: 30px;
    border-radius: 30px;
    color: #fff;
    text-align: center;
    background: var(--openings-image, var(--grad-band)) center / cover no-repeat, var(--grad-band);
}

    .openings-empty p {
        font-size: 14px;
        line-height: 23.8px;
    }

        .openings-empty p + p {
            margin-top: 23.8px;
        }

.openings-jobs {
    max-width: 891px;
    margin: 30px auto 0;
}

.openings + #advantage {
    padding-top: 60px;
}

#movement .movement-head {
    max-width: 900px;
    margin-bottom: 40px;
}

    #movement .movement-head h2 {
        font-size: 30px;
        font-weight: 600;
        line-height: 36px;
    }

    #movement .movement-head p {
        margin-top: 20px;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

/* ---- about */
.about-row {
    padding-top: 120px;
}

.about-row-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-picture {
    flex: none;
    width: 524px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 524 / 350;
    border-radius: 15px;
    object-fit: cover;
}

.about-text {
    flex: 0 1 711px;
}

.about-row-journey {
    padding-top: 60px;
}

    .about-row-journey .about-picture {
        margin-top: -50px;
    }

.about-text .label {
    margin: 0 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: #00339e;
}

.about-text h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    color: #000;
}

    .about-text h2 .accent {
        color: #00339e;
    }

    .about-text h2 + p {
        margin-top: 20px;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

.about-mission {
    padding-top: 110px;
}

.about-mission-box {
    padding: 60px 30px 40px;
    border-radius: 15px;
    color: #fff;
    background: var(--mission-image, var(--grad-band)) center / cover no-repeat, var(--grad-band);
}

.about-mission-item {
    padding-bottom: 20px;
    border-bottom: .8px solid rgba(255, 251, 251, .3);
}

    .about-mission-item + .about-mission-item {
        margin-top: 20px;
    }

    .about-mission-item h3 {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 25px;
        font-weight: 600;
        line-height: 25px;
        color: #fff;
    }

        .about-mission-item h3 img {
            flex: none;
        }

    .about-mission-item p {
        margin-top: 5px;
        font-size: 14px;
        line-height: 23.8px;
        color: #fff;
    }

.about-values {
    padding-top: 90px;
}

    .about-values h2 {
        font-size: 40px;
        font-weight: 600;
        line-height: 48px;
        color: #000;
        text-align: center;
    }

        .about-values h2 .accent {
            color: #00339e;
        }

.about-value-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 45px 0 0;
    padding: 0;
    list-style: none;
}

    .about-value-cards li {
        display: grid;
    }

        .about-value-cards li > * {
            margin: 0;
        }

    .about-value-cards li {
        align-content: start;
        min-height: 176px;
        padding: 30px 20px;
        border: .8px solid #28afb0;
        border-radius: 15px;
        background: #fff;
    }

    .about-value-cards h3 {
        font-size: 16px;
        font-weight: 600;
        line-height: 20.8px;
        color: #000;
    }

    .about-value-cards p {
        margin-top: 6px;
        font-size: 13px;
        line-height: 22.1px;
        color: #000;
    }

.about-values + .home-scale {
    margin-top: 120px;
}

/* ---- blog and news lists */
.posts-page {
    padding: 60px 0 120px;
}

.posts-more {
    padding-top: 120px;
}

    .posts-more h2 {
        margin-bottom: 40px;
        font-size: 35px;
        font-weight: 600;
        line-height: 42px;
        color: #00339e;
        text-align: center;
    }

/* the shared parts on these pages keep the old site's spacing */
.about-values ~ .home-scale, .contact-page + *, #movement + .home-scale {
    margin-top: 0;
}

.insights-section {
    padding-top: 120px;
}

@media (max-width: 1100px) {
    .contact-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-intro {
        position: static;
    }

    .about-row-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-row-journey .about-row-inner {
        flex-direction: column-reverse;
    }

    .about-row-journey .about-picture {
        margin-top: 0;
    }
    /* In a column the text's 711px basis became its height (a blank under every row): it takes its own height. */
    .about-text {
        flex: none;
        width: 100%;
    }

    .about-value-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .contact-intro h2, .openings-head h2, .about-text h2, .about-values h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .about-value-cards, .post-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .insights-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .posts-more h2 {
        font-size: 26px;
        line-height: 1.25;
    }
}

/* ==========================================================================================================
   Expat Government Services copied from cleansheetgroup.com (measured at 1521px wide).
   ========================================================================================================== */
.expat-hero {
    --hero-h: 598px;
}

    .expat-hero h1 {
        max-width: none;
        font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4375rem);
        font-weight: 600;
        line-height: 1.2;
    }

    .expat-hero .expat-hero-sub {
        max-width: none;
        margin-top: 12px;
        font-size: clamp(1.1rem, .9rem + .7vw, 1.5rem);
        font-weight: 400;
        line-height: 1.2;
        color: #fff;
    }

    .expat-hero .expat-hero-strong {
        margin-top: 10px;
        font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1875rem);
        font-weight: 600;
        line-height: 1.2;
        color: #fff;
    }

.expat-hero-badges {
    display: block;
    width: 228px;
    height: auto;
    margin: 30px auto 0;
}

.expat-title-center {
    font-size: 35px;
    font-weight: 600;
    line-height: 42px;
    color: #000;
    text-align: center;
}

.expat-services h2 .accent, .expat-documents h2 .accent, .expat-faq h2 .accent {
    color: #00339e;
}

.expat-services {
    padding-top: 60px;
}

.expat-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 45px;
    margin: 50px 0 0;
    padding: 0 22px;
    list-style: none;
}

    .expat-cards li {
        min-height: 312px;
        padding: 30px;
        border: .8px solid #28afb0;
        border-radius: 15px;
        background: #fff;
    }

    .expat-cards h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        line-height: 26px;
        color: #000;
    }

        .expat-cards h3 span {
            display: block;
            color: #00339e;
        }

    .expat-cards p {
        margin-top: 8px;
        font-size: 16px;
        line-height: 27.2px;
        color: #000;
    }

.expat-documents {
    padding-top: 100px;
}

    .expat-documents h2 {
        font-size: 40px;
        font-weight: 600;
        line-height: 48px;
        color: #000;
    }

        .expat-documents h2 + p {
            margin-top: 20px;
            font-size: 17px;
            line-height: 28.9px;
            color: #000;
        }

.expat-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

    .expat-list li {
        display: flex;
        align-items: baseline;
        gap: 10px;
        font-size: 18px;
        line-height: 30.6px;
        color: #000;
    }

    .expat-list svg {
        flex: none;
        position: relative;
        top: 1px;
    }

.expat-process {
    margin-top: 60px;
    padding: 70px 0 70px;
    background: rgba(213, 247, 247, .26);
}

.expat-picture {
    display: block;
    margin: 0 auto;
}

    .expat-picture img {
        display: block;
        width: 100%;
        height: auto;
    }

.expat-picture-process {
    width: min(1013px, 100%);
}

.expat-picture-why {
    width: min(1035px, 100%);
}

.expat-process-action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.expat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 312px;
    height: 50px;
    padding: 0 28px;
    border-radius: 38px;
    background: #00339e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .3s;
}

    .expat-btn:hover {
        background: #28afb0;
        color: #fff;
    }

.expat-why {
    padding-top: 220px;
}

.expat-faq {
    padding: 110px 0 80px;
}

.expat-faq-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

    .expat-faq-inner > div {
        max-width: 877px;
    }

.expat-faq h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    color: #000;
}

    .expat-faq h2 + p {
        margin-top: 10px;
        font-size: 16px;
        font-weight: 500;
        line-height: 27.2px;
        color: #000;
    }

.expat-faq .expat-btn {
    flex: none;
    min-width: 333px;
}

@media (max-width: 1100px) {
    .expat-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .expat-why {
        padding-top: 100px;
    }

    .expat-faq-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .expat-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .expat-title-center, .expat-documents h2 {
        font-size: 28px;
        line-height: 1.25;
    }

    .expat-btn, .expat-faq .expat-btn {
        min-width: 0;
        width: 100%;
    }
}

/* ---- Expat Services FAQ (cleansheetgroup.com/expat-services-faq, measured at 1521px) */
.faq-hero {
    --hero-h: 552px;
}

    .faq-hero h1 {
        max-width: none;
        font-size: clamp(2rem, 1.3rem + 2.2vw, 3.125rem);
        font-weight: 600;
        line-height: 1.2;
    }

    .faq-hero .faq-hero-sub {
        max-width: none;
        margin-top: 12px;
        font-size: clamp(1.1rem, .9rem + .7vw, 1.5625rem);
        font-weight: 600;
        line-height: 1.2;
        color: #fff;
    }

.faq-page {
    padding: 70px 0 70px;
}

.faq-topic {
    margin: 50px 0 40px;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    color: #00339e;
}

.faq-page .faq-topic:first-child {
    margin-top: 0;
}

.faq-box {
    margin-bottom: 20px;
    border: .8px solid #00339e;
    border-radius: 15px;
    overflow: hidden;
    background: #f6f6f6;
}

    .faq-box summary {
        display: block;
        padding: 11.7px 30px;
        border-bottom: 1.6px solid #00339e;
        background: #fff;
        color: #00339e;
        font-size: 18px;
        font-weight: 600;
        line-height: 37.5px;
        cursor: pointer;
        list-style: none;
    }

        .faq-box summary::-webkit-details-marker {
            display: none;
        }

    .faq-box:not([open]) summary {
        border-bottom-color: transparent;
    }

    .faq-box summary:focus-visible {
        outline: 2px solid #00339e;
        outline-offset: -4px;
    }

.faq-answer {
    padding: 17px 30px;
    font-size: 17px;
    line-height: 28.9px;
    color: #000;
}

    .faq-answer p {
        max-width: none;
        margin: 0 0 25.5px;
    }

    .faq-answer > :last-child {
        margin-bottom: 0;
    }

    .faq-answer ul {
        margin: 0 0 10px;
        padding-left: 40px;
        list-style: disc;
    }

    .faq-answer strong {
        font-weight: 700;
    }

@media (max-width: 767px) {
    .faq-topic {
        font-size: 24px;
        line-height: 1.3;
    }

    .faq-box summary, .faq-answer {
        padding-inline: 18px;
    }

    .faq-box summary {
        font-size: 16px;
        line-height: 1.5;
        padding-block: 12px;
    }

    .faq-answer {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* ==========================================================================================================
   Header menus as on cleansheetgroup.com: blue links without arrows, the others fade while one is under the mouse;
   "Solutions" opens a navy list whose first entry opens a teal two-column panel beside it.
   ========================================================================================================== */
@media (min-width: 1200px) {
    .nav-link {
        padding: 10px 15px;
        color: #00339e;
        font-size: 15px;
        font-weight: 600;
        transition: opacity .3s, color .3s;
    }

        .nav-link:hover, .nav-link[aria-expanded=true], .nav-link[aria-current=page] {
            background: none;
            color: #00339e;
        }

        .nav-link > .icon {
            display: none;
        }

    .nav-list:hover > li > .nav-link {
        opacity: .35;
    }

    .nav-list:hover > li:hover > .nav-link, .nav-list > li > .nav-link[aria-expanded=true] {
        opacity: 1;
    }

    .nav-list > li.has-flyout {
        position: relative;
    }

    .panel-flyout {
        top: calc(100% + 12px);
        left: 0;
        min-width: 232px;
        width: 232px;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        background: #001a50;
        box-shadow: none;
    }

    .flyout {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .flyout-link {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0 6px;
        padding: 0 0 10px;
        color: #fff;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        text-decoration: none;
        cursor: pointer;
        transition: color .3s;
    }

    .flyout-item:last-child > .flyout-link {
        padding-bottom: 0;
    }

    .flyout-item:hover > .flyout-link, .flyout-item:focus-within > .flyout-link, .flyout-link[aria-current=page] {
        color: #27b0af;
    }

    .flyout-link:focus-visible {
        outline: 2px solid #27b0af;
        outline-offset: 2px;
    }

    .flyout-sub {
        position: absolute;
        top: 0;
        left: calc(100% + 3px);
        display: grid;
        grid-template-columns: repeat(2, max-content);
        gap: 10px 30px;
        align-content: start;
        min-height: 100%;
        margin: 0;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        background: #28afb0;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity .25s, transform .25s, visibility .25s;
    }

    .flyout-item:hover > .flyout-sub, .flyout-item:focus-within > .flyout-sub {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .flyout-toggle {
        display: none;
    }

    .flyout-sub a {
        display: block;
        padding: 0 0 2.5px;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.5;
        text-decoration: none;
        white-space: nowrap;
        transition: color .2s;
    }

        .flyout-sub a:hover, .flyout-sub a:focus-visible, .flyout-sub a[aria-current=page] {
            color: #001a50;
        }
    /* The other short lists (Applicants Hub, About Us) are navy like the Solutions list: white links, teal under the
       mouse, no arrow on a link to another site. */
    .panel:not(.panel-mega):not(.panel-flyout) {
        top: calc(100% + 12px);
        min-width: 232px;
        padding: 20px 30px;
        border-radius: 0 0 20px 20px;
        background: #001a50;
        box-shadow: none;
    }

        .panel:not(.panel-mega):not(.panel-flyout) .panel-links {
            margin: 0;
            padding: 0;
            list-style: none;
        }

            .panel:not(.panel-mega):not(.panel-flyout) .panel-links a {
                display: block;
                min-height: 0;
                padding: 0 0 10px;
                border-radius: 0;
                background: none;
                color: #fff;
                font-size: 14px;
                font-weight: 400;
                line-height: 1.5;
                white-space: nowrap;
                transition: color .3s;
            }

            .panel:not(.panel-mega):not(.panel-flyout) .panel-links li:last-child > a {
                padding-bottom: 0;
            }

            .panel:not(.panel-mega):not(.panel-flyout) .panel-links a:hover, .panel:not(.panel-mega):not(.panel-flyout) .panel-links a:focus-visible, .panel:not(.panel-mega):not(.panel-flyout) .panel-links a[aria-current=page] {
                background: none;
                color: #27b0af;
            }

            .panel:not(.panel-mega):not(.panel-flyout) .panel-links a .icon {
                display: none;
            }
}

@media (max-width: 1199px) {
    .flyout {
        margin: 0;
        padding: 0 0 .5rem;
        list-style: none;
    }

    .flyout-link {
        display: flex;
        align-items: center;
        gap: .4rem;
        min-height: 44px;
        color: var(--blue);
        font-weight: 600;
        text-decoration: none;
    }

        .flyout-link .icon {
            display: none;
        }

    .flyout-sub {
        margin: 0 0 .5rem;
        padding: 0 0 0 .75rem;
        list-style: none;
    }

        .flyout-sub a {
            display: flex;
            align-items: center;
            min-height: 40px;
            color: var(--ink);
            text-decoration: none;
        }
}

/* ==========================================================================================================
   Credential Intelligence & Evaluation copied from cleansheetgroup.com (measured at 1521px wide).
   ========================================================================================================== */
.ci-hero {
    --hero-h: 598px;
}

    .ci-hero h1 {
        max-width: none;
        font-size: 40px;
        font-weight: 600;
        line-height: 48px;
    }

    .ci-hero .ci-hero-sub {
        max-width: none;
        margin-top: 10px;
        font-size: 25px;
        font-weight: 600;
        line-height: 30px;
        color: #fff;
    }

.ci-hero-text {
    max-width: 972px;
    margin-top: 10px;
}

    .ci-hero-text p {
        max-width: none;
        margin: 0 0 23.8px;
        font-size: 14px;
        line-height: 23.8px;
    }

        .ci-hero-text p:last-child {
            margin-bottom: 0;
        }

.ci-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.ci-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 33px;
    border-radius: 38px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}

.ci-btn-blue {
    min-width: 260px;
    background: #00339e;
    color: #fff;
}

    .ci-btn-blue:hover {
        background: #fff;
        color: #00339e;
    }

.ci-btn-white {
    min-width: 210px;
    background: #fff;
    color: #00339e;
}

    .ci-btn-white:hover {
        background: #00339e;
        color: #fff;
    }

.ci-label {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: #00339e;
}

.ci-intro {
    padding-top: 210px;
}

    .ci-intro p {
        max-width: none;
        margin: 0 0 23.8px;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
        text-align: center;
    }

        .ci-intro p:last-child {
            margin-bottom: 0;
        }

.ci-what {
    padding-top: 10px;
}

.ci-what-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-inline: 10px;
}

.ci-what-picture {
    flex: none;
    width: 579px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 579 / 414;
    border-radius: 15px;
    object-fit: cover;
}

.ci-what-text {
    flex: 0 1 711px;
}

.ci-what h2 {
    font-size: 35px;
    font-weight: 600;
    line-height: 42px;
    color: #000;
}

    .ci-what h2 .accent, .ci-title-30 .accent, .ci-workflow h2 .accent {
        color: #00339e;
    }

.ci-what-text p:not(.ci-label) {
    max-width: none;
    margin-top: 30px;
    font-size: 14px;
    line-height: 23.8px;
    color: #000;
}

.ci-analysis {
    padding-top: 130px;
}

.ci-title-30 {
    max-width: 840px;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    color: #000;
}

.ci-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 50px 0 0;
    padding: 0 10px;
    list-style: none;
}

    .ci-cards li {
        min-height: 220px;
        padding: 30px;
        border: .8px solid #28afb0;
        border-radius: 15px;
        background: #fff;
        transition: background .4s, color .4s, border-color .4s;
    }

    .ci-cards h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
        color: #000;
        transition: color .4s;
    }

    .ci-cards p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 22.1px;
        color: #000;
        transition: color .4s;
    }

    .ci-cards li:hover {
        border-color: transparent;
        background: linear-gradient(145deg, #003a9f 0%, #2bb3b6 100%);
    }

        .ci-cards li:hover h3, .ci-cards li:hover p {
            color: #fff;
        }

.ci-result {
    margin-top: 30px;
    padding: 10px 20px;
    border-radius: 37px;
    background: #f6f6f6;
    text-align: center;
}

    .ci-result p {
        max-width: none;
        margin: 0;
        font-size: 15px;
        line-height: 31px;
        color: #000;
    }

.ci-uphold {
    padding-top: 140px;
}

.ci-uphold-head p:not(.ci-label) {
    max-width: none;
    margin-top: 20px;
    font-size: 14px;
    line-height: 23.8px;
    color: #000;
}

.ci-uphold-head .ci-title-30 {
    max-width: none;
}

.ci-benefits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 233px minmax(0, 1fr);
    align-items: center;
    column-gap: 38px;
    margin-top: 55px;
}

.ci-benefit-list {
    display: grid;
    row-gap: 45px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .ci-benefit-list li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

.ci-benefit-left li {
    justify-content: flex-end;
}

    .ci-benefit-left li:nth-child(2) {
        margin-right: 55px;
    }

.ci-benefit-right li:nth-child(2) {
    margin-left: 55px;
}

.ci-benefit-box {
    flex: 0 1 434px;
    min-height: 92px;
    padding: 10px 10px 10px 10px;
    border-radius: 17px;
    background: #c7d5ed;
}

.ci-benefit-right .ci-benefit-box {
    flex-basis: 400px;
}

.ci-benefit-left .ci-benefit-box {
    text-align: right;
}

.is-teal .ci-benefit-box {
    background: #e0f2f5;
}

.ci-benefit-box h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #000;
}

    .ci-benefit-box h3 .accent {
        color: #00339e;
    }

.is-teal .ci-benefit-box h3 .accent {
    color: #27b0af;
}

.ci-benefit-box p {
    margin-top: 2px;
    font-size: 12px;
    line-height: 20.4px;
    color: #000;
}

.ci-benefit-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #00339e;
}

.is-teal .ci-benefit-icon {
    background: #28afb0;
}

.ci-benefit-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.ci-benefit-right .ci-benefit-icon {
    margin-right: -3px;
    position: relative;
    z-index: 1;
}

.ci-benefit-center {
    width: 233px;
    height: 233px;
    object-fit: contain;
}

.ci-why {
    padding-top: 120px;
}

.ci-workflow {
    padding-top: 100px;
}

    .ci-workflow h2 {
        font-size: 40px;
        font-weight: 600;
        line-height: 48px;
        color: #000;
    }

    .ci-workflow p:not(.ci-label) {
        max-width: none;
        margin-top: 25px;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

.ci-steps-line {
    position: relative;
    margin-top: 60px;
}

    .ci-steps-line::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 7px;
        border-top: 1px dotted #00339e;
    }

.ci-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-block: 0;
    padding-top: 0;
    list-style: none;
}

    .ci-steps li {
        position: relative;
        padding-top: 25px;
        padding-inline: 10px;
    }

.ci-step-dot {
    position: absolute;
    top: 0;
    left: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00339e;
}

.ci-step-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 38px;
    background: #27b0af;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 22.1px;
}

.ci-step-card {
    margin-top: 15px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(0, 51, 158, .12);
}

    .ci-step-card p {
        max-width: none;
        margin: 0 !important;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

    .ci-step-card strong {
        font-weight: 600;
    }

.ci-core {
    padding-top: 90px;
}

.ci-core-box {
    padding: 60px 40px 30px;
    border-radius: 15px;
    color: #fff;
    background: var(--core-image, var(--grad-band)) center / cover no-repeat, var(--grad-band);
}

    .ci-core-box h2 {
        margin: 0 0 40px 20px;
        font-size: 40px;
        font-weight: 600;
        line-height: 48px;
        color: #fff;
    }

    .ci-core-box ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ci-core-box li {
        display: grid;
        grid-template-columns: 52px 247px minmax(0, 1fr);
        align-items: center;
        column-gap: 15px;
        padding: 10px 0 20px;
        border-bottom: .8px solid rgba(255, 255, 255, .28);
    }

        .ci-core-box li + li {
            padding-top: 30px;
        }

        .ci-core-box li:last-child {
            border-bottom: 0;
        }

.ci-core-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #00339e;
}

    .ci-core-icon img {
        width: 23px;
        height: 24px;
    }

.ci-core-box h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    color: #fff;
}

.ci-core-box li p {
    margin: 0 0 0 5px;
    font-size: 14px;
    line-height: 23.8px;
    color: #fff;
}

.ci-core + .insights-section {
    padding-top: 100px;
}

@media (max-width: 1100px) {
    .ci-intro {
        padding-top: 100px;
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    .ci-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ci-hero h1, .ci-hero .ci-hero-sub {
        font-size: 33px;
        line-height: 39.6px;
    }

    .ci-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .ci-intro p {
        text-align: left;
    }

    .ci-label {
        font-size: 13px;
        line-height: 15.6px;
    }

    .ci-what h2, .ci-workflow h2, .ci-core-box h2, .ci-title-30 {
        font-size: 25px;
        line-height: 30px;
    }

    .ci-cards {
        grid-template-columns: minmax(0, 1fr);
        padding: 0;
    }

    .ci-result {
        border-radius: 20px;
    }

    .ci-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .ci-steps-line::before {
        display: none;
    }

    .ci-core-box {
        padding: 40px 20px 20px;
    }

        .ci-core-box h2 {
            margin: 0 0 30px;
        }

        .ci-core-box li {
            grid-template-columns: 52px minmax(0, 1fr);
            row-gap: 15px;
        }

            .ci-core-box li p {
                grid-column: 1 / -1;
                margin: 0;
            }
}

.ci-title-30, .ci-what h2, .ci-workflow h2, .ci-hero h1 {
    text-wrap: wrap;
}

/* ==========================================================================================================
   National Skills & Compliance Platforms copied from cleansheetgroup.com (measured at 1521px wide). Shares the
   band, buttons, cards and the advantages box of Credential Intelligence (ci-*).
   ========================================================================================================== */
.ns-intro {
    padding-top: 45px;
}

.ns-intro-picture {
    flex: none;
    width: 579px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 579 / 385;
    object-fit: contain;
}

.ns-intro-text p {
    max-width: none;
    margin: 0 0 23.8px;
    font-size: 14px;
    line-height: 23.8px;
    color: #000;
}

.ns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 224px;
    height: 50px;
    padding: 0 28px;
    border-radius: 38px;
    background: #00339e;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .3s;
}

    .ns-btn:hover {
        background: #28afb0;
        color: #fff;
    }

.ns-head-center {
    max-width: 1053px;
    margin: 0 auto;
    text-align: center;
}

    .ns-head-center h2, .ns-expertise-head h2, .ns-value h2 {
        font-size: 35px;
        font-weight: 600;
        line-height: 42px;
        color: #000;
        text-wrap: wrap;
    }

        .ns-head-center h2 .accent, .ns-expertise-head h2 .accent, .ns-value h2 .accent, .ns-capability-cards h3 .accent, .ns-outcome h2 .accent {
            color: #00339e;
        }

    .ns-head-center p, .ns-expertise-head p:not(.ci-label), .ns-value p {
        max-width: none;
        margin: 20px 0 0;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

.ns-challenge {
    padding-top: 130px;
}

.ns-challenge-cards {
    margin-top: 50px;
}

    .ns-challenge-cards li {
        min-height: 254px;
    }

.ns-challenge-icon {
    display: block;
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
}

.ns-purposes {
    padding-top: 120px;
    overflow: hidden;
}

.ns-purposes-art {
    position: relative;
    width: min(1119px, calc(100% - 2 * var(--gutter)));
    aspect-ratio: 1119 / 620;
    margin: 0 auto;
}

.ns-purposes-picture {
    position: absolute;
    left: 0;
    top: 4.19%;
    width: 48.7%;
    height: auto;
    aspect-ratio: 545 / 564;
}

.ns-purposes-art ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ns-purpose {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 51.3%;
    min-height: 61px;
    padding: 15px;
    border-radius: 37px;
    background: #e0f2f5;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

    .ns-purpose.is-blue {
        background: #c7d5ed;
    }

.ns-purpose-1 {
    left: 32.26%;
    top: 0;
}

.ns-purpose-2 {
    left: 42.81%;
    top: 19.03%;
}

.ns-purpose-3 {
    left: 48.7%;
    top: 45.48%;
}

.ns-purpose-4 {
    left: 42.9%;
    top: 70.97%;
}

.ns-purpose-5 {
    left: 32.26%;
    bottom: 0;
}

.ns-capabilities {
    padding-top: 140px;
}

.ns-capability-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px 19px;
    margin: 80px 0 0;
    padding: 0;
    list-style: none;
}

    .ns-capability-cards li {
        position: relative;
        width: 442px;
        min-height: 212px;
        padding: 70px 30px 30px;
        border-radius: 15px;
        background: rgba(40, 175, 176, .11);
    }

.ns-capability-icon {
    position: absolute;
    top: -30px;
    left: 30px;
    width: 93px;
    height: 95px;
}

.ns-capability-cards h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
}

.ns-capability-cards p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 20.4px;
    color: #000;
}

.ns-why {
    padding-top: 140px;
}

.ns-expertise {
    padding-top: 120px;
}

.ns-expertise-head {
    max-width: 860px;
    padding-inline: 10px;
}

    .ns-expertise-head p:not(.ci-label) {
        margin-top: 20px;
    }

.ns-expertise-box {
    margin-top: 30px;
    padding-top: 50px;
}

    .ns-expertise-box li:first-child {
        padding-top: 10px;
    }

.ns-value {
    padding-top: 130px;
}

.ns-value-line {
    margin-top: 70px;
}

.ns-value-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    margin-block: 0;
    padding-top: 0;
    list-style: none;
}

    .ns-value-items li {
        position: relative;
        padding-top: 28px;
        padding-inline: 10px;
    }

.ns-value-dot {
    position: absolute;
    top: -1px;
    left: 15px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #00339e;
}

.ns-value-items h3 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
}

    .ns-value-items h3 img {
        flex: none;
    }

.ns-value-card {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(0, 51, 158, .12);
}

    .ns-value-card p {
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 23.8px !important;
    }

.ns-framework {
    margin-top: 80px;
    padding: 70px 0 80px;
    color: #fff;
    background: var(--framework-image, var(--grad-band)) center / cover no-repeat, var(--grad-band);
}

    .ns-framework h2 {
        font-size: 35px;
        font-weight: 600;
        line-height: 42px;
        color: #fff;
    }

    .ns-framework p {
        max-width: none;
        margin-top: 20px;
        font-size: 14px;
        line-height: 23.8px;
        color: #fff;
    }

.ns-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 40px;
    margin: 50px 0 0;
    padding: 0 10px;
    list-style: none;
}

    .ns-steps li {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

.ns-step-number {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: #00339e;
    font-size: 25px;
    font-weight: 600;
}

.ns-steps h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

.ns-steps p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 22.1px;
}

.ns-outcome {
    padding-top: 70px;
}

.ns-outcome-picture {
    flex: none;
    width: 538px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 538 / 296;
    object-fit: cover;
    border-radius: 15px;
}

.ns-outcome h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    color: #000;
    text-wrap: wrap;
}

.ns-outcome p {
    max-width: none;
    margin-top: 30px;
    font-size: 14px;
    line-height: 23.8px;
    color: #000;
}

.ns-scale {
    padding-top: 90px;
}

    .ns-scale + .insights-section {
        padding-top: 70px;
    }

@media (max-width: 1100px) {
    .ns-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ns-capability-cards li {
        flex: 0 0 min(442px, calc((100% - 19px) / 2));
        width: auto;
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    .ns-value-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .ns-value-line::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .ns-head-center h2, .ns-expertise-head h2, .ns-value h2, .ns-framework h2, .ns-outcome h2 {
        font-size: 25px;
        line-height: 30px;
    }

    .ns-value-items, .ns-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .ns-value-line::before {
        display: none;
    }

    .ns-capability-cards {
        gap: 70px;
        margin-top: 70px;
    }

        .ns-capability-cards li {
            flex: 0 0 100%;
        }

        .ns-capability-cards h3 {
            font-size: 18px;
            line-height: 21.6px;
        }
}

@media (min-width: 1101px) {
    .ns-capability-cards {
        margin-inline: -15px;
    }

        .ns-capability-cards li {
            width: auto;
            flex: 0 0 calc((100% - 38px) / 3);
        }
}

/* ---- corrections after comparing with the old site (its blocks rise 150px while they appear, so the first
   measures of some gaps were too big) */
.ci-intro {
    padding-top: 70px;
}

.ci-what {
    padding-top: 135px;
}

.ci-what-inner {
    padding-inline: calc(var(--gutter) + 10px);
}

@media (min-width: 1101px) {
    .ci-benefits {
        grid-template-columns: 587px 233px 591px;
        column-gap: 0;
        justify-content: center;
        margin-inline: -45px;
    }

    .ci-benefit-left {
        margin-right: -8px;
    }

    .ci-benefit-right {
        padding-left: 38px;
    }

    .ci-benefit-left li:nth-child(2) {
        margin-right: 55px;
    }

    .ci-benefit-box {
        flex: 0 0 434px;
    }

    .ci-benefit-right .ci-benefit-box {
        flex: 0 0 400px;
    }
}

@media (min-width: 1101px) and (max-width: 1440px) {
    .ci-benefits {
        grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr);
        margin-inline: 0;
    }

    .ci-benefit-center {
        width: 200px;
        height: 200px;
    }

    .ci-benefit-box, .ci-benefit-right .ci-benefit-box {
        flex: 0 1 434px;
    }
}

/* ==========================================================================================================
   Picture + text rows (Credential "What is", National intro and outcome) and phone layouts, measured on
   cleansheetgroup.com at 1920, 1400, 1200, 1024, 900, 768 and 390px wide.
   The old site splits the row 45% / 55% at every width above 767px, so the picture shrinks with the screen
   instead of squeezing the text. Its text column sits 50px lower and is centred against the picture.
   ========================================================================================================== */
.ci-what-inner {
    gap: 40px;
    align-items: center;
}

    .ci-what-inner > img {
        flex: 0 0 calc(45% - 20px);
        width: calc(45% - 20px);
        max-width: none;
        height: auto;
    }

    .ci-what-inner > .ci-what-text {
        flex: 0 0 calc(55% - 20px);
        min-width: 0;
        margin-top: 50px;
    }

.ns-outcome .ci-what-inner > img {
    max-width: 538px;
    margin-right: max(0px, calc(45% - 20px - 538px));
}

.ns-intro-text p:not(.ci-label) {
    margin: 0 0 23.8px;
}

.ns-intro-text p:last-of-type {
    margin-bottom: 0;
}

.ns-intro-text .ns-btn {
    margin-top: 21px;
}

.ns-btn {
    min-width: 224px;
    height: 51px;
    padding: 0 19.5px;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .ci-benefits {
        grid-template-columns: minmax(0, 1fr) 181px minmax(0, 1fr);
        column-gap: 20px;
    }

    .ci-benefit-center {
        width: 181px;
        height: 181px;
    }

    .ci-benefit-box, .ci-benefit-right .ci-benefit-box {
        flex: 1 1 auto;
    }

    .ci-benefit-left li:nth-child(2) {
        margin-right: 40px;
    }

    .ci-benefit-right li:nth-child(2) {
        margin-left: 40px;
    }

    .ci-benefit-box h3 {
        font-size: 18px;
        line-height: 21.6px;
    }
}

@media (max-width: 767px) {
    .ci-what {
        padding-top: 60px;
    }

    .ci-what-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

        .ci-what-inner > img, .ns-outcome .ci-what-inner > img {
            flex: none;
            width: 100%;
            max-width: 100%;
            margin: 0;
        }

        .ci-what-inner > .ci-what-text {
            flex: none;
            width: 100%;
            margin-top: 0;
        }
    /* the old site shows the text before the picture here, except in the National intro */
    .ci-what .ci-what-inner > img, .ns-outcome .ci-what-inner > img {
        order: 2;
    }

    .ns-intro-text .ns-btn {
        margin-top: 20px;
    }

    .ci-cards li, .ns-challenge-cards li {
        min-height: 0;
        padding: 25px 20px 30px;
    }

    .ns-purposes {
        padding-top: 70px;
    }

    .ns-purposes-art {
        width: auto;
        aspect-ratio: auto;
        padding-inline: var(--gutter);
    }

    .ns-purposes-picture {
        position: static;
        display: block;
        width: 100%;
        max-width: 420px;
        margin: 0 auto 30px;
    }

    .ns-purposes-art ul {
        display: grid;
        gap: 20px;
    }

    .ns-purpose {
        position: static;
        width: auto;
        min-height: 61px;
        border-radius: 30px;
    }

    .ci-benefits {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 25px;
        margin-top: 40px;
    }

    .ci-benefit-center {
        display: none;
    }

    .ci-benefit-list {
        row-gap: 25px;
    }

        .ci-benefit-list li, .ci-benefit-left li:nth-child(2), .ci-benefit-right li:nth-child(2) {
            flex-direction: row;
            justify-content: flex-start;
            gap: 5px;
            margin: 0;
        }

    .ci-benefit-left li, .ci-benefit-left li:nth-child(2) {
        flex-direction: row-reverse;
    }

    .ci-benefit-box, .ci-benefit-right .ci-benefit-box {
        flex: 1 1 auto;
        min-height: 0;
        padding: 10px;
        text-align: left;
    }

    .ci-benefit-left .ci-benefit-box {
        text-align: left;
    }

    .ci-benefit-box h3 {
        font-size: 16px;
        line-height: 19.2px;
    }

    .ci-benefit-icon, .ci-benefit-right .ci-benefit-icon {
        width: 78px;
        height: 78px;
        margin: 0;
    }

        .ci-benefit-icon img {
            width: 40px;
            height: 40px;
        }
}

/* ==========================================================================================================
   The pages of the Verification & Integrity services (Education Verification...), copied from cleansheetgroup.com
   (measured at 1521, 1024 and 390px wide): picture rows that alternate sides, the blue box with the questions,
   "Why choose", the benefits, the "How It Works" band and the latest insights.
   ========================================================================================================== */
/* The rows are no longer wrapped in .svc-rows (the sections of a page can come in any order): the first row of a run
   keeps the space of the old wrapper under the banner or the section before it. */
.svc-rows, .svc-page > .svc-row:first-child, .svc-page > :not(.svc-row) + .svc-row {
    padding-top: 90px;
}

.svc-row + .svc-row {
    margin-top: 120px;
}

.svc-row .ci-what-inner > .ci-what-text {
    margin-top: 0;
}

.svc-row.is-reversed .ci-what-inner {
    flex-direction: row-reverse;
}

.svc-row-picture {
    border-radius: 15px;
    object-fit: cover;
}

.svc-row h2, .svc-benefits h2, .svc-how h2, .svc-box h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    color: #000;
    text-wrap: wrap;
}

    .svc-row h2 .accent, .svc-benefits h2 .accent {
        color: #00339e;
    }

.svc-row-text p:not(.ci-label), .svc-benefits p:not(.ci-label) {
    max-width: none;
    margin: 23.8px 0 0;
    font-size: 14px;
    line-height: 23.8px;
    color: #000;
}

.svc-row-text h2 + div > p:first-child, .svc-benefits h2 + div > p:first-child {
    margin-top: 20px;
}

.svc-box-section {
    padding-top: 98px;
}

.svc-box {
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    background: url('/media/legacy/2026/01/Mask-group-8.png') 50% 50% / cover no-repeat, linear-gradient(120deg, #2c4ea0 0%, #24509f 35%, #1f86ad 75%, #2ab3b5 100%);
}

.svc-box-label {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: #fff;
}

.svc-box h2 {
    max-width: 711px;
    margin-inline: auto;
    color: #fff;
}

    .svc-box h2 .accent {
        color: inherit;
    }

.svc-accordion {
    margin-top: 20px;
    text-align: left;
}

    .svc-accordion summary {
        padding: 10px 10px 9px;
        font-size: 25px;
        font-weight: 600;
        line-height: 37.5px;
    }

    .svc-accordion .accordion-body p {
        max-width: none;
        margin: 0;
        font-size: 14px;
        line-height: 23.8px;
        color: #fff;
    }

        .svc-accordion .accordion-body p + p {
            margin-top: 23.8px;
        }

.svc-why {
    padding-top: 107px;
}

    .svc-why.after-box {
        padding-top: 78px;
    }
    /* On a service page the benefits follow the box closely, as on cleansheetgroup.com: 120px under the box (the phone
   comes 50px out of it), instead of the home page's section space plus the benefits' own 157px. */
    .svc-why .why-section {
        padding-bottom: 50px;
    }

    .svc-why + .svc-benefits {
        padding-top: 70px;
    }

.svc-benefits {
    padding: 157px 0 81px;
}

.svc-page > .svc-benefits:last-child {
    padding-bottom: 90px;
}

.svc-benefits h2 {
    max-width: 850px;
}

    .svc-benefits h2 + div {
        max-width: 1040px;
    }

.svc-how {
    padding: 80px 0 90px;
    color: #fff;
    background: var(--how-image, none) 50% 50% / cover no-repeat, linear-gradient(100deg, #0a2f8f 0%, #0c4fb0 55%, #1a7cc4 100%);
}

.svc-how-label {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: #fff;
}

.svc-how h2 {
    color: #fff;
}

    .svc-how h2 .accent {
        color: inherit;
    }

    .svc-how h2 + div p {
        max-width: none;
        margin: 10px 0 0;
        font-size: 14px;
        line-height: 23.8px;
        color: #fff;
    }

.svc-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
    margin: 32px 0 0;
    padding: 0 10px;
    list-style: none;
}

    .svc-steps li {
        display: flex;
        align-items: flex-start;
        gap: 17px;
    }

.svc-step-number {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #00339e;
    font-size: 24px;
    line-height: 1;
}

.svc-steps h3 {
    margin: 16px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 15px;
    color: #fff;
}

.svc-steps p {
    max-width: none;
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 18.2px;
    color: #fff;
}

.svc-page + .insights-section {
    padding-top: 100px;
}

@media (max-width: 767px) {
    .svc-rows, .svc-page > .svc-row:first-child, .svc-page > :not(.svc-row) + .svc-row {
        padding-top: 79px;
    }

    .svc-row + .svc-row {
        margin-top: 80px;
    }

    .svc-row .ci-what-inner > img {
        order: 2;
    }

    .svc-row.is-reversed .ci-what-inner {
        flex-direction: column;
    }

    .svc-row h2, .svc-benefits h2, .svc-how h2 {
        font-size: 25px;
        line-height: 30px;
    }

    .svc-box-section {
        padding-top: 70px;
    }

    .svc-box {
        padding: 20px 10px;
        text-align: left;
    }

    .svc-box-label {
        font-size: 13px;
        line-height: 15.6px;
    }

    .svc-box h2 {
        margin: 0;
        font-size: 20px;
        line-height: 24px;
    }

    .svc-why, .svc-why.after-box {
        padding-top: 70px;
    }

    .svc-benefits {
        padding: 100px 0 60px;
    }

    .svc-how {
        padding: 60px 0;
    }

    .svc-how-label {
        font-size: 13px;
        line-height: 15.6px;
    }

    .svc-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

/* ==========================================================================================================
   Client profiles as landing pages (cleansheetgroup.com/mohesr): a picture beside the text of the top band, two
   buttons and a line under them, a label above the video heading, designed blocks inside the content (the steps,
   the help cards) and a closing note. A plain profile (NHRA) uses none of them and looks as before.
   ========================================================================================================== */

/* ---- the top band: the text box is the band's own (display: contents) until a picture stands beside it */
.hero-band-text {
    display: contents;
}

.hero-band-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

    .hero-band-buttons .hero-band-button {
        margin-top: 0;
    }

.hero-band-button-2 {
    background: #27b0af;
    color: #fff;
}

    .hero-band-button-2:hover {
        background: #fff;
        color: #00339e;
    }

.hero-band-link {
    margin-top: 15px !important;
    font-size: 14px;
    line-height: 23.8px;
    color: #fff;
}

    .hero-band-link a {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .hero-band-link a:hover {
            color: #9fe6e7;
        }

.hero-band-split {
    text-align: left;
}

    .hero-band-split .hero-band-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
    }

    .hero-band-split .hero-band-text {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
    }

    .hero-band-split .hero-band-buttons {
        justify-content: flex-start;
    }

    .hero-band-split .hero-band-text > p:not(.hero-band-label):not(.hero-band-link) {
        margin-top: 20px;
        max-width: 600px;
    }

.hero-band-picture {
    flex: 0 1 46%;
    min-width: 0;
}

    .hero-band-picture img {
        width: 100%;
        height: auto;
        border-radius: 15px;
    }

@media (max-width: 900px) {
    .hero-band-split {
        text-align: center;
    }

        .hero-band-split .hero-band-inner {
            flex-direction: column;
            gap: 30px;
            padding-bottom: 40px;
        }

        .hero-band-split .hero-band-text {
            align-items: center;
        }

        .hero-band-split .hero-band-buttons {
            justify-content: center;
        }

    .hero-band-picture {
        flex: none;
        width: min(560px, 100%);
    }
}

/* ---- the label above the video heading */
.client-section-label {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: #00339e;
    text-align: center;
}

/* ---- designed blocks pasted in the content (the theme's own: steps on a line, cards): full width, no list marks */
.client-prose:has(.ns-value-items, .ci-cards, .ci-steps-line, .journey) {
    max-width: none;
}

.client-prose .ns-value-items, .client-prose .ci-cards {
    padding-left: 0;
    list-style: none;
}

    .client-prose .ns-value-items > li + li, .client-prose .ci-cards > li + li {
        margin-top: 0;
    }

    .client-prose .ns-value-items h3, .client-prose .ci-cards h3 {
        margin-top: 0;
    }

    .client-prose .ci-cards a {
        color: inherit;
        text-decoration: none;
    }

        .client-prose .ci-cards a::after {
            content: "";
            position: absolute;
            inset: 0;
        }
    /* the whole card is the link */
    .client-prose .ci-cards li {
        position: relative;
    }

        .client-prose .ci-cards li:hover a {
            color: #fff;
        }

/* ---- the closing note */
.client-note {
    padding-bottom: 100px;
}

.client-faq + .client-note {
    margin-top: -40px;
}

.client-note-box {
    padding: 25px 30px;
    border-left: 4px solid #28afb0;
    border-radius: 0 15px 15px 0;
    background: #eef3fc;
}

    .client-note-box h2 {
        margin: 0 0 8px;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.3;
        color: #00339e;
    }

    .client-note-box p {
        max-width: none;
        font-size: 14px;
        line-height: 23.8px;
        color: #000;
    }

        .client-note-box p + p {
            margin-top: 12px;
        }

@media (max-width: 767px) {
    .client-note {
        padding-bottom: 60px;
    }

    .client-note-box {
        padding: 20px;
    }
}

/* The answers of the client questions carry the "prose" class too, and the general ".accordion details > .prose" rule
   (grey text, 62ch wide) outranked ".faq-accordion .accordion-body": white text on the blue band, full width, as on
   cleansheetgroup.com. */
.faq-accordion details > .accordion-body {
    max-width: none;
    padding: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: #fff;
}

/* ==========================================================================================================
   A blog or news article, as on cleansheetgroup.com: a short band with the cover picture under a blue tint (the
   gradient alone when there is no cover), the title, date and author centred in black, the cover picture full width.
   ========================================================================================================== */
.post-hero {
    min-height: max(300px, 19.5vw);
    border-radius: 0 0 30px 30px;
    background: radial-gradient(55% 90% at 88% 20%, rgba(45, 187, 191, .5) 0%, rgba(45, 187, 191, 0) 65%), linear-gradient(110deg, #001a50 0%, #00339e 60%, #0f5aa6 100%);
}

    .post-hero.has-image {
        background: linear-gradient(90deg, rgba(0, 51, 158, .82) 0%, rgba(15, 90, 166, .62) 100%), var(--post-cover) center / cover no-repeat, #00339e;
    }

.post-section {
    padding-top: 90px;
}

.post-head {
    text-align: center;
}

    .post-head h1 {
        max-width: none;
        font-size: clamp(30px, 1.6rem + 2.2vw, 60px);
        font-weight: 600;
        line-height: 1.2;
        color: #000;
    }

.post-byline {
    margin-top: 40px;
    font-size: clamp(17px, 1rem + .4vw, 24px);
    font-weight: 500;
    color: #000;
}

.post-cover-image {
    display: block;
    width: 100%;
    height: auto;
    margin-block: 40px 50px;
    border-radius: 30px;
    object-fit: cover;
}
/* The article: as wide as the cover picture, big black headings, large justified text. */
.post-text {
    max-width: none;
    font-size: clamp(16px, .85rem + .55vw, 24px);
    line-height: 1.75;
    color: #000;
}

    .post-text > * + * {
        margin-top: .75em;
    }

    .post-text p {
        text-align: justify;
    }

    .post-text h2 {
        margin-top: 1.6em;
        font-size: clamp(26px, 1.2rem + 1.7vw, 50px);
        font-weight: 600;
        line-height: 1.25;
        color: #000;
    }

    .post-text h3 {
        margin-top: 1.4em;
        font-size: clamp(21px, 1rem + 1vw, 34px);
        font-weight: 600;
        line-height: 1.3;
        color: #000;
    }

    .post-text h4 {
        margin-top: 1.3em;
        font-size: clamp(18px, .95rem + .6vw, 26px);
        font-weight: 600;
        color: #000;
    }

    .post-text > :first-child {
        margin-top: 0;
    }

@media (max-width: 767px) {
    .post-text p {
        text-align: left;
    }

    .post-hero {
        min-height: 220px;
        border-radius: 0 0 20px 20px;
    }

    .post-section {
        padding-top: 50px;
    }

    .post-byline {
        margin-top: 20px;
    }

    .post-cover-image {
        margin-block: 25px 30px;
        border-radius: 20px;
    }
}

/* The MOHESR band, as on cleansheetgroup.com/mohesr: the heading light with its *starred* word bold, the link inside
   the line under the buttons in teal; the accent words of the page's own blocks in blue. */
.hero-band-split h1 {
    font-weight: 500;
}

    .hero-band-split h1 .accent {
        font-weight: 700;
    }

.hero-band-link-inline a {
    color: #27b0af;
    font-weight: 600;
    text-decoration: none;
}

    .hero-band-link-inline a:hover {
        color: #9fe6e7;
        text-decoration: underline;
    }

.client-prose h2 .accent {
    color: #00339e;
}

/* ==========================================================================================================
   A landing page made from an organization (MOHESR), as on cleansheetgroup.com/mohesr: each section opens with a
   small blue-to-teal bar, an upper-case label and a big heading on the left; a soft shade marks the section's top.
   ========================================================================================================== */
.client-content.is-landing, .client-video.is-landing {
    position: relative;
}

    .client-content.is-landing::before, .client-video.is-landing::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 40px;
        background: linear-gradient(rgba(0, 26, 80, .06), rgba(0, 26, 80, 0));
        pointer-events: none;
    }

.is-landing .client-section-label {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
}

    .is-landing .client-section-label::before, .is-landing .client-prose > h2:first-child::before {
        content: "";
        display: block;
        width: 56px;
        height: 5px;
        margin-bottom: 40px;
        border-radius: 3px;
        background: linear-gradient(90deg, #00339e, #27b0af);
    }

.is-landing .client-section-title, .is-landing .client-prose > h2 {
    max-width: 950px;
    margin: 0;
    font-size: clamp(28px, 1.3rem + 2vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    color: #222;
    text-align: left;
}

.is-landing .client-video-frame {
    max-width: none;
    margin-top: 40px;
}

/* The journey: numbered circles on a line that fills as the visitor scrolls (the script of Profile.cshtml sets
   --journey-progress and lights each step up with is-active), the title and the text of each step under its circle. */
.client-prose ol.journey {
    --journey-gap: 30px;
    --journey-dot: 62px;
    position: relative;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: var(--journey-gap);
    margin: 50px 0 0;
    padding: 0;
    list-style: none;
}

    .client-prose ol.journey::before, .client-prose ol.journey::after {
        content: "";
        position: absolute;
        top: calc(var(--journey-dot) / 2 - 1px);
        left: calc(var(--journey-dot) / 2);
        height: 2px;
        width: calc((100% - (var(--journey-count, 4) - 1) * var(--journey-gap)) * (var(--journey-count, 4) - 1) / var(--journey-count, 4) + (var(--journey-count, 4) - 1) * var(--journey-gap));
        background: #dfe3ea;
    }

    .client-prose ol.journey::after {
        background: linear-gradient(90deg, #00339e, #27b0af);
        transform: scaleX(var(--journey-progress, 0));
        transform-origin: left;
        transition: transform .25s linear;
    }

    .client-prose ol.journey > li {
        position: relative;
        z-index: 1;
        margin: 0;
    }

.journey-number {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--journey-dot);
    height: var(--journey-dot);
    border: 2px solid #dfe3ea;
    border-radius: 50%;
    background: #fff;
    color: #6b7186;
    font-size: 20px;
    font-weight: 600;
    transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}

.journey li.is-active .journey-number {
    border-color: #27b0af;
    background: #00339e;
    color: #fff;
    box-shadow: 0 12px 25px rgba(0, 51, 158, .25);
}

    .journey li.is-active .journey-number::after {
        content: "";
        position: absolute;
        inset: -9px;
        border: 1px dashed rgba(39, 176, 175, .7);
        border-radius: 50%;
    }

.client-prose .journey h3 {
    margin: 40px 0 0;
    font-size: clamp(19px, .9rem + .6vw, 25px);
    font-weight: 600;
    line-height: 1.3;
    color: #a3a8b8;
    transition: color .4s;
}

.client-prose .journey p {
    max-width: 380px;
    margin: 15px 0 0;
    font-size: clamp(15px, .8rem + .3vw, 19px);
    line-height: 1.65;
    color: #b9bdca;
    transition: color .4s;
}

.client-prose .journey li.is-active h3 {
    color: #0d1b4b;
}

.client-prose .journey li.is-active p {
    color: #5b6275;
}

@media (max-width: 767px) {
    .is-landing .client-section-label::before, .is-landing .client-prose > h2:first-child::before {
        margin-bottom: 25px;
    }

    .client-prose ol.journey {
        grid-auto-flow: row;
        gap: 35px;
    }

        .client-prose ol.journey::before, .client-prose ol.journey::after {
            width: 2px;
            height: calc(100% - var(--journey-dot));
            top: calc(var(--journey-dot) / 2);
            left: calc(var(--journey-dot) / 2 - 1px);
        }

        .client-prose ol.journey::after {
            transform: scaleY(var(--journey-progress, 0));
            transform-origin: top;
        }

        .client-prose ol.journey > li {
            min-height: var(--journey-dot);
            padding-left: calc(var(--journey-dot) + 25px);
        }

    .journey-number {
        position: absolute;
        top: 0;
        left: 0;
    }

    .client-prose .journey h3 {
        margin-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-prose ol.journey::after, .journey-number, .client-prose .journey h3, .client-prose .journey p {
        transition: none;
    }
}

/* "Need Help?" of a landing page (ul.help-cards), as on cleansheetgroup.com/mohesr: an icon on a pale tile, the title
   and a line, no box; pointing at a card turns its tile blue and its title blue with an arrow. The whole card is the link. */
.client-prose:has(.help-cards) {
    max-width: none;
}

.client-prose ul.help-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin: 45px 0 0;
    padding: 0;
    list-style: none;
}

.client-prose .help-cards > li {
    position: relative;
    margin: 0;
}

.help-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: #eef2fa;
    transition: background .3s, box-shadow .3s;
}

    .help-icon::before {
        content: "";
        width: 30px;
        height: 30px;
        background: #00339e;
        -webkit-mask: var(--help-icon) center / contain no-repeat;
        mask: var(--help-icon) center / contain no-repeat;
        transition: background .3s;
    }

.help-icon-faq {
    --help-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3%22/%3E%3Cpath d=%22M12 17h.01%22/%3E%3C/svg%3E");
}

.help-icon-chat {
    --help-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7.9 20A9 9 0 1 0 4 16.1L2 22Z%22/%3E%3Cpath d=%22M8 12h.01M12 12h.01M16 12h.01%22/%3E%3C/svg%3E");
}

.help-icon-email {
    --help-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect width=%2220%22 height=%2216%22 x=%222%22 y=%224%22 rx=%222%22/%3E%3Cpath d=%22m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7%22/%3E%3C/svg%3E");
}

.help-icon-call {
    --help-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3Cpath d=%22M14.05 2a9 9 0 0 1 8 7.94M14.05 6A5 5 0 0 1 18 10%22/%3E%3C/svg%3E");
}

.client-prose .help-cards h3 {
    margin: 35px 0 0;
    font-size: clamp(19px, .9rem + .6vw, 25px);
    font-weight: 600;
    line-height: 1.3;
    color: #0d1b4b;
    transition: color .3s;
}

    .client-prose .help-cards h3 a {
        color: inherit;
        font-weight: inherit;
        text-decoration: none;
    }

        .client-prose .help-cards h3 a::after {
            content: "";
            position: absolute;
            inset: 0;
        }

    .client-prose .help-cards h3::after {
        content: " \2192";
        opacity: 0;
        transition: opacity .3s;
    }

.client-prose .help-cards p {
    margin: 15px 0 0;
    font-size: clamp(15px, .8rem + .3vw, 19px);
    line-height: 1.6;
    color: #5b6275;
}

.help-cards li:hover .help-icon, .help-cards li:focus-within .help-icon {
    background: #00339e;
    box-shadow: 0 12px 25px rgba(0, 51, 158, .25);
}

    .help-cards li:hover .help-icon::before, .help-cards li:focus-within .help-icon::before {
        background: #fff;
    }

.client-prose .help-cards li:hover h3, .client-prose .help-cards li:focus-within h3 {
    color: #00339e;
}

    .client-prose .help-cards li:hover h3::after, .client-prose .help-cards li:focus-within h3::after {
        opacity: 1;
    }

/* The closing note of a landing page: a wide blue band, "PLEASE NOTE" with a megaphone in a pill on the left, the text
   in white on the right. */
.client-note {
    padding-top: 130px;
}

.client-note-box {
    display: flex;
    align-items: center;
    gap: 70px;
    padding: 60px 100px;
    border: 0;
    border-radius: 30px;
    color: #fff;
    background: radial-gradient(45% 140% at 42% 30%, rgba(122, 90, 180, .45) 0%, rgba(122, 90, 180, 0) 70%), linear-gradient(100deg, #00339e 0%, #1d5cb0 55%, #2aa2b2 100%);
}

    .client-note-box h2 {
        display: inline-flex;
        flex: none;
        align-items: center;
        gap: 14px;
        margin: 0;
        padding: 14px 26px;
        border-radius: 40px;
        background: rgba(255, 255, 255, .13);
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.2;
        text-transform: uppercase;
    }

        .client-note-box h2::before {
            content: "";
            width: 34px;
            height: 34px;
            background: #fff;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22M3 10.5v3a1.5 1.5 0 0 0 1.5 1.5H6l1.2 5.2A1.5 1.5 0 0 0 8.7 21.5h1.1a1 1 0 0 0 1-1.2L9.8 15H11l7 4V5l-7 4H4.5A1.5 1.5 0 0 0 3 10.5Z%22/%3E%3Cpath d=%22M20 9.5a3 3 0 0 1 0 5%22 stroke=%22%23000%22 stroke-width=%221.8%22 fill=%22none%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M21 4.5 22.5 3M21.6 7.3l1.9-.6M18.6 3.4 19 1.5%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22M3 10.5v3a1.5 1.5 0 0 0 1.5 1.5H6l1.2 5.2A1.5 1.5 0 0 0 8.7 21.5h1.1a1 1 0 0 0 1-1.2L9.8 15H11l7 4V5l-7 4H4.5A1.5 1.5 0 0 0 3 10.5Z%22/%3E%3Cpath d=%22M20 9.5a3 3 0 0 1 0 5%22 stroke=%22%23000%22 stroke-width=%221.8%22 fill=%22none%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M21 4.5 22.5 3M21.6 7.3l1.9-.6M18.6 3.4 19 1.5%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
        }

.client-note-text p {
    margin: 0;
    font-size: clamp(16px, .85rem + .45vw, 22px);
    line-height: 1.6;
    color: #fff;
}

    .client-note-text p + p {
        margin-top: 12px;
    }

@media (max-width: 1100px) {
    .client-prose ul.help-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 45px;
    }

    .client-note-box {
        gap: 40px;
        padding: 50px;
    }
}

@media (max-width: 767px) {
    .client-prose ul.help-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .client-prose .help-cards h3 {
        margin-top: 20px;
    }

    .client-note {
        padding-top: 80px;
    }

    .client-note-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 35px 25px;
        border-radius: 20px;
    }
}

/* The questions of a landing page in a window over the page (Profile.cshtml), as on cleansheetgroup.com/mohesr. */
html.has-dialog {
    overflow: hidden;
}

.faq-dialog {
    width: min(1820px, calc(100% - 60px));
    max-width: none;
    max-height: calc(100% - 120px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: #fff;
    color: #000;
    box-shadow: 0 30px 80px rgba(0, 20, 60, .3);
    overflow: hidden;
}

    .faq-dialog[open] {
        display: flex;
        flex-direction: column;
        animation: faq-dialog-in .3s cubic-bezier(.2, .7, .2, 1);
    }

    .faq-dialog::backdrop {
        background: rgba(10, 22, 55, .55);
        backdrop-filter: blur(4px);
    }

@keyframes faq-dialog-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.faq-dialog-head {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 56px 35px;
    border-bottom: 1px solid #e6e9f0;
}

    .faq-dialog-head h2 {
        margin: 0;
        font-size: clamp(24px, 1.1rem + 1.2vw, 38px);
        font-weight: 600;
        line-height: 1.2;
        color: #0d1b4b;
    }

.faq-dialog-close {
    display: grid;
    flex: none;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef2fa;
    color: #00339e;
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .faq-dialog-close:hover {
        background: #00339e;
        color: #fff;
    }

.faq-dialog-body {
    flex: 1;
    padding: 0 56px 30px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.faq-dialog details {
    border-bottom: 1px solid #e6e9f0;
}

.faq-dialog summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 26px 0;
    font-size: clamp(17px, .85rem + .5vw, 23px);
    font-weight: 600;
    line-height: 1.35;
    color: #00339e;
    list-style: none;
    cursor: pointer;
}

    .faq-dialog summary::-webkit-details-marker {
        display: none;
    }

    .faq-dialog summary::after {
        content: "+";
        display: grid;
        flex: none;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #eef2fa;
        color: #00339e;
        font-size: 24px;
        font-weight: 500;
        line-height: 1;
    }

.faq-dialog details[open] summary::after {
    content: "\2212";
    background: #00339e;
    color: #fff;
}

.faq-dialog-answer {
    max-width: none;
    padding: 0 65px 26px 0;
}

    .faq-dialog-answer p {
        max-width: none;
        font-size: clamp(15px, .8rem + .3vw, 18px);
        line-height: 1.7;
        color: #5b6275;
    }

    .faq-dialog-answer a {
        color: #00339e;
    }

@media (max-width: 767px) {
    .faq-dialog {
        width: calc(100% - 24px);
        max-height: calc(100% - 40px);
        border-radius: 20px;
    }

    .faq-dialog-head {
        padding: 22px 20px;
    }

    .faq-dialog-close {
        width: 44px;
        height: 44px;
    }

    .faq-dialog-body {
        padding: 0 20px 20px;
    }

    .faq-dialog summary {
        padding: 18px 0;
    }

    .faq-dialog-answer {
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-dialog[open] {
        animation: none;
    }
}

/* ==========================================================================================================
   The menu of a phone or a tablet, as on cleansheetgroup.com: a blue drawer with the logo in white, white links with
   pale arrows, the "NEW" tag as a pale pill, and the lists of a menu in a navy rounded box.
   ========================================================================================================== */
@media (max-width: 1199px) {
    .nav {
        width: min(420px, 88vw);
        padding: 0 28px 40px;
        background: #00339e;
        color: #fff;
        box-shadow: -20px 0 50px rgba(0, 10, 40, .35);
    }

    .nav-head {
        min-height: 92px;
        margin-bottom: 14px;
        background: #00339e;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .nav-logo img {
        height: 40px;
        filter: brightness(0) invert(1);
    }

    .nav-logo .logo-text strong, .nav-logo .logo-text small {
        color: #fff;
    }

    .nav-head .icon-btn {
        color: #fff;
    }

        .nav-head .icon-btn:hover {
            background: rgba(255, 255, 255, .12);
        }

    .nav-list > li {
        border-bottom: 0;
    }

    .nav-link {
        min-height: 58px;
        padding-inline: 0;
        color: #fff;
        font-size: 17px;
        font-weight: 500;
    }

        .nav-link:hover, .nav-link[aria-expanded=true], .nav-link[aria-current=page] {
            background: none;
            color: #fff;
        }

        .nav-link > .icon {
            color: rgba(255, 255, 255, .55);
            transition: transform .2s;
        }

        .nav-link[aria-expanded=true] > .icon {
            transform: rotate(180deg);
        }

    a.nav-link {
        justify-content: flex-start;
    }
    /* a plain link keeps its tag beside the words */
    .nav-link .tag {
        margin-left: 8px;
        padding: 4px 14px;
        border-radius: 20px;
        background: rgba(255, 255, 255, .1);
        color: #8fc3ff;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .panel, .panel-mega {
        margin: 2px 0 12px;
        padding: 14px 24px;
        border-radius: 20px;
        background: #001a50;
    }

    .flyout {
        padding: 0;
    }

    .flyout-link {
        min-height: 46px;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
    }

        .flyout-link[aria-current=page], .flyout-sub a[aria-current=page], .panel-links a[aria-current=page] {
            color: #27b0af;
        }

    .flyout-item.has-sub {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 10px;
    }

        .flyout-item.has-sub > .flyout-link .icon {
            display: none;
        }

    .flyout-toggle {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: none;
        color: #fff;
        cursor: pointer;
    }

        .flyout-toggle:hover {
            background: rgba(255, 255, 255, .1);
        }

        .flyout-toggle .icon {
            transition: transform .2s;
        }

        .flyout-toggle[aria-expanded=true] .icon {
            transform: rotate(180deg);
        }

    .flyout-sub {
        display: none;
        grid-column: 1 / -1;
        margin: 0 0 8px;
        padding: 0 0 0 14px;
        border-left: 1px solid rgba(255, 255, 255, .15);
    }

    .flyout-item.is-open > .flyout-sub {
        display: block;
    }

    .flyout-sub a {
        min-height: 38px;
        color: rgba(255, 255, 255, .8);
        font-size: 14px;
    }

        .flyout-sub a:hover {
            color: #27b0af;
        }

    .panel-links {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .panel-links a {
            min-height: 46px;
            padding: 0;
            border-radius: 0;
            background: none;
            color: #fff;
            font-size: 16px;
            font-weight: 600;
        }

            .panel-links a:hover {
                background: none;
                color: #27b0af;
            }

            .panel-links a .icon {
                display: none;
            }

    .nav-cta {
        justify-content: center;
        background: #fff;
        color: #00339e;
    }

        .nav-cta:hover, .nav-cta:focus-visible {
            background: #27b0af;
            color: #fff;
        }
}

/* ==========================================================================================================
   The header on a computer, as on cleansheetgroup.com (measured at 1280px): the white bar runs almost the full width
   of the screen, 103px high, with the big logo, 15px links, a blue "New" pill and a large "Start Verification".
   Under 1280px the links and the button close up a little, so everything keeps to one line down to 1200px.
   ========================================================================================================== */
@media (min-width: 1200px) {
    :root {
        --header-space: 118px;
    }

    .site-header > .wrap {
        max-width: none;
        padding-inline: 10px;
        padding-top: 11px;
    }

    .header-bar {
        min-height: 103px;
        padding: 0 10px 0 22px;
        border-radius: 25px;
    }

        .header-bar > .logo img {
            height: 59px;
        }

    .nav-link {
        padding: 10px 16px;
        font-size: 15px;
    }

        .nav-link .tag {
            margin-left: 6px;
            padding: 5px 13px;
            border-radius: 20px;
            background: #1d4fb8;
            color: #fff;
            font-size: 11.25px;
            font-weight: 600;
            line-height: 1.2;
        }

    .header-actions {
        gap: 6px;
    }

    .header-cta {
        min-height: 52px;
        padding: 0 34px;
        border-radius: 40px;
        font-size: 15px;
        font-weight: 600;
    }

    .site-header.is-scrolled > .wrap {
        padding-top: 8px;
    }

    .site-header.is-scrolled .header-bar {
        min-height: 103px;
    }
    /* the old site keeps its full height when scrolled */
}

@media (min-width: 1200px) and (max-width: 1219px) {
    .nav-link {
        padding-inline: 12px;
    }
    /* only the last few pixels above 1200 need the links a little closer */
}

@media (min-width: 1200px) and (max-width: 1279px) {
    .header-cta {
        min-height: 46px;
        padding: 0 24px;
    }
    /* "Start Verification" as it was */
}

@media (min-width: 641px) and (max-width: 1100px) {
    .home-solutions .loop-cell {
        width: calc(100cqw / 2);
    }
}

/* ==========================================================================================================
   The home page's type on a computer, as measured on cleansheetgroup.com (its sizes are fixed from 1025px up):
   section headings 40px, the band headings 30px, the framework's stage names 20px over 14px, and so on.
   ========================================================================================================== */
@media (min-width: 1025px) {
    .home-solutions h2, #framework h2, .home-industries h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .sol-more {
        font-size: 13px;
    }

    .pedestals.has-pictures strong, .pedestal-item > strong {
        font-size: 20px;
        font-weight: 600;
        line-height: 24px;
    }

    .pedestals.has-pictures .pedestal-item > span:last-child, .pedestals .pedestal-item > span:last-child {
        font-size: 14px;
        font-weight: 500;
        line-height: 16.8px;
    }

    .home-strategy .strategy-head h2 {
        font-size: 30px;
        line-height: 36px;
    }

    .home-strategy .strategy-rows h3 {
        font-size: 20px;
        line-height: 20px;
    }

    .scale-text h2 {
        font-size: 30px;
        line-height: 36px;
    }

    #insights h2 {
        font-size: 30px;
        line-height: 36px;
    }

    #insights .head-split p {
        font-size: 14px;
        line-height: 23.8px;
    }

    #insights .head-split .btn {
        font-size: 15px;
        font-weight: 600;
    }

    .site-footer .footer-tagline {
        font-size: 20px;
        line-height: 26px;
    }

    .site-footer .footer-bottom {
        font-size: 14px;
    }
}

/* The banner of a service page, as on cleansheetgroup.com: about 70% of the window's height (556px on a 1536 x 800
   window, 416px on a 1280 x 600 one), the text half the window wide at most. */
.hero-band:has(+ .svc-page) {
    min-height: clamp(360px, 69vh, 640px);
}

    .hero-band:has(+ .svc-page) h1 + p {
        max-width: min(716px, 50vw);
    }

@media (max-width: 767px) {
    .hero-band:has(+ .svc-page) h1 + p {
        max-width: none;
    }
}

/* On a phone: the entrance rises 40px instead of 150px (a 150px drop left a long blank on a short screen while the
   next block waited to come in), and the About rows keep 60px between them instead of 120px. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    .js [data-ca] [data-ca-item] {
        transform: translate3d(0, 40px, 0);
    }
}

@media (max-width: 767px) {
    .about-row {
        padding-top: 60px;
    }
}

/* ==========================================================================================================
   A landing page (/mohesr), as on cleansheetgroup.com/mohesr: its own header over the top band (white logo; the
   partner's logo in a white pill, EN / عربي, a menu button), a white menu panel from the right, and a full-width
   top band with the text on the left and the picture standing on its bottom edge on the right.
   ========================================================================================================== */
.landing-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 50;
}

.landing-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 50px 0 30px;
}

.landing-logo {
    display: inline-flex;
    flex: none;
}

    .landing-logo img {
        width: auto;
        height: 52px;
        filter: brightness(0) invert(1);
    }

    .landing-logo svg {
        width: 52px;
        height: 52px;
        color: #fff;
    }

.landing-bar-end {
    display: flex;
    align-items: center;
    gap: 20px;
}

.landing-partner {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 52px;
    margin-left: 16px;
    padding: 0 12px;
    border-radius: 15px;
    background: #fff;
}

    .landing-partner::before {
        content: "";
        position: absolute;
        top: -12px;
        bottom: -12px;
        left: -16px;
        width: 1px;
        background: rgba(255, 255, 255, .25);
    }

    .landing-partner img {
        width: auto;
        height: 34px;
    }

a.landing-partner {
    transition: box-shadow .2s;
}

    a.landing-partner:hover {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
    }

.landing-lang {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 36px;
    padding: 3px;
    border: 1.5px solid rgba(255, 255, 255, .55);
    border-radius: 30px;
}

    .landing-lang a, .landing-lang span {
        display: grid;
        place-items: center;
        height: 27px;
        padding: 0 12px;
        border-radius: 20px;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
    }

    .landing-lang .is-current {
        background: #fff;
        color: #00339e;
    }

    .landing-lang [aria-disabled] {
        cursor: default;
    }

.landing-open {
    display: grid;
    gap: 7px;
    width: 30px;
    padding: 6px 0;
    border: 0;
    background: none;
    cursor: pointer;
}

    .landing-open span {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: #fff;
    }

.landing-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10, 20, 50, .35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.landing-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: min(420px, 88vw);
    overflow: hidden;
    background: #fff;
    color: #141b4d;
    box-shadow: -20px 0 50px rgba(0, 10, 40, .25);
    transform: translateX(100%);
    transition: transform .3s ease;
}

    .landing-menu[hidden] {
        display: none;
    }

    .landing-menu.is-open {
        transform: none;
    }

.landing-menu-head {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px 22px 22px;
    border-bottom: 1px solid #e6e9f0;
}

.landing-menu-logo img {
    width: auto;
    height: 40px;
}

.landing-close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d5dbea;
    border-radius: 50%;
    background: #f4f6fb;
    color: #141b4d;
    cursor: pointer;
}

    .landing-close:hover {
        background: #e9edf7;
    }

.landing-list {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 8px 13px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
}
    /* the list scrolls, the buttons stay at the foot */
    .landing-list > li {
        border-bottom: 1px solid #e6e9f0;
    }

.landing-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 56px;
    padding: 0 10px;
    color: #141b4d;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
}

.landing-menu summary {
    list-style: none;
}

    .landing-menu summary::-webkit-details-marker {
        display: none;
    }

    .landing-menu summary .icon {
        flex: none;
        color: #5b6275;
        transition: transform .2s;
    }

.landing-menu details[open] > summary .icon {
    transform: rotate(180deg);
}

.landing-menu details[open] > summary.landing-link, .landing-menu details[open] > summary.landing-link .icon {
    color: #00339e;
}

.landing-tag {
    padding: 3px 10px;
    border-radius: 6px;
    background: #27b0af;
    color: #0d1b4b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.landing-sub {
    margin: 0 0 14px;
    padding: 0 10px 0 28px;
    list-style: none;
}

.landing-sub-title {
    display: block;
    margin: 6px 0 2px;
    color: #27b0af;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.landing-sub-links {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.landing-sub a:not(.landing-sub-title), .landing-sub summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 43px;
    color: #4a5068;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
}

    .landing-sub a:hover, .landing-sub summary:hover, .landing-menu [aria-current=page] {
        color: #00339e;
    }

.landing-menu-foot {
    display: grid;
    flex: none;
    gap: 14px;
    padding: 28px 20px 24px;
    border-top: 1px solid #e6e9f0;
    background: #fff;
}

.landing-btn {
    display: grid;
    place-items: center;
    height: 48px;
    border: 1.5px solid #00339e;
    border-radius: 30px;
    background: #00339e;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}

    .landing-btn:hover {
        border-color: #27b0af;
        background: #27b0af;
        color: #fff;
    }

.landing-btn-outline {
    border-color: #9fb0de;
    background: #fff;
    color: #00339e;
}

    .landing-btn-outline:hover {
        border-color: #00339e;
        background: #00339e;
    }

.landing-menu-partner {
    justify-self: center;
    width: auto;
    height: 64px;
    margin-top: 8px;
}

/* The top band under the landing header. */
.landing-header ~ main .hero-band {
    min-height: 539px;
    padding: 115px 0 0;
    border-radius: 0;
    justify-content: stretch;
}

.landing-header ~ main .hero-band-inner {
    max-width: none;
    align-items: stretch;
    padding: 0 0 0 15px;
}

.landing-header ~ main .hero-band-split .hero-band-text {
    justify-content: center;
    padding-block: 20px 55px;
}

.landing-header ~ main .hero-band-label {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.landing-header ~ main .hero-band h1 {
    max-width: none;
    font-size: 56px;
    font-weight: 500;
    line-height: 62px;
}

    .landing-header ~ main .hero-band h1 .accent {
        color: inherit;
        font-weight: 700;
    }

.landing-header ~ main .hero-band-split .hero-band-text > p:not(.hero-band-label):not(.hero-band-link) {
    max-width: 600px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 24.6px;
}

.landing-header ~ main .hero-band-buttons {
    gap: 20px;
    margin-top: 45px;
}

.landing-header ~ main .hero-band-button {
    width: auto;
    height: 53px;
    padding: 0 30px;
    font-size: 17px;
    font-weight: 500;
}

.landing-header ~ main .hero-band-link {
    margin-top: 26px !important;
    font-size: 17px;
    line-height: 1.5;
}

.landing-header ~ main .hero-band-picture {
    flex: 0 1 47%;
    align-self: flex-end;
}

    .landing-header ~ main .hero-band-picture img {
        display: block;
        border-radius: 0;
    }

@media (max-width: 1024px) {
    .landing-bar {
        padding: 16px 20px 0;
    }

    .landing-logo img {
        height: 40px;
    }

    .landing-partner {
        height: 44px;
    }

        .landing-partner img {
            height: 28px;
        }

    .landing-header ~ main .hero-band {
        padding-top: 100px;
    }

    .landing-header ~ main .hero-band-inner {
        padding: 0 20px;
    }

    .landing-header ~ main .hero-band-split .hero-band-text {
        padding-bottom: 0;
    }

    .landing-header ~ main .hero-band h1 {
        font-size: 40px;
        line-height: 46px;
    }

    .landing-header ~ main .hero-band-picture {
        align-self: center;
    }
}

@media (max-width: 640px) {
    .landing-bar-end {
        gap: 14px;
    }

    .landing-partner {
        display: none;
    }

    .landing-header ~ main .hero-band h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .landing-header ~ main .hero-band-button {
        padding: 0 24px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-menu {
        transition: none;
    }
}

/* ==========================================================================================================
   The Arabic pages (an address ending in "-ar", <html lang="ar" dir="rtl">), as on cleansheetgroup.com/mohesr-ar:
   Arabic type, everything mirrored - text on the right, the header's logo on the right and its controls on the left,
   the menu panel from the left, the journey's line filling from the right.
   ========================================================================================================== */
html[lang=ar] body, html[lang=ar] button, html[lang=ar] input, html[lang=ar] select, html[lang=ar] textarea {
    font-family: "Noto Kufi Arabic", "Poppins", system-ui, sans-serif;
}

html[lang=ar] .hero-band-label, html[lang=ar] .is-landing .client-section-label {
    text-transform: none;
    letter-spacing: 0;
}

[dir=rtl] .hero-band-split, [dir=rtl] .is-landing .client-section-label, [dir=rtl] .is-landing .client-section-title, [dir=rtl] .is-landing .client-prose > h2 {
    text-align: right;
}

[dir=rtl] .landing-partner {
    margin-left: 0;
    margin-right: 16px;
}

    [dir=rtl] .landing-partner::before {
        left: auto;
        right: -16px;
    }

[dir=rtl] .landing-header ~ main .hero-band-inner {
    padding: 0 15px 0 0;
}

[dir=rtl] .landing-menu {
    right: auto;
    left: 0;
    box-shadow: 20px 0 50px rgba(0, 10, 40, .25);
    transform: translateX(-100%);
}

    [dir=rtl] .landing-menu.is-open {
        transform: none;
    }

[dir=rtl] .landing-sub {
    padding: 0 28px 0 10px;
}

[dir=rtl] .client-prose ol.journey::before, [dir=rtl] .client-prose ol.journey::after {
    left: auto;
    right: calc(var(--journey-dot) / 2);
}

[dir=rtl] .client-prose ol.journey::after {
    transform-origin: right;
}

[dir=rtl] .client-prose .help-cards h3::after {
    content: " \2190";
}

[dir=rtl] .faq-dialog-answer {
    padding: 0 0 26px 65px;
}

@media (max-width: 1024px) {
    [dir=rtl] .landing-header ~ main .hero-band-inner {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    [dir=rtl] .client-prose ol.journey > li {
        padding-left: 0;
        padding-right: calc(var(--journey-dot) + 25px);
    }

    [dir=rtl] .journey-number {
        left: auto;
        right: 0;
    }

    [dir=rtl] .client-prose ol.journey::before, [dir=rtl] .client-prose ol.journey::after {
        left: auto;
        right: calc(var(--journey-dot) / 2 - 1px);
    }
}
/* The Arabic band's heading: the Arabic type is wider, so smaller and a little lighter, two lines as on the old site,
   with a wider text column. */
html[lang=ar] .landing-header ~ main .hero-band h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.4;
}

    html[lang=ar] .landing-header ~ main .hero-band h1 .accent {
        font-weight: 700;
    }

html[lang=ar] .landing-header ~ main .hero-band-split .hero-band-text > p:not(.hero-band-label):not(.hero-band-link) {
    max-width: 680px;
}

html[lang=ar] .landing-header ~ main .hero-band-label {
    font-weight: 700;
}

@media (max-width: 1024px) {
    html[lang=ar] .landing-header ~ main .hero-band h1 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    html[lang=ar] .landing-header ~ main .hero-band h1 {
        font-size: 28px;
    }
}
/* The industry cards grow with their text (a fixed 273px cut off the end of the longer ones), all as tall as the
   tallest; the row is not clipped at the bottom. */
.home-industries .loop-cell {
    display: flex;
}

    .home-industries .loop-cell > * {
        flex: 1 1 auto;
    }

.home-industries .loop-viewport {
    padding-bottom: 2px;
}
/* As on cleansheetgroup.com: the heading runs the full width (two lines, not three), and the industry cards are a
   little narrower with their icon, title and text centred. */
.home-industries .head {
    max-width: none;
}

.home-industries .loop-cell {
    width: clamp(260px, 22vw, 304px);
}

.ind-card {
    text-align: center;
}

.ind-icon, .ind-icon img {
    margin-inline: auto;
}

.ind-icon {
    display: flex;
    justify-content: center;
}

/* ==========================================================================================================
   Inner pages measured on cleansheetgroup.com at the same window (about 1220px): Criminal Records Check (and so
   every service page), Credential Intelligence, National Skills, Expat Government Services, About and Contact.
   ========================================================================================================== */
@media (min-width: 1200px) {
    /* the old site's content runs the width of the screen less 36px (up to 1200px), not less 64px */
    :root {
        --gutter: 18px;
    }

    /* header: 60px logo, links 1.7 line height, the "New" pill 45 x 25, "Start Verification" 210 x 50 */
    .header-bar > .logo img {
        height: 60px;
    }

    .nav-link {
        line-height: 1.7;
    }

        .nav-link .tag {
            padding: 6.75px 10px;
            line-height: 1;
        }
}

/* ".hero-band p" (14px) was winning over the label: the old site's label is 15px with a 18px line */
.hero-band .hero-band-label {
    font-size: 15px;
    line-height: 18px;
}

@media (min-width: 1025px) {
    /* picture band of About, Contact and the other inner pages */
    .hero-band:not(.expat-hero):not(.ci-hero) h1 {
        max-width: 747px;
    }

    .hero-band h1 + p {
        max-width: 629px;
    }

    .hero-band:has(+ .svc-page) h1 + p {
        max-width: 617px;
    }

    /* service pages: the blue box, "Why choose", the benefits */
    .svc-box h2 {
        max-width: 620px;
    }

    .why-label {
        line-height: 18px;
    }

    .why-head h2 {
        color: #000;
    }

    .why-text {
        max-width: 665px;
        color: #000;
    }

    .why-accordion {
        width: min(563px, 100%);
    }

    .svc-benefits h2 {
        max-width: 783px;
    }

        .svc-benefits h2 + div {
            max-width: 914px;
        }

    /* latest insights: black heading, text 845px */
    .insights-head h2 {
        color: #000;
    }

    .insights-head p:not(.label) {
        max-width: 845px;
    }

    /* figures band: number 28px on a 28px line, label 12px on 20.4px */
    .stats dd {
        line-height: 1;
    }

    .stats dt {
        line-height: 1.7;
    }

    /* footer headings: 18px line (Contact Number 15.6px) */
    .site-footer .footer-col h2 {
        line-height: 1.2;
    }

    /* About: picture 505 x 337, text 621px */
    .about-picture {
        width: 505px;
        aspect-ratio: 505 / 337;
    }

    .about-text {
        flex: 0 1 621px;
    }

    /* Expat Government Services */
    .expat-hero h1 {
        font-size: 55px;
        line-height: 66px;
    }

    .expat-hero .expat-hero-sub {
        font-size: 24px;
        line-height: 28.8px;
    }

    .expat-hero .expat-hero-strong {
        font-size: 35px;
        line-height: 42px;
    }

    .expat-cards li {
        padding-inline: 20px;
    }

    .expat-list li {
        font-size: 17px;
        font-weight: 500;
        line-height: 28.9px;
        color: #171717;
    }

    .expat-picture-process {
        width: min(890px, 100%);
    }

    .expat-picture-why {
        width: min(875px, 100%);
    }

    .expat-faq h2 + p {
        max-width: 738px;
    }

    .expat-btn {
        padding-inline: 16px;
    }

    /* Credential Intelligence & Evaluation */
    .ci-hero-text {
        max-width: 890px;
    }

    .ci-hero:has(.ci-hero-sub) .ci-hero-text {
        max-width: 854px;
    }

    .ci-analysis .ci-title-30 {
        max-width: 700px;
    }

    .ci-uphold-head .ci-title-30, .ci-uphold-head p:not(.ci-label) {
        max-width: 850px;
    }

    .ci-result {
        max-width: 910px;
        margin-inline: auto;
    }

        .ci-result p {
            line-height: 25.5px;
        }

    .ci-benefit-box h3 {
        line-height: 21.6px;
    }

    .ci-benefit-center {
        width: 222px;
        height: 222px;
    }

    .ci-workflow p:not(.ci-label) {
        max-width: 819px;
    }

    /* National Skills & Compliance Platform */
    .ns-head-center p {
        max-width: 953px;
        margin-inline: auto;
    }

    .ns-purpose {
        line-height: 1.7;
    }

    .ns-capability-cards h3 {
        line-height: 1.2;
    }

    .ns-expertise-head {
        max-width: 880px;
    }

        .ns-expertise-head p:not(.ci-label) {
            max-width: 735px;
        }

    .ns-value h2 + div p {
        max-width: 819px;
    }

    .ns-value-items h3 {
        line-height: 1;
    }

    .ns-framework h2 + div p {
        max-width: 736px;
    }

    .ns-steps h3 {
        line-height: 1.3;
    }
}

/* ---- Careers, measured on cleansheetgroup.com (about 1220px wide) */
@media (min-width: 1025px) {
    body:has(.openings) .hero-band h1 + p {
        max-width: 475px;
    }

    .openings-head p {
        max-width: 783px;
        margin-inline: auto;
    }

    .openings-empty {
        padding: 30px 84px;
    }

    #movement .movement-head h2 {
        max-width: 660px;
    }

    #movement .movement-head p {
        max-width: 770px;
    }

    #movement .logo-track img {
        max-width: 175px;
    }
}

/* ---- MOHESR (English and Arabic) between 1025 and 1366px: the old site uses smaller fixed sizes on a laptop screen
   than on a big one (measured at about 1220px). Above 1366px the earlier sizes stay. */
@media (min-width: 1025px) and (max-width: 1366px) {
    .landing-logo img {
        height: 52px;
    }

    .landing-partner {
        height: 50px;
    }

        /* the line beside the ministry's box is as high as the box, as on the old site */
        .landing-partner::before {
            top: 0;
            bottom: 0;
        }

    /* the menu button: three 24px lines, 14px from the language switch (the old site's spacing) */
    .landing-open {
        width: 24px;
    }

    .landing-bar-end {
        gap: 14px;
    }

    /* the menu button closer to the language switch (10px) and to the right edge (36px) */
    .landing-open {
        margin-inline-start: -4px;
    }

    .landing-bar {
        padding-right: 36px;
    }

    /* the Arabic page is the mirror: the menu button 36px from the left edge, the logo 30px from the right */
    [dir=rtl] .landing-bar {
        padding-right: 30px;
        padding-left: 36px;
    }

    .landing-partner img {
        height: 30px;
    }

    .landing-lang a, .landing-lang span {
        height: 25px;
        padding: 0 10px;
        font-size: 12.5px;
    }

    /* MOHESR's band at 1221px, from the old site: the label 113px down, 12px to the text, 30px to the buttons,
       the band about 517px high */
    .landing-header ~ main .hero-band {
        min-height: 505px;
        padding-top: 77px;
    }

    /* the row fills the band, so the picture (at the row's bottom) reaches the band's bottom edge even when the
       band's minimum height is more than its content */
    .landing-header ~ main .hero-band-inner {
        flex: 1 1 auto;
    }

    /* the Arabic band a little taller */
    html[lang=ar] .landing-header ~ main .hero-band {
        min-height: 530px;
    }

    .landing-header ~ main .hero-band-split .hero-band-text > p:not(.hero-band-label):not(.hero-band-link) {
        margin-top: 12px;
    }

    .landing-header ~ main .hero-band-buttons {
        margin-top: 30px;
    }

    .landing-header ~ main .hero-band-label {
        font-size: 15px;
        line-height: 25.5px;
    }

    .landing-header ~ main .hero-band h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .landing-header ~ main .hero-band-split .hero-band-text > p:not(.hero-band-label):not(.hero-band-link) {
        max-width: 578px;
        font-size: 14px;
        line-height: 23.8px;
    }

    .landing-header ~ main .hero-band-button {
        height: 51px;
        padding: 0 25px;
        font-size: 15px;
    }

    .landing-header ~ main .hero-band-link {
        font-size: 14px;
        line-height: 23.8px;
    }

    .landing-header ~ main .hero-band-picture {
        flex-basis: 48%;
    }

    .is-landing .client-section-label {
        font-size: 15px;
        line-height: 25.5px;
    }

    .is-landing .client-section-title, .is-landing .client-prose > h2 {
        max-width: 783px;
        font-size: 40px;
        line-height: 48px;
        color: #2b2b2b;
    }

    .client-prose .journey h3 {
        margin-top: 26px;
        font-size: 20px;
        line-height: 25px;
    }

    .client-prose .journey p {
        margin-top: 11px;
        font-size: 16px;
        line-height: 25.6px;
    }

    .client-prose .journey li.is-active h3 {
        color: #17204e;
    }

    .client-prose .journey li.is-active p {
        color: #5b6478;
    }

    .client-prose .help-cards h3 {
        margin-top: 20px;
        font-size: 18px;
        line-height: 24.3px;
        color: #17204e;
    }

    .client-prose .help-cards p {
        margin-top: 7px;
        font-size: 15.5px;
        line-height: 24.8px;
        color: #5b6478;
    }

    .client-note-box h2 {
        font-size: 15px;
        font-weight: 500;
    }

    .client-note-text p {
        font-size: 16px;
        line-height: 27.2px;
    }
}
/* "How to apply" and "Need Help?" headings are 35px on the old site */
@media (min-width: 1025px) and (max-width: 1366px) {
    .client-video.is-landing .client-section-title,
    .is-landing .client-prose:has(.help-cards) > h2 {
        max-width: 890px;
        font-size: 35px;
        line-height: 42px;
    }
}

/* ---- the Arabic page uses Tajawal on the old site, with the same heading as the English one */
html[lang=ar] body, html[lang=ar] button, html[lang=ar] input, html[lang=ar] select, html[lang=ar] textarea {
    font-family: "Tajawal", "Poppins", system-ui, sans-serif;
}

@media (min-width: 1025px) and (max-width: 1366px) {
    html[lang=ar] .landing-header ~ main .hero-band h1 {
        font-size: 50px;
        font-weight: 500;
        line-height: 60px;
    }
}

/* ---- landing page (MOHESR): the video sits on a very pale mint band (#f4fbfb), with no grey shade at its top edge */
.client-video.is-landing {
    background: #f4fbfb;
}

    .client-video.is-landing::before {
        content: none;
    }

/* ---- landing page (MOHESR): the band at the top (header, heading, text, buttons, picture) is still on the old site -
   it is there when the page opens, without rising or fading in. */
.js .landing-header [data-ca-item], .js .landing-header ~ main .hero-band [data-ca-item],
.js .landing-header ~ main .hero-band[data-ca-item] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ---- footer: "Policies" is a soft box that opens to show its links inside it, as on cleansheetgroup.com (script in _Footer) */
.site-footer .footer-group.is-toggle {
    margin-top: 22px;
    padding: 9px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
}

.site-footer .footer-col .footer-group.is-toggle > h2 {
    display: block;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 22.1px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

    .site-footer .footer-col .footer-group.is-toggle > h2::after {
        content: none;
    }

.site-footer .footer-group.is-toggle > ul {
    display: none;
}

.site-footer .footer-group.is-toggle.is-open > ul {
    display: block;
    margin-top: 8px;
}

.site-footer .footer-col .footer-group.is-toggle li + li {
    margin-top: 4px;
}

.site-footer .footer-col .footer-group.is-toggle li a {
    font-size: 12px;
    line-height: 20px;
}

@media (prefers-reduced-motion: no-preference) {
    .site-footer .footer-group.is-toggle.is-open li {
        animation: policy-rise .6s cubic-bezier(.22, .61, .36, 1) backwards;
    }

        .site-footer .footer-group.is-toggle.is-open li:nth-child(2) {
            animation-delay: .1s;
        }

        .site-footer .footer-group.is-toggle.is-open li:nth-child(3) {
            animation-delay: .2s;
        }

        .site-footer .footer-group.is-toggle.is-open li:nth-child(n+4) {
            animation-delay: .3s;
        }
}

@keyframes policy-rise {
    from {
        opacity: 0;
        translate: 0 14px;
    }
}

/* ---- landing page: space under the journey before the mint video band, as on the old site (about 140px) */
.client-content.is-landing:has(+ .client-video.is-landing) {
    padding-bottom: 140px;
}

@media (max-width: 767px) {
    .client-content.is-landing:has(+ .client-video.is-landing) {
        padding-bottom: 70px;
    }
}

/* ---- footer on a phone: a heading with links under it opens and closes its list (the script is in _Footer) */
@media (max-width: 767px) {
    .site-footer .footer-group.has-links > h2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 0;
        cursor: pointer;
    }

        .site-footer .footer-group.has-links > h2::after {
            content: "";
            flex: none;
            width: 8px;
            height: 8px;
            margin-right: 4px;
            border-right: 2px solid #fff;
            border-bottom: 2px solid #fff;
            transform: translateY(-3px) rotate(45deg);
            transition: transform .25s;
        }

    .site-footer .footer-group.has-links.is-open > h2::after {
        transform: translateY(2px) rotate(-135deg);
    }

    .site-footer .footer-group.has-links > ul {
        display: none;
    }

    .site-footer .footer-group.has-links.is-open > ul {
        display: block;
        margin-top: 15px;
    }

    [dir=rtl] .site-footer .footer-group.has-links > h2::after {
        margin-right: 0;
        margin-left: 4px;
    }
}

/* ---- landing page: the section headings fill their first line before breaking, as on the old site (the site's
   headings are balanced into two equal lines by default) */
.is-landing .client-section-title, .is-landing .client-prose > h2 {
    text-wrap: wrap;
}

/* ---- headings fill their first line before breaking, as everywhere on cleansheetgroup.com (they were balanced into
   two equal lines, so a heading broke earlier than on the old site) */
h1, h2, h3 {
    text-wrap: wrap;
}

.home-industries h2 {
    color: #000;
}

/* ---- landing page header once the page is scrolled: fixed at the top, white, logos in colour, blue switch and menu
   button (as on cleansheetgroup.com/mohesr). The script is in _LandingHeader. */
.landing-header.is-stuck {
    position: fixed;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 26, 80, .1);
    animation: landing-drop .35s ease;
}

    .landing-header.is-stuck .landing-bar {
        padding-block: 13px;
    }

    .landing-header.is-stuck .landing-logo img {
        height: 46px;
        filter: none;
    }

    .landing-header.is-stuck .landing-logo svg {
        color: #00339e;
    }

    .landing-header.is-stuck .landing-partner {
        height: 46px;
        padding: 0;
        background: none;
    }

        .landing-header.is-stuck .landing-partner::before {
            top: 0;
            bottom: 0;
            background: rgba(0, 26, 80, .15);
        }

    .landing-header.is-stuck .landing-lang {
        border-color: #00339e;
    }

        .landing-header.is-stuck .landing-lang a, .landing-header.is-stuck .landing-lang span {
            color: #00339e;
        }

        .landing-header.is-stuck .landing-lang .is-current {
            background: #00339e;
            color: #fff;
        }

    .landing-header.is-stuck .landing-open span {
        background: #001a50;
    }

@keyframes landing-drop {
    from {
        transform: translateY(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-header.is-stuck {
        animation: none;
    }
}

/* ---- the figures on the map (.scale-stat) rise in one after the other when the band reaches the screen
   (site.js adds .stat-rise, then .stat-in) */
.js .stat-rise {
    opacity: 0;
    translate: 0 70px;
    transition: opacity 1.2s cubic-bezier(.23, 1, .32, 1) var(--stat-delay, 0ms), translate 1.2s cubic-bezier(.23, 1, .32, 1) var(--stat-delay, 0ms);
}

    .js .stat-rise.stat-in {
        opacity: 1;
        translate: 0 0;
    }

@media (prefers-reduced-motion: reduce) {
    .js .stat-rise {
        opacity: 1;
        translate: none;
        transition: none;
    }
}

/* ---- header on a computer: the logo, each link, the search and "Start Verification" come in one after the other
   when a page opens, as on cleansheetgroup.com */
@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
    .header-bar > .logo, .header-bar .nav-list > li, .header-bar .header-actions > * {
        animation: header-in .9s cubic-bezier(.23, 1, .32, 1) backwards;
    }

    .header-bar > .logo {
        animation-delay: .05s;
    }

    .header-bar .nav-list > li:nth-child(1) {
        animation-delay: .12s;
    }

    .header-bar .nav-list > li:nth-child(2) {
        animation-delay: .19s;
    }

    .header-bar .nav-list > li:nth-child(3) {
        animation-delay: .26s;
    }

    .header-bar .nav-list > li:nth-child(4) {
        animation-delay: .33s;
    }

    .header-bar .nav-list > li:nth-child(5) {
        animation-delay: .40s;
    }

    .header-bar .nav-list > li:nth-child(n+6) {
        animation-delay: .47s;
    }

    .header-bar .header-actions > *:nth-child(1) {
        animation-delay: .52s;
    }

    .header-bar .header-actions > *:nth-child(n+2) {
        animation-delay: .6s;
    }
}

@keyframes header-in {
    from {
        opacity: 0;
        translate: 0 25px;
    }
}

/* ---- text pages (Terms of Use, Applicant Privacy Policy, Refund Policy...): as on cleansheetgroup.com, the text runs
   the full width of the page, 16px black, lists set in 40px, paragraphs justified, black headings (measured from the old site) */
.prose.prose-page {
    max-width: none;
    color: #000;
}

    .prose.prose-page > p, .prose.prose-page li {
        font-size: 16px;
        line-height: 1.7;
    }

    .prose.prose-page ul, .prose.prose-page ol {
        margin-block: 1em;
        padding-left: 0;
        padding-inline-start: 40px;
    }

    .prose.prose-page > p {
        text-align: justify;
    }

    .prose.prose-page h2 {
        margin-top: 1.6em;
        font-size: 26px;
        font-weight: 600;
        line-height: 1.3;
        color: #000;
    }

    .prose.prose-page h3 {
        margin-top: 1.4em;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.3;
        color: #000;
    }

    .prose.prose-page li::marker {
        color: #000;
    }

@media (max-width: 767px) {
    .prose.prose-page > p, .prose.prose-page li {
        font-size: 14px;
    }

    .prose.prose-page ul, .prose.prose-page ol {
        padding-inline-start: 24px;
    }

    .prose.prose-page > p {
        text-align: start;
    }

    .prose.prose-page h2 {
        font-size: 22px;
    }

    .prose.prose-page h3 {
        font-size: 18px;
    }
}

/* ---- Terms of Use (LegacyPolicyPages): a blue box with the heading, and each part opening under its title, as on the
   old site (measured: the box's picture Mask-group-8, heading 40px, a part's title 25px white, the text 14px, a thin light line between parts and a - / + at the right */
.prose .terms-box {
    padding: 50px 40px 40px;
    border-radius: 30px;
    color: #fff;
    background: url('/media/legacy/2026/01/Mask-group-8.png') 50% 50% / cover no-repeat, var(--grad-band);
}

    .prose .terms-box > h2 {
        margin: 0 0 12px;
        font-size: 40px;
        font-weight: 600;
        line-height: 48px;
        color: #fff;
    }

.prose .terms-item {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

    .prose .terms-item > summary {
        position: relative;
        display: block;
        padding: 10px 50px 9px 16px;
        font-size: 25px;
        font-weight: 600;
        line-height: 37.5px;
        color: #fff;
        cursor: pointer;
        list-style: none;
    }

        .prose .terms-item > summary::-webkit-details-marker {
            display: none;
        }

        .prose .terms-item > summary::before, .prose .terms-item > summary::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 16px;
            width: 22px;
            height: 3px;
            border-radius: 2px;
            background: #fff;
            transform: translateY(-50%);
            transition: transform .25s;
        }

        .prose .terms-item > summary::after {
            transform: translateY(-50%) rotate(90deg);
        }

    .prose .terms-item[open] > summary::after {
        transform: translateY(-50%) rotate(0deg);
    }

    .prose .terms-item > p {
        margin: 0;
        padding: 0 16px 20px;
        font-size: 14px;
        line-height: 23.8px;
        text-align: start;
        color: #fff;
    }

    .prose .terms-item > summary:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -2px;
        border-radius: 8px;
    }

[dir=rtl] .prose .terms-item > summary {
    padding: 10px 16px 9px 50px;
}

    [dir=rtl] .prose .terms-item > summary::before, [dir=rtl] .prose .terms-item > summary::after {
        right: auto;
        left: 16px;
    }

@media (max-width: 767px) {
    .prose .terms-box {
        padding: 32px 18px 20px;
        border-radius: 20px;
    }

        .prose .terms-box > h2 {
            font-size: 30px;
        }

    .prose .terms-item > summary {
        padding: 14px 40px 14px 6px;
        font-size: 20px;
    }

    .prose .terms-item > p {
        padding: 0 6px 16px;
        font-size: 15px;
    }
}

/* ---- A legal page (Terms of Use, audit WEB-038): a blue card with the title and the company's details, the contents at
   the side (sticky on a laptop, a list that opens on a phone), and numbered sections that are easy to read. The page's
   body holds the HTML (LegacyPolicyPages); site.js opens the contents on a wide screen and marks the section in view. */
.prose:has(> .legal) {
    max-width: none;
}

.legal {
    --legal-gap: 56px;
    max-width: 1240px;
    margin-inline: auto;
    color: var(--ink-soft);
}

    .legal h2, .legal h3, .legal p, .legal ul, .legal ol, .legal dl {
        margin: 0;
    }

/* the card at the top */
.legal-intro {
    position: relative;
    overflow: hidden;
    padding: 48px 48px 40px;
    border-radius: 30px;
    color: #fff;
    background: url('/media/legacy/2026/01/Mask-group-8.png') 50% 50% / cover no-repeat, var(--grad-band);
}

.legal .legal-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .1);
}

.legal .legal-intro > h2 {
    max-width: 22ch;
    margin-top: 18px;
    font-size: clamp(28px, 1.4rem + 1.8vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
}

.legal-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px !important;
}

    .legal-facts > div {
        padding: 16px 18px;
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: 16px;
        background: rgba(255, 255, 255, .1);
        backdrop-filter: blur(4px);
    }

    .legal-facts dt {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .75);
    }

    .legal-facts dd {
        margin: 6px 0 0;
        font-size: 15px;
        line-height: 1.5;
        color: #fff;
        overflow-wrap: anywhere;
    }

        .legal-facts dd a {
            color: #fff;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

/* the contents beside the sections */
.legal-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: var(--legal-gap);
    align-items: start;
    margin-top: 48px;
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-space) + 24px);
}

    .legal-toc details {
        max-height: calc(100vh - var(--header-space) - 48px);
        overflow-y: auto;
        padding: 22px 14px 14px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: #f6f8fc;
        scrollbar-width: thin;
    }

    .legal-toc summary {
        padding: 0 10px 12px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--navy);
        list-style: none;
        pointer-events: none; /* always open on a wide screen */
    }

        .legal-toc summary::-webkit-details-marker {
            display: none;
        }

.legal .legal-toc ol {
    padding: 0;
    list-style: none;
}

.legal .legal-toc li + li {
    margin-top: 2px;
}

.legal-toc a {
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink-soft);
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

    .legal-toc a span {
        flex: none;
        min-width: 22px;
        font-variant-numeric: tabular-nums;
        color: var(--teal);
    }

    .legal-toc a:hover {
        color: var(--blue);
        background: #e9eef8;
    }

    .legal-toc a.is-current {
        color: #fff;
        background: var(--blue);
    }

        .legal-toc a.is-current span {
            color: rgba(255, 255, 255, .8);
        }

/* the sections */
.legal-sec {
    padding-block: 40px;
    border-top: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-space) + 24px);
}

    .legal-sec:first-child {
        padding-top: 0;
        border-top: 0;
    }

.legal .legal-sec > h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: clamp(22px, 1.1rem + .6vw, 28px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
}

.legal-num {
    display: grid;
    flex: none;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--grad-band);
    box-shadow: 0 8px 20px rgba(0, 51, 158, .18);
}

.legal-sec > p, .legal-sec > ul, .legal-sec > ol {
    max-width: 78ch;
    font-size: 16px;
    line-height: 1.8;
}

.legal .legal-sec > * + * {
    margin-top: 14px;
}

.legal .legal-sec > ul, .legal .legal-sec > ol {
    padding-inline-start: 1.4rem;
}

.legal .legal-sec li + li {
    margin-top: 8px;
}

.legal .legal-sec li::marker {
    font-weight: 600;
    color: var(--teal);
}

.legal .legal-sec strong {
    font-weight: 600;
    color: var(--ink);
}

.legal .legal-sec > h3 {
    margin-top: 28px;
    padding-inline-start: 14px;
    border-inline-start: 3px solid var(--teal);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy);
}

.legal-sec a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(0, 51, 158, .35);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

    .legal-sec a:hover {
        text-decoration-color: currentColor;
    }

/* a table (Cookie Policy: the cookies we set) - it scrolls sideways on a phone rather than squeezing its columns */
.legal .legal-sec > .legal-table {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.legal-table table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}

.legal-table th, .legal-table td {
    padding: 12px 16px;
    text-align: start;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.legal-table th {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    background: #f6f8fc;
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

.legal-table code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 13.5px;
    overflow-wrap: anywhere;
}

/* "Cookie settings" beside the copyright line */
.site-footer .footer-bottom .cookie-settings {
    font-size: 13px;
}

/* the contact details and the related policies (26) */
.legal .legal-sec > .legal-card {
    max-width: 520px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f6f8fc;
}

.legal .legal-sec > .legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

    .legal .legal-sec > .legal-links li {
        margin: 0;
    }

.legal-sec > .legal-links a {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    transition: border-color .2s, background-color .2s;
}

    .legal-sec > .legal-links a:hover {
        border-color: var(--blue);
        background: #e9eef8;
    }

/* a laptop */
@media (max-width: 1200px) {
    .legal {
        --legal-gap: 40px;
    }

    .legal-layout {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

/* a tablet or a phone: one column, the contents a list that opens */
@media (max-width: 1024px) {
    .legal-intro {
        padding: 36px 28px 28px;
    }

    .legal-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        margin-top: 28px;
    }

    .legal-toc {
        position: static;
    }

        .legal-toc details {
            max-height: none;
            padding: 0;
            background: #fff;
            box-shadow: 0 6px 20px rgba(14, 27, 61, .06);
        }

        .legal-toc summary {
            position: relative;
            padding: 18px 52px 18px 20px;
            font-size: 15px;
            cursor: pointer;
            pointer-events: auto;
        }

            .legal-toc summary::after {
                content: "";
                position: absolute;
                top: 50%;
                right: 22px;
                width: 9px;
                height: 9px;
                border-right: 2px solid var(--blue);
                border-bottom: 2px solid var(--blue);
                transform: translateY(-70%) rotate(45deg);
                transition: transform .25s;
            }

        .legal-toc details[open] summary {
            border-bottom: 1px solid var(--line);
        }

            .legal-toc details[open] summary::after {
                transform: translateY(-30%) rotate(-135deg);
            }

    .legal .legal-toc ol {
        padding: 10px;
    }

    .legal-sec {
        padding-block: 32px;
    }
}

@media (max-width: 640px) {
    .legal-intro {
        padding: 28px 20px 22px;
        border-radius: 22px;
    }

    /* the details as one card with a line between them, so they don't fill the screen */
    .legal-facts {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 24px !important;
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: 16px;
        background: rgba(255, 255, 255, .1);
    }

        .legal-facts > div {
            padding: 12px 16px;
            border: 0;
            border-radius: 0;
            background: none;
            backdrop-filter: none;
        }

            .legal-facts > div + div {
                border-top: 1px solid rgba(255, 255, 255, .15);
            }

        .legal-facts dd {
            margin-top: 2px;
            font-size: 14px;
        }

    .legal .legal-sec > h2 {
        align-items: flex-start;
        gap: 12px;
    }

    .legal-num {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 14px;
    }

    .legal-sec > p, .legal-sec > ul, .legal-sec > ol {
        font-size: 15px;
        line-height: 1.75;
    }

    .legal .legal-sec > h3 {
        font-size: 17px;
    }
}

[dir=rtl] .legal-toc summary {
    padding-inline: 20px 52px;
}

    [dir=rtl] .legal-toc summary::after {
        right: auto;
        left: 22px;
    }

@media print {
    .legal-toc {
        display: none;
    }

    .legal-layout {
        display: block;
    }

    .legal-intro {
        color: var(--ink);
        background: none;
        border: 1px solid var(--line);
    }

    .legal .legal-intro > h2, .legal-facts dd, .legal-facts dd a, .legal-facts dt {
        color: var(--ink);
    }

    .legal-sec {
        break-inside: avoid-page;
    }
}

/* ---- an article on a laptop (1025-1366px), measured on cleansheetgroup.com at 1221px: title 40/48, byline 15/18,
   the picture and the text in a 1068px column, text 16/27.2 with 24px under each paragraph, headings 32/38.4 */
@media (min-width: 1025px) and (max-width: 1366px) {
    .post-hero {
        min-height: 261px;
    }

    .post-section {
        padding-top: 58px;
    }

    /* the title runs across almost the whole window (about 1180px at 1221px) and fills its first line before
       wrapping, as on the old site, instead of staying in the text column */
    .post-head h1 {
        position: relative;
        left: 50%;
        width: min(1190px, calc(100vw - 30px));
        transform: translateX(-50%);
        font-size: 40px;
        line-height: 48px;
        text-wrap: wrap;
    }

    .post-byline {
        margin-top: 27px;
        font-size: 15px;
        line-height: 18px;
    }

    .post-cover-image {
        max-width: 1056px;
        margin: 25px auto 21px;
        border-radius: 15px;
    }

    .post-text {
        max-width: 1068px;
        margin-inline: auto;
        font-size: 16px;
        line-height: 27.2px;
    }

        .post-text > * + * {
            margin-top: 0;
        }

        .post-text p, .post-text ul, .post-text ol {
            margin: 0 0 24px;
        }

        .post-text h2 {
            margin: 32px 0 16px;
            font-size: 36px;
            line-height: 43.2px;
        }

        .post-text h3 {
            margin: 32px 0 16px;
            font-size: 32px;
            line-height: 38.4px;
            text-align: justify;
        }

        .post-text h4 {
            margin: 32px 0 16px;
            font-size: 24px;
            line-height: 1.2;
        }

        .post-text > :first-child {
            margin-top: 0;
        }
}

/* ---- Careers on a laptop (1025-1366px), measured on cleansheetgroup.com/career at 1221px: the band about three
   quarters of the window's height, "Why choose" closer to the openings with a 404px box, the logos 225px apart,
   the latest insights 72px under the figures with 345 x 230 pictures */
@media (min-width: 1025px) and (max-width: 1366px) {
    body:has(.openings) .hero-band {
        min-height: 76vh;
        padding-top: 114px;
    }

    .openings + #advantage {
        padding-top: 97px;
    }

    #advantage .why-head, #advantage .why-accordion {
        margin-inline-start: 12px;
    }

    #advantage .why-text {
        max-width: 653px;
        margin-top: 20px;
    }

    #advantage .why-section {
        padding-bottom: 74px;
    }

    #advantage .why-box {
        min-height: 404px;
        margin-top: 30px;
    }

    #advantage .why-box-inner {
        min-height: 404px;
        padding-block: 30px;
    }

    #advantage .why-accordion {
        width: min(554px, 100%);
    }

    #advantage .why-phone {
        width: min(573px, 50%);
    }

    #movement {
        padding-bottom: 58px;
    }

        #movement .movement-head h2 {
            max-width: 630px;
        }

        #movement .logo-marquee {
            margin-top: 30px;
        }

        #movement .logo-track li {
            width: 225px;
        }

    body:has(.openings) .insights-section {
        padding-top: 72px;
    }

        body:has(.openings) .insights-section .insights-button {
            padding: 0 19.5px;
        }

        body:has(.openings) .insights-section .post-grid {
            margin-inline: -8px;
        }

        body:has(.openings) .insights-section .post-cover {
            aspect-ratio: auto;
            height: 230px;
        }

        body:has(.openings) .insights-section .post-card h3 + p {
            margin-bottom: 10px;
        }
}

/* ---- "Explore our Resources" keeps its blue under the mouse, as on cleansheetgroup.com (only its letters move) */
.insights-button:hover, .insights-button:focus-visible, #insights .head-split .btn:hover, #insights .head-split .btn:focus-visible {
    background: #00339e;
    color: #fff;
}

/* ---- the Solutions list on a computer: the arrow follows the last word of "Verification & Integrity Solutions"
   instead of dropping to a line of its own, as on cleansheetgroup.com */
@media (min-width: 1200px) {
    .flyout-item.has-sub > .flyout-link {
        display: block;
    }

        .flyout-item.has-sub > .flyout-link .icon {
            display: inline-block;
            margin-left: 6px;
            vertical-align: -2px;
        }
}

/* ---- the Expat buttons ("Submit a Document Service Request", "FAQ About Expat Government Services") keep their blue
   under the mouse, as on cleansheetgroup.com */
.expat-btn:hover, .expat-btn:focus-visible {
    background: #00339e;
    color: #fff;
}

/* ---- Start Verification: the three boxes are lists (Select2, _Directory) that look like the old boxes - a white
   pill 47px high with a faint blue edge, 15px grey text - with a rounded list under them, the chosen line in blue.
   Without scripts the same pill is a plain list. */
.client-search-field select {
    display: block;
    width: 100%;
    height: 47px;
    padding: 6px 40px 6px 16px;
    border: .8px solid rgba(0, 51, 158, .12);
    border-radius: 100px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center no-repeat;
    font: inherit;
    font-size: 15px;
    color: #555;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.client-select {
    position: relative;
}

    .client-select .select2-container--default .select2-selection--single {
        display: flex;
        align-items: center;
        height: 47px;
        padding: 0 16px;
        border: .8px solid rgba(0, 51, 158, .12);
        border-radius: 100px;
        background: #fff;
        outline: 0;
        transition: border-color .3s;
    }

    .client-select .select2-container--default.select2-container--open .select2-selection--single,
    .client-select .select2-container--default.select2-container--focus .select2-selection--single {
        border-color: rgba(0, 51, 158, .4);
    }

    .client-select .select2-container--default .select2-selection--single .select2-selection__rendered {
        flex: 1;
        padding: 0 44px 0 0;
        font-size: 15px;
        line-height: 45px;
        color: #555;
    }

    .client-select .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #757575;
    }

    .client-select .select2-container--default .select2-selection--single .select2-selection__clear {
        margin-right: 8px;
        font-size: 18px;
        font-weight: 400;
        color: #757575;
    }

    .client-select .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 0;
        right: 16px;
        height: 45px;
    }

        .client-select .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #555 transparent transparent;
        }

    .client-select .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
        border-color: transparent transparent #555;
    }

    .client-select .select2-container--open .select2-dropdown {
        margin-top: 6px;
        overflow: hidden;
        border: .8px solid rgba(0, 51, 158, .2);
        border-radius: 15px;
        box-shadow: 0 12px 30px rgba(0, 26, 80, .12);
    }

    .client-select .select2-container--open .select2-dropdown--above {
        margin-top: -6px;
    }

    /* the pill keeps its round ends while its list is open (Select2 squares the side the list opens on) */
    .client-select .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
    .client-select .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
        border-radius: 100px;
    }

    .client-select .select2-search--dropdown {
        padding: 10px;
    }

        .client-select .select2-search--dropdown .select2-search__field {
            height: 40px;
            padding: 6px 14px;
            border: .8px solid rgba(0, 51, 158, .2);
            border-radius: 100px;
            font: inherit;
            font-size: 14px;
            outline: 0;
        }

            .client-select .select2-search--dropdown .select2-search__field:focus {
                border-color: rgba(0, 51, 158, .5);
            }

    .client-select .select2-results__option {
        padding: 10px 16px;
        font-size: 15px;
        color: #222;
    }

    .client-select .select2-container--default .select2-results__option[aria-selected=true] {
        background: rgba(0, 51, 158, .08);
        color: #00339e;
    }

    .client-select .select2-container--default .select2-results__option--highlighted[aria-selected] {
        background: #00339e;
        color: #fff !important;
    }

[dir=rtl] .client-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: auto;
    left: 16px;
}

/* ---- "Need Help?" of a landing page: the icons move all the time, as on cleansheetgroup.com/mohesr (help-icons.js
   draws them; 2.6s each, the chat's dots 1.43s one after the other). Without scripts the still mask pictures stay. */
.help-icon.has-svg::before {
    content: none;
}

.help-icon.has-svg {
    color: #00339e;
    transition: background .3s, color .3s, transform .35s cubic-bezier(.34, 1.4, .5, 1), box-shadow .35s;
}

.help-cards li:hover .help-icon.has-svg, .help-cards li:focus-within .help-icon.has-svg {
    color: #fff;
}

.csg-help-svg * {
    transform-box: fill-box;
    transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
    .csg-help-svg .csg-a-ring {
        animation: csg-pulse 2.6s ease-in-out infinite;
    }

    .csg-help-svg .csg-a-bob {
        animation: csg-bob 2.6s ease-in-out infinite;
    }

    .csg-help-svg .csg-a-dot {
        animation: csg-type 1.43s ease-in-out infinite;
    }

    .csg-help-svg .csg-a-dot--2 {
        animation-delay: .14s;
    }

    .csg-help-svg .csg-a-dot--3 {
        animation-delay: .28s;
    }

    .csg-help-svg .csg-a-trace {
        stroke-dasharray: 22;
        animation: csg-trace 2.6s ease-in-out infinite;
    }

    .csg-help-svg .csg-a-shake {
        animation: csg-shake 2.6s ease-in-out infinite;
    }

    .csg-help-svg .csg-a-wave {
        animation: csg-wave 2.6s ease-in-out infinite;
    }

    .csg-help-svg .csg-a-wave--2 {
        animation-delay: .2s;
    }
}

@keyframes csg-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: .55;
    }
}

@keyframes csg-bob {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1.4px);
    }
}

@keyframes csg-type {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: .55;
    }

    30% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

@keyframes csg-trace {
    0% {
        stroke-dashoffset: 22;
    }

    55%, 100% {
        stroke-dashoffset: 0;
    }
}

@keyframes csg-shake {
    0%, 62%, 100% {
        transform: rotate(0);
    }

    68% {
        transform: rotate(-9deg);
    }

    74% {
        transform: rotate(7deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    86% {
        transform: rotate(3deg);
    }
}

@keyframes csg-wave {
    0%, 100% {
        opacity: .25;
    }

    45% {
        opacity: 1;
    }
}

/* pointing at a card (measured on the old site): its icon box rises 7px with a little spring, and its icon moves
   faster - 1.1s instead of 2.6s (the chat's dots keep their pace) */
.help-cards li:hover .help-icon.has-svg, .help-cards li:focus-within .help-icon.has-svg {
    transform: translateY(-7px);
}

@media (prefers-reduced-motion: no-preference) {
    .help-cards li:hover .csg-help-svg .csg-a-ring, .help-cards li:hover .csg-help-svg .csg-a-bob,
    .help-cards li:hover .csg-help-svg .csg-a-trace, .help-cards li:hover .csg-help-svg .csg-a-shake,
    .help-cards li:hover .csg-help-svg .csg-a-wave {
        animation-duration: 1.1s;
    }
}

/* ---- a client profile's band on a laptop (1025-1366px), measured on cleansheetgroup.com/ece at 1221px: the band
   540px high (the old site's 497px, a little taller), the logo 84px with its top 112px down, then 10px to the heading, 10px to the text (747px wide, six
   lines of 14/23.8), 30px to the button and 10px under it */
@media (min-width: 1025px) and (max-width: 1366px) {
    .hero-band-tall:not(.hero-band-split) {
        min-height: 565px;
        /* the content is centred in the band under the header, so an organization with a shorter or longer text
           (DGA, NHRA...) keeps the same space above and below it; ECE comes out where it was */
        padding-top: 100px;
        justify-content: center;
    }

        .hero-band-tall:not(.hero-band-split) .hero-band-inner {
            gap: 0;
        }

        .hero-band-tall:not(.hero-band-split) .hero-band-logo {
            height: 84px;
            margin-bottom: 10px;
        }

    /* the organization's name stays on one line as on the old site (OACPA's is about 1000px wide); the selector
           has to beat ".hero-band:not(.expat-hero):not(.ci-hero) h1 { max-width: 747px }" */
    .hero-band.hero-band-tall:not(.hero-band-split):not(.expat-hero):not(.ci-hero) h1 {
        max-width: none;
    }

    .hero-band-tall:not(.hero-band-split) h1 + p {
        max-width: 747px;
        margin-top: 10px;
    }

    .hero-band-tall:not(.hero-band-split) .hero-band-buttons {
        margin-top: 30px;
    }

    .hero-band-tall:not(.hero-band-split) .hero-band-button {
        margin-top: 0;
    }

    .hero-band-tall:not(.hero-band-split) > .hero-band-inner > .hero-band-button {
        margin-top: 30px;
    }
}

/* ---- the text pages (Terms of Use, Applicant Privacy Policy, Refund Policy...) on a laptop (1025-1366px), measured on
   cleansheetgroup.com/terms-of-use and /applicant-privacy-policy at 1221px: the band about 403px high, the heading lower
   in it, 10px from the heading to the text, the text 615px wide */
@media (min-width: 1025px) and (max-width: 1366px) {
    body:has(.legal) .hero-band, body:has(.prose.prose-page) .hero-band {
        min-height: 403px;
        padding-top: 97px;
    }

        body:has(.legal) .hero-band h1 + p, body:has(.prose.prose-page) .hero-band h1 + p {
            max-width: 615px;
            margin-top: 10px;
        }
}

/* ---- article cards: only "Read More" is a link now (_PostCard), so the title keeps its blue as plain text */
.post-card h3 {
    color: #00339e;
}

/* ---- "Read More" keeps its blue under the mouse (only its letters move), as the site's other blue buttons */
.post-card .btn:hover, .post-card .btn:focus-visible {
    background: #00339e;
    color: #fff;
}

/* ---- "Request a Demonstration" (the blue button of the Credential and National bands) keeps its blue under the mouse;
   only its letters move */
.ci-btn-blue:hover, .ci-btn-blue:focus-visible {
    background: #00339e;
    color: #fff;
}

/* ---- "Download NOS Overview" (National intro) keeps its blue under the mouse; only its letters move */
.ns-btn:hover, .ns-btn:focus-visible {
    background: #00339e;
    color: #fff;
}

/* The third footer column ends with the social links only (the phone number is on the Contact page). */
.site-footer .footer-contact.footer-social-only { margin-top: 30px; }
