/* Pricing page (/hinnakiri): same system as the frontpage, own namespace. */

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

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

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

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

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

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

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

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

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

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

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

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

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

.pr-note {
    color: var(--pr-mist);
    line-height: 1.55;
    max-width: 36em;
}

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

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

.pr-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;
}

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

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

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

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

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

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

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

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

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

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

/* Hero */

.pr-hero {
    position: relative;
    /* Keeps the decorative glow below from widening the page; clip (not hidden)
       leaves the vertical axis alone. */
    overflow-x: clip;
    padding: 2rem 0 3.5rem;
}

.pr-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;
}

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

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

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

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

/* Beat `.pr-hero__copy p { margin: 0 }` so the offer and the title stay apart. */
.pr-hero__copy p.pr-offer {
    margin: 0 0 2rem;
}

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

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

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

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

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

.pr-hero__copy p.pr-tag {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin: 1.75rem 0 0;
}

.pr-tag__n {
    font-size: clamp(3.4rem, 8vw, 5.25rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
    color: var(--pr-blue);
}

.pr-tag__u {
    font-size: 1.05rem;
    color: var(--pr-mist);
}

.pr-tag__vat {
    font-size: 0.95rem;
    color: var(--pr-mist);
    white-space: nowrap;
}

/* Cost calculator */

.pr-calc {
    background: var(--pr-snow);
    border-radius: 1.5rem;
    padding: 1.6rem 1.5rem 1.75rem;
    box-shadow: 0 24px 48px rgba(0, 75, 197, 0.1), inset 0 0 0 1px var(--pr-line);
}

.pr-calc__h {
    margin: 0 0 1.1rem;
    font-size: 1.12rem;
    font-weight: 600;
}

.pr-seg {
    display: inline-flex;
    flex-wrap: wrap;
    padding: 4px;
    margin-bottom: 1.35rem;
    background: var(--pr-wash);
    border-radius: 999px;
}

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

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

.pr-calc__label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    color: var(--pr-mist);
}

.pr-calc__label strong {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--pr-ink);
    font-variant-numeric: tabular-nums;
}

.pr-range {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 0.5rem;
    margin: 0 0 1.4rem;
    border-radius: 999px;
    background: var(--pr-wash);
    cursor: pointer;
}

.pr-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: var(--pr-blue);
    border: 3px solid var(--pr-snow);
    box-shadow: 0 2px 8px rgba(0, 75, 197, 0.35);
}

.pr-range::-moz-range-thumb {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--pr-blue);
    border: 3px solid var(--pr-snow);
    box-shadow: 0 2px 8px rgba(0, 75, 197, 0.35);
}

.pr-calc__out {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.35rem 1rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: var(--pr-wash);
}

.pr-calc__k {
    margin: 0;
    font-size: 0.9rem;
    color: var(--pr-mist);
}

.pr-calc__v {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--pr-blue);
    font-variant-numeric: tabular-nums;
}

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

.pr-calc__split span {
    color: var(--pr-mist);
}

.pr-calc__split strong {
    font-weight: 600;
    white-space: nowrap;
}

.pr-calc__note {
    margin: 0.9rem 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--pr-mist);
}

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

.pr-calc .pr-payok {
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--pr-line);
}

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

/* Sections */

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

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

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

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

.pr-block .pr-plan {
    background: var(--pr-sky);
}

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

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

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

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

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

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

.pr-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;
}

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

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

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

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

.pr-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(--pr-snow);
    color: var(--pr-blue);
    font-size: 1.05rem;
}

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

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

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

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

.pr-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(--pr-blue);
    color: var(--pr-snow);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1;
}

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

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

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

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

.pr-qa {
    display: grid;
    gap: 0.75rem;
    max-width: 48rem;
    margin: 0 0 1.75rem;
}

.pr-qa details {
    background: var(--pr-snow);
    border-radius: 1.1rem;
    box-shadow: inset 0 0 0 1px var(--pr-line);
}

.pr-qa summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    border-radius: 1.1rem;
}

.pr-qa summary::-webkit-details-marker {
    display: none;
}

/* Text glyph rather than an icon font, so the marker cannot go missing. */
.pr-qa summary::after {
    content: "+";
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: var(--pr-wash);
    color: var(--pr-blue);
    font-size: 1.15rem;
    line-height: 1;
}

.pr-qa details[open] summary::after {
    content: "\2212";
    background: var(--pr-blue);
    color: var(--pr-snow);
}

.pr-qa p {
    margin: 0;
    padding: 0 1.25rem 1.25rem;
    color: var(--pr-mist);
    line-height: 1.6;
    max-width: 40em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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