/* Homepage: Scandinavian SaaS, palette locked to brand blue #004bc5. */

.fp-body {
    background: #eef3fb;
    overflow-x: hidden;
}

.fp {
    --fp-blue: #004bc5;
    --fp-blue-dark: #003087;
    --fp-navy: #0b2554;
    --fp-sky: #eef3fb;
    --fp-wash: #e6eef9;
    --fp-snow: #ffffff;
    --fp-ink: #0b2554;
    --fp-mist: #586a86;
    --fp-line: #d4deee;
    --fp-ok: #004bc5;
    --fp-due: #8a4568;
    font-family: "Hanken Grotesk", "Quicksand", sans-serif;
    color: var(--fp-ink);
    background: var(--fp-sky);
}

.fp .rs-logo {
    font-family: "Quicksand", sans-serif;
}

.fp .public-navbar {
    background: rgba(238, 243, 251, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 0;
    padding: 1.25rem 0;
}

.fp .public-navbar .nav-link {
    font-family: inherit;
    font-weight: 500;
    color: var(--fp-ink);
}

.fp .public-navbar .nav-link:hover {
    color: var(--fp-blue);
}

.fp .public-nav-cta,
.fp .public-navbar .btn-primary {
    border-radius: 14px;
    font-family: inherit;
}

.fp-shell {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.fp h1,
.fp h2 {
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--fp-ink);
    text-wrap: balance;
}

.fp h1 {
    font-size: clamp(2.35rem, 5.6vw, 3.9rem);
    line-height: 1.05;
    margin: 0 0 1.5rem;
}

.fp h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.18;
    margin: 0 0 1.25rem;
    scroll-margin-top: 6rem;
}

.fp-lead {
    max-width: 34em;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--fp-mist);
    margin: 0 0 1.75rem;
}

.fp-hero {
    position: relative;
    overflow-x: clip;
    padding: 2rem 0 3.5rem;
}

.fp-hero::before {
    content: "";
    position: absolute;
    width: 44rem;
    height: 44rem;
    right: -10rem;
    top: -8rem;
    background: radial-gradient(circle at center, rgba(0, 75, 197, 0.08) 0%, transparent 68%);
    pointer-events: none;
}

.fp-hero__grid {
    position: relative;
    display: grid;
    gap: 3rem;
}

.fp-hero__copy p {
    max-width: 32em;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--fp-mist);
    margin: 0;
}

.fp-hero__copy p.fp-hero__note {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    max-width: 30em;
}

.fp-offer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 1rem;
    margin: 0 0 1.35rem;
    max-width: 38em;
}

.fp-offer__code {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--fp-snow);
    border: 1px solid var(--fp-line);
    border-radius: 999px;
    padding: 0.2rem 0.3rem 0.2rem 0.8rem;
}

.fp-offer__code code {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--fp-blue);
}

.fp-offer__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: var(--fp-wash);
    color: var(--fp-blue);
    cursor: pointer;
}

.fp-offer__copy:hover,
.fp-offer__copy.is-copied {
    background: var(--fp-blue);
    color: #fff;
}

.fp-offer__text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--fp-ink);
    line-height: 1.35;
}

.fp-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 0;
    line-height: 1;
}

.fp-btn--solid {
    background: var(--fp-blue);
    color: #fff;
}

.fp-btn--solid:hover {
    background: var(--fp-blue-dark);
    color: #fff;
}

.fp-btn--quiet {
    background: var(--fp-snow);
    color: var(--fp-ink);
    box-shadow: inset 0 0 0 1.5px var(--fp-line);
}

.fp-btn--quiet:hover {
    background: var(--fp-wash);
    color: var(--fp-ink);
}

.fp-btn--on-dark {
    background: #fff;
    color: var(--fp-blue);
}

.fp-btn--on-dark:hover {
    background: var(--fp-wash);
    color: var(--fp-blue-dark);
}

.fp-btn--ghost {
    background: transparent;
    color: #e8eef8;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.32);
}

.fp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.fp-btn:focus-visible,
.fp-seg__btn:focus-visible,
.fp-textlink:focus-visible {
    outline: 2px solid var(--fp-blue);
    outline-offset: 3px;
}

.fp-hero__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
}

.fp-seg {
    display: inline-flex;
    padding: 4px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--fp-line);
    border-radius: 999px;
}

.fp-seg__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--fp-mist);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
}

.fp-seg__btn.is-on {
    background: var(--fp-blue);
    color: #fff;
}

.fp-phone {
    width: min(19.25rem, 100%);
    background: var(--fp-navy);
    border-radius: 2rem;
    padding: 0.75rem 0.7rem 1.05rem;
    box-shadow: 0 28px 56px rgba(0, 75, 197, 0.14);
}

.fp-phone__chrome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9eb0cc;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.9rem 0.6rem;
}

.fp-phone__marks {
    width: 2.1rem;
    height: 0.35rem;
    border-radius: 999px;
    background: #9eb0cc;
    opacity: 0.7;
}

.fp-screen {
    background: #f5f8fc;
    border-radius: 1.35rem;
    padding: 1.25rem 1.15rem 1.35rem;
    min-height: 24.5rem;
    color: var(--fp-ink);
}

.fp-screen[hidden] {
    display: none;
}

.fp-screen__group {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.fp-screen__label {
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    color: var(--fp-mist);
}

.fp-screen__sum {
    margin: 0.2rem 0 0;
    font-size: 2.35rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.fp-screen__sum.is-credit {
    color: var(--fp-ok);
}

.fp-screen__hint {
    margin: 0.45rem 0 1.25rem;
    font-size: 0.82rem;
    color: var(--fp-mist);
    line-height: 1.45;
}

.fp-screen__event {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.4rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.fp-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fp-rows li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--fp-line);
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}

.fp-rows .is-ok,
.fp-screen__event .is-ok {
    color: var(--fp-ok);
    font-weight: 600;
}

.fp-rows .is-due {
    color: var(--fp-due);
    font-weight: 600;
}

.fp-pay {
    margin-top: 0.85rem;
    padding: 1rem 1.05rem;
    background: var(--fp-snow);
    border-radius: 1rem;
    box-shadow: inset 0 0 0 1px var(--fp-line);
}

.fp-pay p {
    margin: 0;
    font-size: 0.92rem;
}

.fp-pay__k {
    color: var(--fp-mist);
    font-size: 0.78rem !important;
    margin-bottom: 0.35rem !important;
}

.fp-pay__iban {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    margin-top: 0.2rem !important;
}

.fp-live {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.fp-figures {
    padding: 0 0 3rem;
}

/* Narrow screens show one figure at a time; the script advances --fp-stat-at
   so the strip never stretches into a wall of scrolling. */
.fp-figures__vp {
    overflow: hidden;
    padding-top: 2.25rem;
    border-top: 1px solid var(--fp-line);
}

.fp-stats {
    display: flex;
    transform: translateX(calc(var(--fp-stat-at, 0) * -100%));
    transition: transform 0.45s ease;
}

.fp-stat {
    flex: 0 0 100%;
}

.fp-stat__n {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--fp-blue);
    font-variant-numeric: tabular-nums;
}

.fp-stat__l {
    margin: 0.4rem 0 0;
    color: var(--fp-mist);
    font-size: 0.98rem;
}

.fp-brands {
    padding: 0 0 4.25rem;
    overflow-x: clip;
}

.fp-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    container-type: inline-size;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* The animated track is its own compositing layer, so the logos only blend
   against a backdrop painted inside it. */
.fp-marquee__track {
    display: flex;
    width: max-content;
    background: var(--fp-sky);
    animation: fp-marquee 38s linear infinite;
}

.fp-marquee:hover .fp-marquee__track,
.fp-marquee:focus-within .fp-marquee__track {
    animation-play-state: paused;
}

/* min-width keeps the two copies at least as wide as the strip, so the -50% loop never shows a gap. */
.fp-marquee__row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2.75rem;
    min-width: 100cqi;
    margin: 0;
    padding: 0 1.375rem;
    list-style: none;
}

.fp-marquee__row li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 9.5rem;
    height: 4.25rem;
}

.fp-marquee__img {
    display: block;
    max-height: 3.4rem;
    max-width: 9.5rem;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    mix-blend-mode: multiply;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.fp-marquee__row li:hover .fp-marquee__img {
    filter: none;
    opacity: 1;
}

@keyframes fp-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.fp-block {
    background: var(--fp-snow);
    padding: 4.75rem 0;
}

.fp-block--tint {
    background: var(--fp-wash);
}

.fp-caps {
    display: grid;
    gap: 1.75rem 2.5rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.fp-cap__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.85rem;
    border-radius: 0.9rem;
    background: var(--fp-wash);
    color: var(--fp-blue);
    font-size: 1.05rem;
}

.fp-cap strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.4rem;
}

.fp-cap__text {
    display: block;
    color: var(--fp-mist);
    line-height: 1.55;
}

.fp-plist {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    max-width: 34em;
}

.fp-plist li {
    position: relative;
    padding-left: 1.85rem;
    color: var(--fp-mist);
    line-height: 1.55;
}

.fp-plist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--fp-blue);
}

.fp-steps {
    list-style: none;
    margin: 0 0 2.25rem;
    padding: 0;
    display: grid;
    gap: 1rem;
    counter-reset: step;
}

.fp-steps li {
    position: relative;
    counter-increment: step;
    background: var(--fp-snow);
    border-radius: 1.25rem;
    padding: 1.5rem 1.5rem 1.65rem;
    box-shadow: inset 0 0 0 1px var(--fp-line);
}

.fp-steps li::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--fp-blue);
    color: var(--fp-snow);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1;
}

.fp-steps strong {
    display: block;
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.fp-steps span {
    display: block;
    color: var(--fp-mist);
    line-height: 1.55;
    max-width: 28em;
}

.fp-steps__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
}

.fp-note {
    color: var(--fp-mist);
    margin: 0 0 1.75rem;
    max-width: 36em;
    line-height: 1.55;
}

.fp-steps__foot .fp-note {
    margin: 0;
    max-width: 26em;
    font-size: 0.98rem;
}

.fp-emph {
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.35;
    max-width: 22em;
    margin: 0;
    color: var(--fp-navy);
}

.fp-phoneband {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.fp-wallet {
    width: min(24rem, 100%);
    margin-inline: auto;
    background: var(--fp-snow);
    border-radius: 1.5rem;
    padding: 1.6rem 1.5rem 1.5rem;
    box-shadow: 0 24px 48px rgba(0, 75, 197, 0.1), inset 0 0 0 1px var(--fp-line);
}

.fp-wallet__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.fp-wallet__who {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.fp-wallet__group {
    margin: 0;
    font-size: 0.85rem;
    color: var(--fp-mist);
}

.fp-wallet .fp-rows {
    margin-top: 1.25rem;
}

.fp-wallet__next {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    margin: 1.25rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: var(--fp-wash);
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}

.fp-wallet__next span {
    color: var(--fp-mist);
}

.fp-wallet__next strong {
    font-weight: 600;
    white-space: nowrap;
}

.fp .pwa-install-inline {
    margin-top: 1.5rem;
}

.fp .pwa-install-inline-btn.btn-primary {
    min-height: 3.25rem;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    background: var(--fp-blue);
    border-color: var(--fp-blue);
}

.fp .pwa-install-inline-btn.btn-primary:hover {
    background: var(--fp-blue-dark);
    border-color: var(--fp-blue-dark);
}

.fp .pwa-install-inline-ios {
    margin-top: 0.75rem;
    color: var(--fp-mist);
    font-size: 0.95rem;
}

.fp-phoneband__guide {
    margin: 1rem 0 0;
}

.fp-pings {
    display: grid;
    gap: 0.85rem;
}

.fp-ping {
    background: var(--fp-snow);
    border-radius: 1rem;
    padding: 1.05rem 1.2rem;
    box-shadow: inset 0 0 0 1px var(--fp-line);
}

.fp-ping strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.fp-ping p {
    margin: 0;
    color: var(--fp-mist);
    font-size: 0.92rem;
}

.fp-price {
    padding-top: 0.25rem;
}

.fp-price__n {
    margin: 0 0 0.75rem;
    font-size: clamp(3.4rem, 8vw, 6rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
    color: var(--fp-blue);
}

.fp-price h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    max-width: 18em;
    color: var(--fp-mist);
    margin-bottom: 1.25rem;
}

.fp-price__vat {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--fp-mist);
    white-space: nowrap;
}

.fp-plans {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.fp-plan {
    background: var(--fp-snow);
    border-radius: 1.25rem;
    padding: 1.35rem 1.4rem 1.45rem;
    box-shadow: inset 0 0 0 1px var(--fp-line);
}

.fp-plan.is-best {
    box-shadow: inset 0 0 0 2px var(--fp-blue);
}

.fp-plan__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.6rem;
    margin-bottom: 0.85rem;
}

.fp-plan__len {
    margin: 0;
    font-weight: 600;
    font-size: 1.05rem;
}

.fp-plan__save,
.fp-plan__best {
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.fp-plan__save {
    background: var(--fp-blue);
    color: var(--fp-snow);
}

.fp-plan__best {
    background: var(--fp-wash);
    color: var(--fp-blue);
}

.fp-plan__sum {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.fp-plan__was {
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--fp-mist);
}

.fp-plan__per {
    margin: 0.3rem 0 0;
    color: var(--fp-mist);
    line-height: 1.5;
}

.fp-plan__deal {
    margin: 0.6rem 0 0;
    font-size: 0.92rem;
    color: var(--fp-blue);
    line-height: 1.5;
}

.fp-textlink {
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 600;
    color: var(--fp-blue);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.fp-textlink:hover {
    color: var(--fp-blue-dark);
}

.fp-payok {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.8rem;
    margin: 1.75rem 0 0;
    color: var(--fp-mist);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
}

.fp-payok__logo {
    display: block;
    height: 1.35rem;
    width: auto;
}

.fp-close {
    background: var(--fp-navy);
    color: #d9e3f2;
    padding: 5rem 0 5.25rem;
}

.fp-close h2 {
    color: #f4f7fc;
    max-width: 16em;
    margin-bottom: 1.75rem;
}

.fp-close .fp-cta {
    margin-top: 0;
}

.fp-body .public-footer {
    border-top: 0;
}

@media (min-width: 900px) {
    .fp-shell {
        width: min(1120px, calc(100% - 4rem));
    }

    .fp-figures__vp {
        overflow: visible;
    }

    .fp-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        transform: none;
    }

    .fp-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Dashed run between the numbered badges, so the three cards read as one sequence. */
    .fp-steps li::after {
        content: "";
        position: absolute;
        top: 2.7rem;
        left: 100%;
        width: 1.5rem;
        border-top: 1px dashed var(--fp-line);
    }

    .fp-steps li:last-child::after {
        content: none;
    }

    .fp-caps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-plans {
        grid-template-columns: repeat(auto-fit, minmax(16rem, 20rem));
        gap: 1.25rem;
    }

    .fp-phoneband {
        grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
        gap: 4rem;
    }
}

@media (min-width: 1080px) {
    .fp-hero {
        padding: 3.25rem 0 5rem;
    }

    .fp-caps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .fp-hero__grid {
        grid-template-columns: minmax(0, 1fr) 20rem;
        align-items: center;
        gap: 4.5rem;
    }

    .fp-block {
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
    }

    .fp-close {
        padding-top: 6.5rem;
        padding-bottom: 6.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-btn,
    .fp-seg__btn {
        transition: none;
    }

    /* The script leaves the strip alone here, so make it swipeable instead. */
    .fp-figures__vp {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .fp-stats {
        transform: none;
        transition: none;
    }

    .fp-stat {
        scroll-snap-align: start;
    }

    .fp-marquee {
        overflow-x: auto;
        max-width: 100%;
    }

    .fp-marquee__track {
        animation: none;
    }

    .fp-marquee__img {
        filter: none;
        opacity: 1;
    }
}
