﻿:root {
    --dm-black: #1E1E1E;
    --dm-dark-grey: #828282;
    --dm-medium-grey: #D1D1D1;
    --dm-light-grey: #EDEDED;
    --dm-invisible-grey: #F9F9F9;
    --dm-white: #FFFFFF;
    --dm-blue: #284B8F;
    --dm-blue-hover: #1F3F7A;
    --container: 1360px;
    --space-xs: .5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-xxl: 10rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: var(--dm-black);
    background: var(--dm-white);
}

    body.menu-open {
        overflow: hidden;
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

p {
    margin-top: 0;
    margin-bottom: 1.4rem;
}

.container {
    width: min(100% - 4rem, var(--container));
    margin-inline: auto;
}

/* Header */

.site-header {
    position: relative;
    z-index: 50;
    background: var(--dm-white);
    border-bottom: 1px solid var(--dm-light-grey);
}

.topbar {
    background: var(--dm-invisible-grey);
    border-bottom: 1px solid var(--dm-light-grey);
}

.topbar-inner {
    min-height: 56px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.6rem;
}

.topbar-link {
    font-size: 13px;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.icon {
    display: inline-flex;
    width: 1.15em;
    justify-content: center;
    font-size: 1.1em;
    line-height: 1;
    color: var(--dm-black);
}

.icon-link:hover {
    text-decoration: none;
}

.icon-link .icon {
    text-decoration: none;
}

.icon-link:hover .link-text {
    text-decoration: underline;
}

.mainbar {
    background: var(--dm-white);
}

.mainbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

    .brand:hover {
        text-decoration: none;
    }

.brand-logo-mobile {
    display: block;
    width: auto;
    height: 28px;
    max-width: 180px;
}

.brand-logo {
    display: block;
    width: clamp(150px, 15vw, 230px);
    height: auto;
    max-height: 42px;
}

@media (max-width: 1020px) {
    .brand-logo {
        width: clamp(130px, 42vw, 190px);
        max-height: 30px;
    }
}

@media (max-width: 600px) {
    .brand-logo {
        width: clamp(120px, 48vw, 170px);
        max-height: 32px;
    }
}

.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 2.8rem;
    align-self: stretch;
}

.nav-item {
    display: flex;
    align-items: center;
}

    .nav-item > a {
        display: flex;
        align-items: center;
        position: relative;
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
    }

        .nav-item > a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -27px;
            height: 2px;
            background: var(--dm-blue);
            opacity: 0;
            transform: scaleX(.4);
            transition: opacity .15s ease, transform .15s ease;
        }

.mainbar:hover .nav-item > a::after,
.mainbar:focus-within .nav-item > a::after {
    opacity: 0;
}

.nav-item:hover > a::after,
.nav-item:focus-within > a::after {
    opacity: 1;
    transform: scaleX(1);
}

html.no-hover .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 131px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    background: var(--dm-light-grey);
    border-top: 1px solid var(--dm-light-grey);
    border-bottom: 1px solid var(--dm-medium-grey);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
    transition: opacity .10s ease 0s, transform .10s ease 0s, visibility 0s linear .10s;
}

.mainbar:hover .mega-menu,
.mainbar:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease .35s, transform .25s ease .35s, visibility 0s linear .35s;
}

.mega-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.2fr 1.2fr 0.8fr;
    gap: 0;
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
}

.mega-column {
    padding: 0 2rem;
    border-left: 1px solid var(--dm-medium-grey);
}

    .mega-column:first-child {
        border-left: 0;
    }

    .mega-column a {
        display: block;
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: .55rem;
    }

    .mega-column .mega-title {
        font-size: 17px;
        font-weight: 500;
        margin-bottom: 1.2rem;
    }

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 1rem;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: -0.03em;
    border: 1px solid var(--dm-black);
    white-space: nowrap;
}

    .button:hover {
        text-decoration: none;
    }

.button-primary {
    background: var(--dm-blue);
    border-color: var(--dm-blue);
    color: var(--dm-white);
}

    .button-primary:hover {
        background: var(--dm-blue-hover);
        border-color: var(--dm-blue-hover);
    }

.button-secondary {
    background: transparent;
    border-color: var(--dm-medium-grey);
    color: var(--dm-black);
}

    .button-secondary:hover {
        border-color: var(--dm-black);
    }

/* Mobile menu */

.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 5px auto;
        background: var(--dm-black);
    }

.mobile-menu {
    display: none;
}




/* Layout */

.site-main {
    background: var(--dm-white);
}

.section {
    padding: var(--space-xl) 0;
}

.section-white {
    background: var(--dm-white);
}
.section-muted {
    background: var(--dm-invisible-grey);
}

.section-alt {
}

    .section-alt:nth-of-type(odd) {
        background: var(--dm-invisible-grey);
    }

    .section-alt:nth-of-type(even) {
        background: white;
    }



.content-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
}

.section-heading {
    grid-column: span 4;
}

.section-content {
    grid-column: 6 / span 7;
}

.eyebrow {
    font-size: 13px;
    color: var(--dm-dark-grey);
    margin-bottom: var(--space-sm);
}

/* Typography */

h1,
.h1 {
    margin: 0 0 var(--space-md);
    font-size: clamp(40px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 500;
}

h2,
.h2 {
    margin: 0 0 var(--space-md);
    font-size: clamp(32px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 500;
}

h3,
.h3 {
    margin: 0 0 var(--space-sm);
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 400;
}

h4,
.h4 {
    margin: 0 0 var(--space-sm);
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 400;
}

.ingress {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.03em;
}

.text-muted {
    color: var(--dm-dark-grey);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: var(--space-md);
}

.image-block,
.image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--dm-light-grey);
}

    .image-block img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Old simple feature layout, kept for reuse */

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature {
    background: transparent;
    padding: 0;
}

    .feature + .feature {
        border-left: 1px solid var(--dm-light-grey);
        padding-left: var(--space-md);
    }

.link-arrow::after {
    content: " →";
}

/* About/index feature cards */

.feature-intro {
    margin-bottom: 4.5rem;
}

.feature-card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    min-height: 100%;
    padding: 2rem;
    border: 1px solid var(--dm-light-grey);
    border-radius: 6px;
    background: var(--dm-white);
    display: flex;
    flex-direction: column;
}

.feature-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: .9rem;
    margin-bottom: 1rem;
}

    .feature-card-heading h3 {
        margin: 0;
    }

.feature-card-heading-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    color: black; /* var(--dm-blue); */
    margin-top:-14px;
}

.section-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    margin-left:50%;
    border-radius: 50%;
    background: var(--dm-invisible-grey);
    color: var(--dm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 2rem;
}

.feature-card .link-arrow {
    margin-top: auto;
    color: var(--dm-blue);
    font-weight: 500;
}

/* Partner/value list */

.partner-list {
    display: grid;
    gap: 0;
}

.partner-list-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--dm-light-grey);
}

    .partner-list-item:first-child {
        padding-top: 0;
    }

    .partner-list-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }




/* Responsive */

@media (max-width: 1100px) {
    .feature-card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1020px) {
    .topbar,
    .desktop-nav {
        display: none;
    }

    .container {
        width: min(100% - 2rem, var(--container));
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 90;
        background: var(--dm-white);
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
    }

    .mainbar {
        position: static;
        border-bottom: 1px solid var(--dm-light-grey);
    }

    .mainbar-inner {
        min-height: 58px;
    }

    .brand {
        font-size: 16px;
    }

    .brand-logo {
        max-height: 30px;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: block;
        background: rgba(30, 30, 30, .18);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease;
    }

        .mobile-menu.is-open {
            opacity: 1;
            pointer-events: auto;
        }

    .mobile-menu-panel {
        width: min(100%, 360px);
        min-height: 100%;
        margin-left: auto;
        background: var(--dm-white);
        box-shadow: -20px 0 50px rgba(0, 0, 0, .12);
        transform: translateX(100%);
        transition: transform .18s ease;
        padding-bottom: 2rem;
    }

    .mobile-menu.is-open .mobile-menu-panel {
        transform: translateX(0);
    }

    .mobile-menu-header {
        min-height: 64px;
        padding: 0 1.25rem;
        border-bottom: 1px solid var(--dm-light-grey);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-close {
        border: 0;
        background: transparent;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        color: var(--dm-black);
    }

    .mobile-quicklinks {
        padding: 1.25rem;
        border-bottom: 1px solid var(--dm-light-grey);
        display: grid;
        gap: 1rem;
        font-size: 14px;
    }

        .mobile-quicklinks .button {
            width: fit-content;
            margin-top: .25rem;
        }

    .mobile-nav {
        padding: 1rem 1.25rem;
    }

        .mobile-nav details {
            border-bottom: 1px solid var(--dm-light-grey);
            padding: .65rem 0;
        }

        .mobile-nav summary {
            list-style: none;
            cursor: pointer;
            font-size: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

            .mobile-nav summary::-webkit-details-marker {
                display: none;
            }

            .mobile-nav summary::after {
                content: "⌄";
                font-size: 18px;
                transition: transform .15s ease;
            }

        .mobile-nav details[open] summary::after {
            transform: rotate(180deg);
        }

        .mobile-nav details a {
            display: block;
            padding: .4rem 0 .4rem 1rem;
            font-size: 14px;
            color: var(--dm-black);
        }

            .mobile-nav details a:first-of-type {
                margin-top: .75rem;
            }

    .mobile-social {
        display: flex;
        gap: 1.4rem;
        padding: 1.4rem 1.25rem 0;
        font-size: 18px;
        align-items: center;
    }

    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

        .hero-text,
        .hero-media,
        .section-heading,
        .section-content,
        .footer-grid > div:first-child,
        .footer-links {
            grid-column: auto;
        }

        .footer-grid > div:first-child {
            text-align: center;
        }

    .footer-brand {
        display: inline-block;
        margin-bottom: .5rem;
    }

    .hero {
        padding: var(--space-xl) 0;
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature + .feature {
        border-left: 0;
        border-top: 1px solid var(--dm-light-grey);
        padding-left: 0;
        padding-top: var(--space-md);
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 1.5rem;
    }

        .footer-links > div:first-child {
            align-items: flex-start;
        }

        .footer-links > div:last-child {
            align-items: flex-end;
            text-align: right;
        }
}

@media (max-width: 700px) {
    .feature-card-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
        --space-xxl: 6rem;
    }

    h1,
    .h1 {
        font-size: 40px;
    }

    h2,
    .h2 {
        font-size: 32px;
    }

    h3,
    .h3 {
        font-size: 24px;
    }

    .ingress {
        font-size: 17px;
    }

    .mobile-menu-panel {
        width: 100%;
    }
}



.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 36px;
}

    .contact-card h2 {
        margin-bottom: 32px;
    }

.contact-block + .contact-block {
    margin-top: 28px;
}

.contact-block h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
}

textarea.form-control {
    resize: vertical;
}

.form-actions {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
}




.form-success {
    height: 100%;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
    align-content: start;
    background: var(--dm-invisible-grey);
}

.form-success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dm-blue);
    color: var(--dm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.form-success h3 {
    margin-bottom: .75rem;
}

.form-success p:last-of-type {
    margin-bottom: 1.5rem;
}


.validation-summary {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid #e8b4b4;
    background: #fff5f5;
    border-radius: 10px;
    color: #9f1239;
}

    .validation-summary ul {
        margin: 10px 0 0 18px;
    }

.field-validation-error {
    display: block;
    margin-top: 6px;
    font-size: 0.875rem;
    color: #c62828;
}

.form-control.input-validation-error {
    border-color: #c62828;
    background-color: #fffafa;
}


.svg-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    color: currentColor;
}

.svg-icon-lg {
    width: 32px;
    height: 32px;
}

.svg-icon-card {
    width: 30px;
    height: 30px;
    color: var(--dm-blue);
}


.icon .svg-icon {
    width: 1.1em;
    height: 1.1em;
}

.feature-card {
    position: relative;
}

.feature-card.current {
    border-color: var(--dm-blue);
    background: #f5f8ff;
}

    .feature-card.current h3 {
        color: var(--dm-blue);
    }

    .feature-card.current .link-arrow {
        display: none;
    }

    .feature-card.current .current-icon {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 26px;
        height: 26px;
        color: var(--dm-blue);
    }


.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.tag {
    padding: .55rem 1rem;
    border-radius: 999px;
    background: var(--dm-invisible-grey);
    border: 1px solid var(--dm-light-grey);
    font-size: 14px;
}



.solution-chip {
    display: inline-flex;
    align-items: center;
    padding: .75rem 1.2rem;
    border: 1px solid var(--dm-light-grey);
    border-radius: 999px;
    background: #fff;
    transition: .2s;
}

    .solution-chip:hover {
        background: var(--dm-blue);
        color: #fff;
        text-decoration:none;
    }

.solution-chip {
    gap: .45rem;
}

    .solution-chip svg {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }



.related-link-groups {
    display: grid;
    gap: 3rem;
}

.related-link-group h3 {
    margin-bottom: 1.5rem;
}

.related-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem;
    border: 1px solid var(--dm-light-grey);
    border-radius: 10px;
    background: var(--dm-white);
    text-decoration: none;
}

    .related-card:hover {
        text-decoration: none;
        border-color: var(--dm-medium-grey);
    }

.related-card-title {
    margin-bottom: .75rem;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
}

.related-card-logoAsTitle {
    margin-bottom: .75rem;
    max-height:75px;
}

.related-card-text {
    margin-bottom: 1.5rem;
    color: var(--dm-black);
}

.related-card .link-arrow {
    margin-top: auto;
    color: var(--dm-blue);
    font-weight: 500;
}

@media (max-width: 900px) {
    .related-card-list {
        grid-template-columns: 1fr;
    }
}



.content-list {
    margin: 0 0 1.4rem;
    padding-left: 1.2rem;
}

    .content-list li {
        margin-bottom: .45rem;
    }









/* Highlight box */

.highlight-section {
    padding: 5rem 0;
}

.highlight-box {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--dm-light-grey);
    border-left: 5px solid var(--dm-blue);
    box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 28px rgba(0,0,0,.05);
    border-radius: 14px;
    max-width: 58rem;
    margin-left: auto;
}

.highlight-content h3 {
    margin: 0 0 .75rem;
}

.highlight-content p {
    margin-bottom: 1.5rem;
}

.highlight-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .highlight-list li {
        display: flex;
        align-items: flex-start;
        gap: .75rem;
        margin-bottom: .9rem;
    }

        .highlight-list li:last-child {
            margin-bottom: 0;
        }

    .highlight-list svg {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        margin-top: 2px;
        color: var(--dm-blue);
        fill: currentColor;
    }




/* CTA */

.cta-section {
    background: var(--dm-white);
    border-top: 1px solid var(--dm-black);
    border-bottom: 1px solid var(--dm-light-grey);
}





/* hero layout */

.hero {
    padding: 0 0 var(--space-xxl);
    background: var(--dm-invisible-grey);
}

    .hero .content-grid {
        align-items: stretch;
    }

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 5rem;
    grid-column: span 5;
}

.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.hero-media {
    align-self: start;
    max-width: 640px;
    justify-self: end;
    width: 100%;
    grid-column: span 7;
}

.hero .image-block {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--dm-white);
}

    .hero .image-block img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-block {
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

/* Dark footer */

.site-footer {
    background: #111;
    color: rgba(255, 255, 255, .82);
}

    .site-footer a {
        color: rgba(255, 255, 255, .82);
    }

        .site-footer a:hover {
            color: #fff;
        }

    .site-footer .footer-brand {
        color: #fff;
    }

    .site-footer .footer-links a {
        color: rgba(255, 255, 255, .82);
    }

/* Responsive adjustment */

@media (max-width: 1020px) {
    .hero {
        padding: var(--space-xl) 0;
    }

        .hero .content-grid {
            gap: var(--space-md);
        }

    .hero-text {
        padding-top: 0;
        justify-content: flex-start;
    }

    .hero-media {
        max-width: none;
        justify-self: stretch;
    }

    .hero .actions {
        margin-top: var(--space-md);
        padding-top: 0;
    }
}





/* Story pages */
.story-container {
    max-width: 920px;
}

.story-block h2 {
    margin-bottom: var(--space-md);
}

.story-block p {
    font-size: 17px;
    line-height: 1.65;
}

.story-block p.ingress {
    width:100%!important;
    max-width:100%!important;
}

.story-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--dm-light-grey);
    border: 1px solid var(--dm-light-grey);
}

    .story-facts > div {
        background: var(--dm-white);
        padding: 1.5rem;
    }

.story-fact-label {
    display: block;
    margin-bottom: .5rem;
    font-size: 13px;
    color: var(--dm-dark-grey);
}

.story-fact-value {
    display: block;
    font-size: 17px;
    font-weight: 500;
}

.story-quote {
    max-width: 980px;
    margin: 0 auto;
    padding-left: 2rem;
    border-left: 5px solid var(--dm-blue);
    border-radius: 5px;
}

    .story-quote p {
        font-size: clamp(28px, 3vw, 42px);
        line-height: 1.15;
        letter-spacing: -0.05em;
        margin-bottom: 1.5rem;
    }

    .story-quote footer {
        color: var(--dm-dark-grey);
    }

.story-timeline {
    display: grid;
    gap: 0;
}

.story-timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--dm-light-grey);
}

    .story-timeline-item:first-child {
        padding-top: 0;
    }

    .story-timeline-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.story-timeline-year {
    font-size: 15px;
    font-weight: 500;
    color: var(--dm-blue);
}

.video-frame {
    background: var(--dm-black);
    overflow: hidden;
}

.story-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--dm-black);
}

.story-process {
    display: grid;
    gap: .75rem;
    counter-reset: process;
}

    .story-process > div {
        position: relative;
        padding: 1rem 1.25rem 1rem 3.25rem;
        background: var(--dm-white);
        border: 1px solid var(--dm-light-grey);
        border-radius: 10px;
    }

        .story-process > div::before {
            counter-increment: process;
            content: counter(process);
            position: absolute;
            left: 1rem;
            top: 50%;
            width: 1.5rem;
            height: 1.5rem;
            transform: translateY(-50%);
            border-radius: 50%;
            background: var(--dm-blue);
            color: var(--dm-white);
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.solution-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: var(--dm-white);
    border: 1px solid var(--dm-light-grey);
    font-size: 14px;
    color: var(--dm-black);
    text-decoration: none;
    transition: all .2s ease;
}

    .solution-chip:hover {
        background: var(--dm-blue);
        border-color: var(--dm-blue);
        color: var(--dm-white);
        text-decoration: none;
    }

.story-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

    .story-gallery figure {
        margin: 0;
    }

    .story-gallery img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .story-gallery figcaption {
        margin-top: .75rem;
        font-size: 14px;
        color: var(--dm-dark-grey);
    }

@media (max-width: 900px) {
    .story-facts,
    .story-gallery {
        grid-template-columns: 1fr;
    }

    .story-timeline-item {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .story-quote {
        padding-left: 1.5rem;
    }
}


.story-video-library {
    display: grid;
    gap: 2rem;
}

.story-video-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid var(--dm-light-grey);
    border-radius: 14px;
    background: var(--dm-white);
}

.story-video-card-content h3 {
    margin-bottom: .75rem;
}

.story-video-card-content p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .story-video-card {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }
}

.story-video-card-content h3 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.03em;
}




/* Breadcrumb */

.breadcrumb {
    background: var(--dm-white);
    border-bottom: 1px solid var(--dm-light-grey);
    font-size: 13px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    list-style: none;
    margin: 0;
    padding: .85rem 0;
}

    .breadcrumb-list li {
        display: inline-flex;
        align-items: center;
        color: var(--dm-dark-grey);
    }

        .breadcrumb-list li + li::before {
            content: "/";
            margin-right: .45rem;
            color: var(--dm-medium-grey);
        }

    .breadcrumb-list a {
        color: var(--dm-dark-grey);
        text-decoration: none;
    }

        .breadcrumb-list a:hover {
            color: var(--dm-blue);
            text-decoration: underline;
        }

    .breadcrumb-list [aria-current="page"] {
        color: var(--dm-black);
    }






/* Legal hero - hero med ikon istället för bild */

.legal-hero {
    padding: 7rem 0 6rem;
    background: var(--dm-invisible-grey);
    text-align: center;
}

.legal-hero-content {
    max-width: 760px;
    margin-inline: auto;
}

.legal-hero-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--dm-white);
    border: 1px solid var(--dm-light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .legal-hero-icon svg {
        width: 34px;
        height: 34px;
        color: var(--dm-blue);
    }

.legal-hero .ingress {
    margin-inline: auto;
}

.legal-hero .actions {
    justify-content: center;
}
