/* =====================================================================
   Promotional home page (Views/Promo/Index.cshtml). Builds on the login page's styles (css/page/login/signup.css):
   the hero is the login layout, with a menu in place of the form. Then the features, how it works,
   a closing call to action and the footer, in the same white card style.
   ===================================================================== */

html {
    scroll-behavior: smooth;
}

.pr-body {
    height: auto;
}

.pr-skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10;
    padding: 8px 14px;
    border-radius: 8px;
    background-color: var(--su-dark-blue);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

    .pr-skip:focus {
        top: 12px;
    }

/* ---------------- Hero (the login layout) ---------------- */
.pr-hero {
    min-height: min(calc(100vh - 48px), 860px);
}

.pr-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    padding-top: 28px; /* breathing room above the logo */
}

    .pr-nav .su-brand {
        margin-bottom: 0;
    }

        /* A bigger logo than on the login page (sized by width: the logo is wide) */
        .pr-nav .su-brand img {
            width: min(420px, 100%);
            height: auto;
        }

.pr-nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 18px;
}

    .pr-nav-links a {
        color: var(--su-text);
        font-size: 13.5px;
        font-weight: 600;
        text-decoration: none;
    }

        .pr-nav-links a:hover {
            color: var(--su-ink);
        }

    .pr-nav-links .pr-nav-cta {
        padding: 8px 14px;
        border: 1px solid var(--su-line);
        border-radius: var(--su-radius);
        color: var(--su-ink);
    }

        .pr-nav-links .pr-nav-cta:hover {
            border-color: #cfd4dc;
            background-color: #f9fafb;
        }

.pr-hero-wrap {
    max-width: 480px;
}

.pr-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #eaf1ff;
    color: var(--su-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pr-title {
    margin-bottom: 14px;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.pr-lead {
    margin: 0 0 26px;
    color: var(--su-muted);
    font-size: 16px;
    line-height: 1.6;
}

.pr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 46px;
    margin: 0;
    padding: 0 22px;
    border-radius: var(--su-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

    a.su-submit.pr-button {
        color: #fff;
    }

    .pr-button:focus-visible {
        outline: 3px solid rgba(29, 95, 214, 0.35);
        outline-offset: 2px;
    }

.pr-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--su-text);
    font-size: 13.5px;
}

    .pr-points li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .pr-points li::before {
            content: "";
            flex: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #ecfdf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23079455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
        }

/* ---------------- Sections ---------------- */
.pr-main {
    max-width: 1280px;
    margin: 24px auto 0;
    padding: 56px 60px;
    border-radius: 22px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.06);
}

.pr-section {
    scroll-margin-top: 24px;
}

    .pr-section + .pr-section {
        margin-top: 72px;
    }

.pr-section-head {
    max-width: 620px;
    margin: 0 auto 32px;
    text-align: center;
}

    .pr-section-head h2,
    .pr-cta h2 {
        margin: 0 0 10px;
        color: var(--su-ink);
        font-size: 32px;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    .pr-section-head p {
        margin: 0;
        color: var(--su-muted);
        font-size: 15px;
    }

.pr-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pr-feature {
    padding: 24px;
    border: 1px solid var(--su-line);
    border-radius: 16px;
    background-color: #fcfcfd;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .pr-feature:hover {
        border-color: #c7d7fe;
        box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
        transform: translateY(-2px);
    }

    .pr-feature h3,
    .pr-steps h3 {
        margin: 0 0 8px;
        color: var(--su-ink);
        font-size: 16px;
        font-weight: 700;
    }

    .pr-feature p,
    .pr-steps p {
        margin: 0;
        color: var(--su-muted);
        font-size: 13.5px;
        line-height: 1.6;
    }

.pr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(160deg, #cfe3ff 0%, #8fb4f5 100%);
}

    .pr-icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: var(--su-dark-blue);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* How it works: numbered, joined by a line */
.pr-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: pr-step;
}

    .pr-steps::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 16.66%;
        right: 16.66%;
        height: 2px;
        background: linear-gradient(90deg, #cfe3ff, #8fb4f5, #cfe3ff);
    }

    .pr-steps li {
        position: relative;
        text-align: center;
        counter-increment: pr-step;
    }

        .pr-steps li::before {
            content: counter(pr-step);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            margin: 0 auto 16px;
            border: 4px solid #fff;
            border-radius: 50%;
            background-color: var(--su-dark-blue);
            color: #fff;
            font-weight: 800;
            box-sizing: content-box;
        }

        .pr-steps li p {
            max-width: 300px;
            margin: 0 auto;
        }

/* Closing call to action: the showcase panel's gradient */
.pr-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: 72px;
    padding: 40px 44px;
    border-radius: 16px;
    background:
        radial-gradient(60% 80% at 15% 50%, rgba(83, 189, 236, 0.75) 0%, rgba(83, 189, 236, 0) 70%),
        radial-gradient(50% 80% at 90% 20%, rgba(29, 95, 214, 0.9) 0%, rgba(29, 95, 214, 0) 70%),
        linear-gradient(140deg, #3d6fd8 0%, #1d4fb8 55%, var(--su-dark-blue) 100%);
    color: #fff;
}

    .pr-cta h2 {
        color: #fff;
    }

    .pr-cta p {
        margin: 0;
        color: rgba(255, 255, 255, 0.85);
        font-size: 15px;
    }

.pr-button-light {
    background-color: #fff;
    color: var(--su-dark-blue);
}

    .pr-button-light:hover {
        background-color: #eef4ff;
    }

.pr-button-outline {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

    .pr-button-outline:hover {
        background-color: rgba(255, 255, 255, 0.12);
    }

/* ---------------- Footer ---------------- */
.pr-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 8px;
    color: var(--su-muted);
    font-size: 13px;
}

    .pr-footer nav {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 20px;
    }

    .pr-footer a {
        color: var(--su-text);
        font-weight: 600;
        text-decoration: none;
    }

        .pr-footer a:hover {
            color: var(--su-ink);
            text-decoration: underline;
        }

/* "Powered by Aspurian": the logo's lettering is white, so it sits on a dark badge */
.pr-footer a.pr-powered {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: #0b1020;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

    .pr-footer a.pr-powered:hover {
        background-color: #161d36;
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .pr-footer a.pr-powered:focus-visible {
        outline: 3px solid rgba(29, 95, 214, 0.45);
        outline-offset: 3px;
    }

    .pr-powered img {
        display: block;
        width: auto;
        height: 20px;
    }

/* ---------------- Smaller screens ---------------- */
@media (max-width: 1100px) {
    .pr-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .pr-hero {
        min-height: 0;
    }

    .pr-hero-wrap {
        max-width: 560px;
        margin: 32px auto 16px;
    }

    .pr-main {
        padding: 40px 28px;
    }

    .pr-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }

        .pr-steps::before {
            display: none;
        }
}

@media (max-width: 640px) {
    .pr-title {
        font-size: 34px;
    }

    .pr-features {
        grid-template-columns: 1fr;
    }

    .pr-section-head h2,
    .pr-cta h2 {
        font-size: 26px;
    }

    .pr-nav-links a:not(.pr-nav-cta) {
        display: none;
    }

    .pr-nav .su-brand {
        max-width: 72%;
    }

    .pr-nav {
        padding-top: 14px;
    }

    .pr-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .pr-button {
        flex: 1 1 100%;
    }

    .pr-cta {
        padding: 28px 22px;
    }
}

@media (max-width: 480px) {
    .pr-main {
        margin-top: 0;
        padding: 32px 16px;
        border-radius: 0;
        box-shadow: none;
    }

    .pr-footer {
        padding: 20px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pr-feature,
    .pr-footer a.pr-powered {
        transition: none;
    }

        .pr-feature:hover {
            transform: none;
        }
}

/* =====================================================================
   The panel on the right (Views/Promo/_PromoShowcase.cshtml): the login page's frosted cards in a column that
   moves up one card at a time, pausing with a card in the middle (script in Promo/Index.cshtml).
   ===================================================================== */
.pr-showcase {
    display: block;
}

    .pr-showcase .su-glow {
        z-index: 0;
    }

/* The column of cards, moved up by the script */
.pr-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0 0 28px;
    will-change: transform;
}

    .pr-track.is-moving {
        transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
    }

/* The cards' window: they fade in at the bottom edge and out at the top (the blue background doesn't) */
.pr-viewport {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.pr-card {
    flex: none;
    width: min(340px, 80%);
    padding: 22px 26px;
    opacity: 0.55;
    transform: scale(0.94);
    transition: opacity 0.8s ease, transform 0.8s ease, background-color 0.8s ease;
}

    .pr-card.is-active {
        opacity: 1;
        transform: scale(1);
        background-color: rgba(255, 255, 255, 0.86);
    }

.pr-bars {
    height: 110px;
    margin-top: 14px;
}

.pr-card-statement {
    padding: 26px;
}

.pr-card-title {
    margin: 4px 0 12px;
    color: var(--su-ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pr-card-foot {
    margin: 12px 0 0;
}

/* Supplier prices: old and new price */
.pr-price-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pr-price-list li {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.85);
        color: var(--su-text);
        font-size: 12px;
    }

    .pr-price-list s {
        color: #98a2b3;
    }

    .pr-price-list b {
        color: var(--su-dark-blue);
    }

/* Proposal ready: a document icon and ticks */
.pr-doc {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .pr-doc .pr-card-title {
        margin-bottom: 0;
    }

.pr-doc-icon {
    display: flex;
    flex: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 56px;
    padding: 0 10px;
    border-radius: 8px;
    background-color: var(--su-dark-blue);
    box-shadow: 0 6px 16px rgba(0, 34, 93, 0.25);
}

    .pr-doc-icon i {
        display: block;
        height: 3px;
        border-radius: 2px;
        background-color: rgba(255, 255, 255, 0.8);
    }

        .pr-doc-icon i:nth-child(2) {
            width: 70%;
        }

.pr-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    color: var(--su-text);
    font-size: 12.5px;
    font-weight: 600;
}

    .pr-checks li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .pr-checks li::before {
            content: "";
            flex: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #ecfdf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23079455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
        }

/* AI draft: lines of text */
.pr-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .pr-lines span {
        width: var(--w);
        height: 8px;
        border-radius: 4px;
        background: linear-gradient(90deg, rgba(29, 95, 214, 0.35), rgba(83, 189, 236, 0.45));
    }

.pr-tag {
    display: inline-block;
    margin-top: 14px;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: #ecfdf3;
    color: #067647;
    font-size: 11.5px;
    font-weight: 700;
}

/* Margin: a bar with the target marked */
.pr-meter {
    position: relative;
    height: 12px;
    margin-top: 16px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.9);
}

    .pr-meter span {
        position: absolute;
        inset: 0 auto 0 0;
        width: var(--v);
        border-radius: 999px;
        background: linear-gradient(90deg, var(--su-light-blue), var(--su-blue));
    }

    .pr-meter i {
        position: absolute;
        top: -4px;
        bottom: -4px;
        left: var(--t);
        width: 2px;
        border-radius: 1px;
        background-color: var(--su-dark-blue);
    }

@media (prefers-reduced-motion: reduce) {
    .pr-track.is-moving,
    .pr-card {
        transition: none;
    }
}

/* =====================================================================
   Costing and Assemblies: text beside an illustration (alternating sides)
   ===================================================================== */
.pr-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

    .pr-split.is-reversed .pr-split-text {
        order: 2;
    }

    .pr-split h2 {
        margin: 0 0 12px;
        color: var(--su-ink);
        font-size: 32px;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

.pr-split-lead {
    margin: 0 0 22px;
    color: var(--su-muted);
    font-size: 15.5px;
    line-height: 1.6;
}

.pr-ticks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--su-text);
    font-size: 14px;
    line-height: 1.55;
}

    .pr-ticks li {
        position: relative;
        padding-left: 30px;
    }

        .pr-ticks li::before {
            content: "";
            position: absolute;
            top: 1px;
            left: 0;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #eaf1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231d5fd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
        }

    .pr-ticks strong {
        color: var(--su-ink);
    }

/* Illustrations: a frosted card on the brand gradient, like the hero panel */
.pr-visual {
    position: relative;
    margin: 0;
    padding: 22px;
    border-radius: 18px;
    background:
        radial-gradient(60% 50% at 15% 80%, rgba(83, 189, 236, 0.6) 0%, rgba(83, 189, 236, 0) 70%),
        radial-gradient(55% 45% at 90% 15%, rgba(29, 95, 214, 0.55) 0%, rgba(29, 95, 214, 0) 70%),
        linear-gradient(160deg, #e3eeff 0%, #b9d0fa 55%, #8fb4f5 100%);
    box-shadow: 0 18px 40px rgba(0, 34, 93, 0.12);
    color: var(--su-text);
    font-size: 13px;
}

    .pr-visual > *:not(figcaption) {
        position: relative;
    }

    .pr-visual figcaption {
        margin-top: 12px;
        color: rgba(0, 34, 93, 0.55);
        font-size: 11px;
        text-align: right;
    }

.pr-visual-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--su-dark-blue);
    font-size: 14px;
    font-weight: 800;
}

.pr-chip {
    padding: 3px 10px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--su-blue);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

/* Costed quote */
.pr-costsheet table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    font-variant-numeric: tabular-nums;
}

.pr-costsheet th,
.pr-costsheet td {
    padding: 9px 12px;
    text-align: right;
    white-space: nowrap;
}

    .pr-costsheet th:first-child,
    .pr-costsheet td:first-child {
        text-align: left;
        white-space: normal;
    }

.pr-costsheet th {
    border-bottom: 1px solid var(--su-line);
    color: var(--su-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pr-costsheet tbody tr + tr td {
    border-top: 1px solid #f2f4f7;
}

.pr-costsheet td:first-child {
    color: var(--su-ink);
    font-weight: 600;
}

.pr-costsheet small {
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    background-color: #f2f4f7;
    color: var(--su-muted);
    font-size: 10.5px;
    font-weight: 600;
}

.pr-m {
    display: inline-block;
    min-width: 54px;
    padding: 2px 8px;
    border-radius: 999px;
    background-color: #fffaeb;
    color: #b54708;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

    .pr-m.is-good {
        background-color: #ecfdf3;
        color: #067647;
    }

.pr-totals {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 8px;
    margin-top: 10px;
}

    .pr-totals div {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 10px 12px;
        border-radius: 12px;
        background-color: rgba(255, 255, 255, 0.85);
    }

    .pr-totals span {
        color: var(--su-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .pr-totals b {
        color: var(--su-ink);
        font-size: 16px;
        font-variant-numeric: tabular-nums;
    }

    .pr-totals .is-margin {
        background-color: var(--su-dark-blue);
    }

        .pr-totals .is-margin span {
            color: rgba(255, 255, 255, 0.7);
        }

        .pr-totals .is-margin b {
            color: #fff;
        }

.pr-mixbar {
    display: flex;
    gap: 4px;
    height: 10px;
    margin-top: 14px;
}

    .pr-mixbar span {
        width: var(--w);
        border-radius: 999px;
    }

        .pr-mixbar span:nth-child(1) { background-color: #fff; }
        .pr-mixbar span:nth-child(2) { background-color: var(--su-light-blue); }
        .pr-mixbar span:nth-child(3) { background-color: var(--su-dark-blue); }

.pr-mixlegend {
    margin-top: 10px;
}

/* Assembly kinds */
.pr-kinds {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pr-kind {
    padding: 16px 18px;
    border: 1px solid var(--su-line);
    border-radius: 14px;
    background-color: #fcfcfd;
}

    .pr-kind h3 {
        margin: 6px 0 4px;
        color: var(--su-ink);
        font-size: 15px;
        font-weight: 700;
    }

    .pr-kind p {
        margin: 0;
        color: var(--su-muted);
        font-size: 13.5px;
        line-height: 1.55;
    }

.pr-kind-tag {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background-color: var(--su-dark-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* Assembly tree */
.pr-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px dashed rgba(0, 34, 93, 0.3);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--su-dark-blue);
    font-weight: 700;
}

    .pr-question b {
        padding: 2px 12px;
        border-radius: 8px;
        background-color: var(--su-dark-blue);
        color: #fff;
    }

.pr-tree-list,
.pr-tree-list ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pr-tree-list ul {
        position: relative;
        margin: 8px 0 0 18px;
        padding-left: 16px;
        border-left: 2px solid rgba(0, 34, 93, 0.2);
    }

    .pr-tree-list li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 6px 12px;
        padding: 10px 14px;
        border-radius: 12px;
        background-color: rgba(255, 255, 255, 0.9);
    }

        .pr-tree-list li.is-branch {
            background-color: rgba(255, 255, 255, 0.55);
        }

            .pr-tree-list li.is-branch > ul {
                flex-basis: 100%;
            }

        .pr-tree-list li em {
            color: var(--su-muted);
            font-size: 12px;
            font-style: normal;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
        }

.pr-node {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--su-ink);
    font-weight: 600;
}

    .pr-node::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 2px;
        background-color: var(--su-blue);
    }

    .pr-node.is-sub::before {
        background-color: var(--su-light-blue);
    }

    .pr-node.is-labour::before {
        border-radius: 50%;
        background-color: var(--su-dark-blue);
    }

    .pr-node small {
        padding: 1px 6px;
        border-radius: 999px;
        background-color: #eaf1ff;
        color: var(--su-blue);
        font-size: 10.5px;
        font-weight: 700;
    }

/* =====================================================================
   Pricing
   ===================================================================== */
.pr-pricing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 20px;
    align-items: start;
}

.pr-plan {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 18px;
    background:
        radial-gradient(70% 60% at 100% 0%, rgba(83, 189, 236, 0.35) 0%, rgba(83, 189, 236, 0) 70%),
        linear-gradient(160deg, #0a2f77 0%, var(--su-dark-blue) 100%);
    box-shadow: 0 18px 40px rgba(0, 34, 93, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.pr-plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .pr-plan-head h3 {
        margin: 0;
        color: #fff;
        font-size: 20px;
        font-weight: 800;
    }

.pr-price {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 18px 0 6px;
}

.pr-price-amount {
    color: #fff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.pr-price-unit {
    padding-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

    .pr-price-unit small {
        color: rgba(255, 255, 255, 0.6);
        font-size: 12px;
        font-weight: 500;
    }

.pr-plan-note {
    margin: 0 0 20px;
    font-size: 14px;
}

.pr-plan-list {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

    .pr-plan-list li::before {
        background-color: rgba(255, 255, 255, 0.15);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2353bdec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

a.su-submit.pr-plan-button {
    margin-top: auto;
    background-color: #fff;
    color: var(--su-dark-blue);
}

    a.su-submit.pr-plan-button:hover {
        background-color: #eef4ff;
    }

.pr-pricing-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Cost calculator */
.pr-calc {
    padding: 22px 24px;
    border: 1px solid var(--su-line);
    border-radius: 18px;
    background-color: #fcfcfd;
}

    .pr-calc label {
        color: var(--su-ink);
        font-size: 14px;
        font-weight: 700;
    }

.pr-calc-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0 16px;
}

    .pr-calc-row input[type="range"] {
        --fill: 0%;
        flex: 1 1 auto;
        height: 6px;
        margin: 0;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--su-blue) var(--fill), #e4e7ec var(--fill));
        accent-color: var(--su-dark-blue);
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }

        .pr-calc-row input[type="range"]::-webkit-slider-thumb {
            width: 22px;
            height: 22px;
            border: 3px solid #fff;
            border-radius: 50%;
            background-color: var(--su-dark-blue);
            box-shadow: 0 1px 4px rgba(16, 24, 40, 0.3);
            -webkit-appearance: none;
            appearance: none;
        }

        .pr-calc-row input[type="range"]::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border: 3px solid #fff;
            border-radius: 50%;
            background-color: var(--su-dark-blue);
            box-shadow: 0 1px 4px rgba(16, 24, 40, 0.3);
        }

        .pr-calc-row input[type="range"]:focus-visible {
            outline: 3px solid rgba(29, 95, 214, 0.35);
            outline-offset: 6px;
        }

.pr-calc-users {
    min-width: 48px;
    padding: 4px 10px;
    border-radius: 10px;
    background-color: #eaf1ff;
    color: var(--su-dark-blue);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pr-calc-total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    color: var(--su-muted);
    font-size: 13px;
}

.pr-calc-amount {
    color: var(--su-ink);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.pr-calc-detail {
    margin: 6px 0 0;
    color: var(--su-muted);
    font-size: 13px;
}

/* Add-ons */
.pr-addons {
    padding: 22px 24px;
    border: 1px solid var(--su-line);
    border-radius: 18px;
}

    .pr-addons h3 {
        margin: 0 0 12px;
        color: var(--su-ink);
        font-size: 15px;
        font-weight: 700;
    }

    .pr-addons ul {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .pr-addons li {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 0;
    }

        .pr-addons li + li {
            border-top: 1px solid #f2f4f7;
        }

        .pr-addons li strong {
            color: var(--su-ink);
            font-size: 14px;
        }

        .pr-addons li p {
            margin: 3px 0 0;
            color: var(--su-muted);
            font-size: 12.5px;
            line-height: 1.5;
        }

.pr-addon-price {
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: #eaf1ff;
    color: var(--su-dark-blue);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

    .pr-addon-price.is-soon {
        background-color: #f2f4f7;
        color: var(--su-muted);
    }

@media (max-width: 1100px) {
    .pr-split {
        gap: 32px;
    }
}

@media (max-width: 980px) {
    .pr-split,
    .pr-pricing {
        grid-template-columns: 1fr;
    }

        .pr-split.is-reversed .pr-split-text {
            order: 0;
        }

    .pr-split h2 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .pr-split h2 {
        font-size: 26px;
    }

    .pr-visual {
        padding: 14px;
    }

    .pr-costsheet th,
    .pr-costsheet td {
        padding: 8px;
    }

    .pr-costsheet th:nth-child(3),
    .pr-costsheet td:nth-child(3) {
        display: none;
    }

    .pr-totals {
        grid-template-columns: 1fr 1fr;
    }

        .pr-totals .is-margin {
            grid-column: 1 / -1;
        }

    .pr-price-amount {
        font-size: 44px;
    }

    .pr-plan,
    .pr-calc,
    .pr-addons {
        padding: 20px;
    }

    .pr-addons li {
        flex-direction: column;
        gap: 8px;
    }
}

/* Pricing: quantity discounts on the plan card */
.pr-tiers {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: -8px 0 22px;
    padding: 0;
    list-style: none;
}

    .pr-tiers li {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 12px;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.08);
        font-size: 13.5px;
    }

        .pr-tiers li:last-child {
            background-color: rgba(83, 189, 236, 0.18);
        }

    .pr-tiers b {
        color: #fff;
        font-size: 15px;
        white-space: nowrap;
    }

    .pr-tiers small {
        color: rgba(255, 255, 255, 0.6);
        font-size: 11.5px;
        font-weight: 500;
    }
