/* ── Settings (Design Tokens) ── */

:root {
    /* FDS tokens (from fds-coreui-css/dist/tokens.css) */
    --fds-size-1: 8px;
    --fds-size-2: 16px;
    --fds-size-3: 24px;
    --fds-size-4: 32px;
    --fds-size-6: 48px;
    --fds-size-8: 64px;
    --fds-radius-normal: 4px;
    --fds-radius-large: 8px;
    --fds-typography-body-default-font-family: 'Public Sans';
    --fds-typography-body-default-font-size: 16px;
    --fds-typography-body-default-line-height: 150%;
    --fds-typography-body-default-font-weight: 400;
    --fds-typography-body-large-font-size: 18px;
    --fds-typography-body-micro-font-size: 12px;
    --fds-typography-body-small-font-size: 14px;
    --fds-typography-emphasis-default-font-weight: 700;
    --fds-typography-heading-large-heading-2-font-size: 48px;
    --fds-typography-heading-small-heading-1-font-size: 42px;
    --fds-typography-heading-small-heading-2-font-size: 32px;
    --fds-color-brand-black: #000000;
    --fds-color-brand-white: #ffffff;
    --fds-color-brand-secondary-mustikka: #202647;
    --fds-color-brand-secondary-lippu: #213BF7;
    --fds-color-neutral-50: #F6F6F6;
    --fds-color-neutral-100: #cdcdd7;
    --fds-color-neutral-200: #9696aa;
    --fds-color-neutral-300: #505064;
    --fds-color-text-1: #ffffff;
    --fds-color-text-1000: #000000;

    /* Project-specific tokens (not in FDS) */
    --nap-color-primary: var(--fds-color-brand-secondary-lippu);
    --nap-color-dark-bg: var(--fds-color-brand-secondary-mustikka);
    --nap-max-width: 1200px;
    --nap-default-space: var(--fds-size-4);
    --nap-icon-square-size: 3rem;
    --nap-catalogue-card-overlap: var(--nap-default-space);

    @media (min-width: 500px) {
        --nap-default-space: var(--fds-size-6);
        --nap-icon-square-size: 4rem;
    }

    @media (min-width: 900px) {
        --nap-default-space: var(--fds-size-8);
        --nap-icon-square-size: 4rem;
    }

    @media (min-width: 1200px) {
    }

    @media (min-width: 1500px) {
    }

    @media (min-width: 2000px) {
    }

    font-size: 16px;
}

/* ── Base ── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--fds-typography-body-default-font-family), sans-serif;
    font-size: var(--fds-typography-body-default-font-size);
    line-height: var(--fds-typography-body-default-line-height);
    font-weight: var(--fds-typography-body-default-font-weight);
    color: var(--fds-color-text-1000);
}

a {
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Layout ── */

.l-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.l-header {
    z-index: 100;
    position: sticky;
    top: 0;
    container-type: inline-size;
    container-name: header;
}

.l-main {
    flex: 1;
    background-color: var(--fds-color-brand-white);
    container-type: inline-size;
    container-name: main;
}

.l-footer {
    container-type: inline-size;
    container-name: footer;
}

/* ── Modules (mobile-first, then @media) ── */

/* top-nav — matches fintraffic.fi header__top-bar */

.top-nav {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    color: var(--fds-color-text-1);
    background-color: var(--fds-color-brand-black);
    min-height: 3rem;
    position: relative;
}

.top-nav__logo {
    height: 1rem;
    width: 116px;
}

.top-nav__logo-link {
    align-self: center;
    display: inline-flex;
    margin-right: 2.4rem;
    color: var(--fds-color-text-1);
    text-decoration: none;
}

.top-nav__logo-link:hover,
.top-nav__logo-link:focus-visible {
    color: var(--fds-color-text-1);
}

.top-nav__logo-link:focus-visible {
    outline: 0.3rem solid var(--fds-color-brand-white);
    outline-offset: 0.8rem;
}

.top-nav__logo-svg {
    height: auto;
    width: 100%;
}

/* quick-links toggle (mobile) */

.top-nav__quick-links {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: auto;
}

.top-nav__toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--fds-color-text-1);
    font-weight: 400;
    font-size: var(--fds-typography-body-default-font-size);
    cursor: pointer;
    white-space: nowrap;

    .lucide-chevron-up-icon {
        display: none;
    }
    .lucide-chevron-down-icon {
        display: initial;
    }
}

.top-nav__toggle-icon {
    width: 0.9rem;
    height: 0.9rem;
}

/* link list — mobile: hidden, shown when checkbox checked */

.top-nav__list {
    display: none;
    background-color: var(--fds-color-brand-black);
    border-radius: 0 0 0.3rem 0.3rem;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 501;
    padding: 0;
}

.top-nav__toggle-input:checked + .top-nav__toggle {
    .lucide-chevron-up-icon {
        display: initial;
    }
    .lucide-chevron-down-icon {
        display: none;
    }
}

.top-nav__toggle-input:checked ~ .top-nav__list {
    display: block;
}

.top-nav__item {
    border-top: 0.1rem solid var(--fds-color-neutral-300);
}

.top-nav__link {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 400;
    text-decoration: none;
    color: var(--fds-color-text-1);
    transition: color 0.15s ease-out;
    padding: 0.8rem 1.6rem;
}

.top-nav__link:hover {
    color: var(--fds-color-neutral-100);
}

.top-nav__link:focus-visible {
    outline: 0.3rem solid var(--fds-color-brand-white);
}

@media (min-width: 1360px) {
    .top-nav {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .top-nav__quick-links {
        margin-left: 0;
    }

    .top-nav__toggle {
        display: none;
    }

    .top-nav__list {
        display: flex;
        align-items: center;
        position: static;
        background-color: transparent;
        border-radius: 0;
    }

    .top-nav__item {
        display: inline-grid;
        grid-template-rows: auto 0;
        align-items: center;
        margin-right: 2.4rem;
        border-top: none;
        padding: 0.55rem 0;
    }

    .top-nav__item:last-child {
        margin-right: 0;
    }

    .top-nav__link {
        padding: 0;
    }

    /* white triangle indicator pointing up from NAP */
    .top-nav__link--active {
        position: relative;
    }

    .top-nav__item:has(.top-nav__link--active)::after {
        content: '';
        position: relative;
        bottom: -9px;
        justify-self: center;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 9px solid var(--fds-color-brand-white);
    }
}

/* sub-nav */

.sub-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: var(--fds-color-brand-white);
    border-bottom: 1px solid var(--fds-color-neutral-100);
    min-height: var(--fds-size-6);
    padding: 0 var(--fds-size-2);
}

.sub-nav__link {
    display: flex;
    align-items: center;
    gap: var(--fds-size-1);
    text-decoration: none;
    color: var(--fds-color-text-1000);
    white-space: nowrap;
    font-size: var(--fds-typography-body-small-font-size);
    font-weight: 500;
    padding: var(--fds-size-1) 0;
    border-bottom: 2px solid transparent;
}

.sub-nav__link-nap {
    font-weight: 800;
    font-size: 1.25rem;
}

.sub-nav__icon {
    flex-shrink: 0;
}

.sub-nav__left {
    display: flex;
    align-items: center;
    gap: var(--fds-size-3);
    justify-content: space-between;
    width: 100%;
}

.sub-nav__right {
    display: none;
    margin-left: auto;
}

/* sub-nav toggle (mobile) */

.sub-nav__toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-weight: 500;
    font-size: var(--fds-typography-body-small-font-size);
    color: var(--fds-color-text-1000);
    white-space: nowrap;
}

.sub-nav__toggle-chevron {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.2s ease-out;
}

.sub-nav__catalog-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--fds-color-brand-white);
    border: 1px solid var(--fds-color-neutral-100);
    border-top: none;
    z-index: 500;
    padding: 0.4rem 0;
}

.sub-nav__catalog-links .sub-nav__link {
    padding: 0.8rem 1.6rem;
}

.sub-nav__lang-section {
    border-top: 1px solid var(--fds-color-neutral-100);
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    display: flex;
    gap: var(--fds-size-2);
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    padding-bottom: 0.4rem;
}

.sub-nav__lang-link {
    font-size: var(--fds-typography-body-small-font-size);
    font-weight: 500;
    color: var(--fds-color-text-1000);
    text-decoration: none;
}

.sub-nav__lang-link:hover {
    text-decoration: underline;
}

.sub-nav__toggle-input:checked ~ .sub-nav__toggle .sub-nav__toggle-chevron {
    transform: rotate(180deg);
}

.sub-nav__toggle-input:checked ~ .sub-nav__catalog-links {
    display: block;
}

/* lang-switcher */

.lang-switcher {
    display: flex;
    position: relative;
}

.lang-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: var(--fds-color-text-1000);
    font-weight: 500;
    font-size: var(--fds-typography-body-small-font-size);
    white-space: nowrap;
}

.lang-switcher__globe {
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
}

.lang-switcher__label {
    display: none;
}

.lang-switcher__chevron {
    width: 1rem;
    height: 1rem;
    transition: transform 0.15s ease-out;
}

.lang-switcher__list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 502;
    background-color: var(--fds-color-brand-white);
    border: 0.1rem solid var(--fds-color-neutral-200);
    border-radius: var(--fds-radius-normal);
    padding: 0;
    margin-top: 0.5rem;
    min-width: 10rem;
}

.lang-switcher__list::before {
    content: '';
    display: block;
    position: absolute;
    background-color: var(--fds-color-brand-white);
    width: 0.8rem;
    height: 0.8rem;
    top: -0.5rem;
    right: 0.8rem;
    transform: rotate(45deg);
    border-left: 0.1rem solid var(--fds-color-neutral-200);
    border-top: 0.1rem solid var(--fds-color-neutral-200);
}

.lang-switcher__input:checked ~ .lang-switcher__list {
    display: block;
}

.lang-switcher__input:checked + .lang-switcher__toggle .lang-switcher__chevron {
    transform: rotate(180deg);
}

.lang-switcher__item:not(:last-child) {
    border-bottom: 0.1rem solid var(--fds-color-neutral-200);
}

.lang-switcher__link {
    display: block;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    color: var(--fds-color-text-1000);
    white-space: nowrap;
    transition: color 0.15s ease-out;
}

.lang-switcher__link:hover {
    color: var(--fds-color-neutral-300);
}

@media (min-width: 900px) {
    .lang-switcher__label {
        display: inline;
    }
}

@media (min-width: 900px) {
    .sub-nav {
        padding: 0 var(--fds-size-3);
    }

    .sub-nav__toggle {
        display: none;
    }

    .sub-nav__left {
        justify-content: flex-start;
        width: auto;
    }

    .sub-nav__right {
        display: block;
    }

    .sub-nav__catalog-links {
        display: flex;
        align-items: center;
        position: static;
        background-color: transparent;
        border: none;
        padding: 0;
        gap: var(--fds-size-3);
    }

    .sub-nav__lang-section {
        display: none;
    }
}

/* hero */

.hero {
    background-color: var(--fds-color-brand-secondary-mustikka);
    color: var(--fds-color-text-1);
}

.hero__content {
    padding: var(--nap-default-space);
    margin: 0 auto;
}

.hero__heading {
    font-size: var(--fds-typography-heading-large-heading-2-font-size);
    font-weight: var(--fds-typography-emphasis-default-font-weight);
    line-height: 110%;
    margin-bottom: var(--fds-size-3);
}

.hero__text {
    font-size: var(--fds-typography-body-default-font-size);
    margin-bottom: var(--fds-size-2);
}

.hero__text__list {
    list-style: disc inside;
}

.hero__text--bold {
    font-weight: var(--fds-typography-emphasis-default-font-weight);
}

@media (min-width: 990px) {
    .hero {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .hero__content {
        max-width: 58%;
        margin: var(--fds-size-3) 0 var(--nap-catalogue-card-overlap) 0;
    }

    .hero__text {
    }

    .hero__media {
        display: block;
        margin-top: 0;
        width: 42%;
        background-image: url("images/image_1.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* catalogue-cards */

.catalogue-cards {
    padding: var(--fds-size-6) var(--nap-default-space);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.catalogue-card {
    background-color: var(--fds-color-brand-black);
    color: var(--fds-color-text-1);
    width: auto;
    padding: var(--nap-default-space) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 900px) {
    .catalogue-cards {
        justify-content: center;
        flex-direction: row;
        padding: 0 var(--nap-default-space) var(--fds-size-8) var(--nap-default-space);
        margin-top: calc((-1) * var(--nap-catalogue-card-overlap));
        gap: 5rem;
    }
    .catalogue-card {
        width: min(45rem, calc(50vw - 7.5rem));
    }
}

.catalogue-card__title {
    font-size: var(--fds-typography-heading-small-heading-2-font-size);
    margin: 0 var(--fds-size-2);
    line-height: 110%;
    font-weight: 700;
    overflow-wrap: break-word;
    hyphens: manual;
}

.catalogue-card__subtitle {
    font-size: var(--fds-typography-body-large-font-size);
    font-weight: var(--fds-typography-emphasis-default-font-weight);
    margin-top: 0.5rem;
}

.catalogue-card__divider {
    width: 15rem;
    height: 3px;
    background-color: blue;
    color: blue;
    border: none;
    margin: 2.25rem 0;
}

.catalogue-card__icons {
    display: flex;
    gap: var(--fds-size-4);
    margin-bottom: var(--fds-size-3);
}

.catalogue-card__icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fds-size-1);
}

.catalogue-card__icon-square {
    width: var(--nap-icon-square-size);
    height: var(--nap-icon-square-size);
    background-color: var(--nap-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fds-color-text-1);
}

.catalogue-card__icon-label {
    font-size: var(--fds-typography-body-small-font-size);
}

.catalogue-card__description {
    margin: 0 0.5rem var(--fds-size-3) 0.5rem;
    font-size: var(--fds-typography-body-small-font-size);
    line-height: 1.6;
    max-width: 40ch;
}

.catalogue-card__cta {
    display: inline-block;
    background-color: var(--fds-color-brand-white);
    border-radius: var(--fds-radius-large);
    color: var(--fds-color-text-1000);
    text-decoration: none;
    font-weight: var(--fds-typography-body-default-font-weight);
    padding: var(--fds-size-1) var(--fds-size-3);
    font-size: var(--fds-typography-body-small-font-size);
    margin-top: auto;
}

/* info-section */

.info-section {
    padding: 0 var(--nap-default-space) var(--fds-size-8) var(--nap-default-space);
}

.info-section__inner {
    padding: var(--nap-default-space);
    background-color: var(--nap-color-primary);
    color: var(--fds-color-text-1);
    margin: 0 auto;
}

.info-section__icon-wrap {
    margin-bottom: var(--fds-size-2);
}

.info-section__heading {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: var(--fds-size-3);
}

.info-section__heading-icon {
    display: none;
}

.info-section__heading-text {
    font-size: var(--fds-typography-heading-small-heading-1-font-size);
    line-height: 110%;
    font-weight: 700;
}

@media (min-width: 900px) {
    .info-section__inner {
        padding: 3.75rem 3.25rem;
    }
    .info-section__heading-icon {
        display: block;
        width: 4rem;
        height: 4rem;
    }
}

.info-section__text {
    margin-bottom: var(--fds-size-2);
    line-height: 1.7;
}

/* audience-cards */

.audience-cards {
    padding: 0 var(--nap-default-space);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: var(--fds-color-neutral-50);
}

.audience-cards > .audience-card:first-child {
    padding-top: 0;
}

.audience-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--nap-default-space) 0;
}

.audience-card__overlay {
    padding: var(--fds-size-3) var(--fds-size-2);
    background-color: white;
    color: var(--fds-color-text-1000);
    border-bottom: 3px solid blue;
}

.audience-card__bg {
    max-height: 13rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 500px) {
    .audience-cards {
        padding: var(--fds-size-6) var(--nap-default-space);
        gap: 2rem;
    }

    .audience-cards > .audience-card:first-child {
        padding-top: var(--nap-default-space);
    }

    .audience-card {
        height: 20rem;
        position: relative;
    }

    .audience-card__overlay {
        padding: var(--fds-size-4) var(--fds-size-3);
        background-color: white;
        color: var(--fds-color-text-1000);
        width: 60vw;
        margin-left: -1.5rem;
        border-left: 3px solid blue;
        border-bottom: none;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
        z-index: 10;
    }
    .audience-card__bg {
        max-height: none;
        position: absolute;
        inset: 0;
        z-index: 5;
    }
}

@media (min-width: 900px) {
    .audience-cards {
        padding: var(--fds-size-8) var(--nap-default-space);
        flex-direction: row;
        gap: 5rem;
        justify-content: center;
    }
    .audience-card__overlay {
        padding: var(--fds-size-4);
        width: 20vw;
    }
    .audience-card {
        height: 40rem;
        width: min(45rem, calc(50vw - 7.5rem));
    }
}

.audience-card__heading {
    font-size: 1.25rem;
    font-weight: var(--fds-typography-emphasis-default-font-weight);
    margin-bottom: var(--fds-size-1);
    overflow-wrap: break-word;
    hyphens: manual;
}

.audience-card__text {
    font-size: var(--fds-typography-body-small-font-size);
    margin-bottom: var(--fds-size-2);
    line-height: 1.6;
}

.audience-card__cta {
    display: inline-block;
    text-decoration: none;
    color: var(--fds-color-text-1);
    background-color: var(--fds-color-brand-black);
    font-weight: var(--fds-typography-body-default-font-weight);
    font-size: var(--fds-typography-body-small-font-size);
    padding: var(--fds-size-1) var(--fds-size-2);
    border: 2px solid var(--fds-color-text-1);
    border-radius: var(--fds-radius-large);
}

/* timeline */

.timeline {
    padding: var(--fds-size-8) var(--nap-default-space);
    margin: 0 auto;
}

.timeline__heading {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: var(--fds-typography-emphasis-default-font-weight);
    margin-bottom: var(--fds-size-2);
}

.timeline__subtext {
    margin-bottom: var(--fds-size-6);
}

.timeline__steps {
    display: flex;
    flex-direction: column;
    gap: var(--fds-size-4);
    position: relative;
}

.timeline__step {
    display: flex;
    flex-direction: row;
    gap: var(--fds-size-2);
    position: relative;
}

.timeline__dot {
    width: var(--fds-size-3);
    height: var(--fds-size-3);
    border-radius: 50%;
    background-color: var(--nap-color-primary);
    flex-shrink: 0;
    margin-bottom: var(--fds-size-1);
    z-index: 10;
}

.timeline__badge {
    display: inline-block;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    align-self: flex-start;
    width: 120px;
    background-color: var(--nap-color-primary);
    color: var(--fds-color-text-1);
    font-size: var(--fds-typography-body-micro-font-size);
    font-weight: var(--fds-typography-body-default-font-weight);
}

.timeline__step-description {
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline__step-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(0px - var(--fds-size-2) - var(--fds-size-3) / 2 - 1px);
    bottom: calc(0px - var(--fds-size-4));
    width: 2px;
    background-color: var(--fds-color-neutral-100);
}

.timeline__step-title {
    font-size: 1.125rem;
    font-weight: var(--fds-typography-emphasis-default-font-weight);
}

.timeline__step-text {
    font-size: var(--fds-typography-body-small-font-size);
    line-height: 1.6;
    max-width: 40ch;
}

@media (min-width: 900px) {
    .timeline__step-description::before {
        display: none;
    }
    .timeline__steps {
        flex-direction: row;
        justify-content: space-between;
    }
    .timeline__steps::before {
        content: '';
        position: absolute;
        top: calc(var(--fds-size-3) / 2 - 1px);
        left: 0;
        right: 0;
        height: 2px;
        background-color: var(--fds-color-neutral-100);
    }

    .timeline__step {
        flex-direction: column;
    }

    .timeline__dot {
        order: 1;
    }
    .timeline__badge {
        order: 2;
        font-size: var(--fds-typography-body-small-font-size);
        padding: 1.5rem clamp(2rem, 2.5rem, 4rem);
        width: auto;
    }
    .timeline__step-description {
        order: 3;
    }
}

/* newsletter */

.newsletter {
    background-color: var(--fds-color-neutral-200);
    color: var(--fds-color-text-1000);
    padding: var(--fds-size-8) var(--fds-size-2);
    text-align: center;
}

.newsletter__heading {
    font-size: 1.75rem;
    font-weight: var(--fds-typography-emphasis-default-font-weight);
    margin-bottom: var(--fds-size-3);
}

.newsletter__text {
    margin-bottom: var(--fds-size-2);
}

.newsletter__cta {
    display: inline-block;
    text-decoration: none;
    color: var(--fds-color-text-1);
    font-weight: 100;
    background-color: var(--fds-color-brand-black);
    padding: var(--fds-size-1) var(--fds-size-3);
    border-radius: var(--fds-radius-large);
}

.newsletter__cta-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    display: inline-block;
}

/* site-footer */

.site-footer {
    width: 100%;
    background-color: var(--fds-color-brand-black);
    color: var(--fds-color-text-1);
    padding: var(--fds-size-2) 0;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    padding: 0 var(--fds-size-2);
}

.site-footer__links-and-tisgrade {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.site-footer__branding {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer__branding-link {
    text-decoration: none;
    color: var(--fds-color-text-1);
}

.site-footer__logo-svg {
    height: 18px;
}

.site-footer__divider {
    border-top: 1px solid var(--fds-color-neutral-200);
    flex: 1 1 100%;
    margin: var(--fds-size-2) 0;
}

.site-footer__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: var(--fds-size-2);
}

.site-footer__tisgrade img {
    width: 355px;
    max-width: 355px;
    height: auto;
}

@media (min-width: 900px) {
    .site-footer__inner {
        padding: 0 var(--fds-size-4);
    }

    .site-footer__links-and-tisgrade {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
    }

    .site-footer__links {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 1.5rem;
    }

    .site-footer__nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1.5rem;
        margin-bottom: var(--fds-size-3);
    }
}

/* footer-menu */

.footer-menu {
    line-height: 1.6rem;
}

.footer-menu__list {
    margin-bottom: var(--fds-size-2);
    margin-right: var(--fds-size-3);
}

.footer-menu__link {
    text-decoration: none;
    white-space: nowrap;
    color: var(--fds-color-text-1);
}

/* social-links */

.social-links {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--fds-size-2);
    gap: var(--fds-size-2);
}

.social-links__item {
    text-decoration: none;
    color: var(--fds-color-text-1);
}

/* ── State ── */

/* Reserved for dynamic states (e.g. .is-hidden, .is-active) */

/* ── Utilities ── */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
