/* The Pricing options page (Pages/PricingOptions.cshtml, 2026-12-01): the customer's second fee structure, two options
   side by side from the top of the page to the bottom. Linked from the page itself, unminified, so it loads only there
   and an edit is live on the next build. The shared pieces (the eyebrow, the closing panel) are in
   marketing-pages.css. Colours are the site's tokens (--purple #625aff, --dark-blue-color #2f2e41). */

/* the opening, centred over the two options so neither sits under the heading more than the other */
.pricing-intro {
    max-width: 46rem;
    margin: 0 auto 3rem;
    text-align: center;
}

/* the round badge that marks which option a block belongs to: a building, or a house, the same one in every part */
.pricing-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-size: 1.15rem;
    color: var(--purple);
    background-color: rgba(98, 90, 255, .1);
}

/* ---------------------------------------------------------------------
   The two options: one card each, the price the largest thing on the page
   --------------------------------------------------------------------- */

.pricing-plan {
    position: relative;
    height: 100%;
    padding: 2.25rem 1.75rem 2rem;
    border: 1px solid rgba(98, 90, 255, .14);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 26px 50px -34px rgba(47, 46, 65, .5);
    overflow: hidden;
    text-align: center;
}

@media (min-width: 992px) {
    .pricing-plan {
        padding: 2.75rem 2.5rem 2.5rem;
    }
}

    /* a band of the brand purple along the top edge of each */
    .pricing-plan::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg, #7a73ff 0%, var(--purple) 50%, #4a42d6 100%);
    }

.pricing-plan-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
}

/* side by side, two lines of room for the name: one that wraps in one card must not push its price below the other's */
@media (min-width: 768px) {
    .pricing-plan-name {
        min-height: 7rem;
    }
}

    .pricing-plan-name h2 {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 600;
        line-height: 1.25;
        color: var(--dark-blue-color);
    }

.pricing-plan-figure {
    margin: .5rem 0 0;
    font-size: clamp(4rem, 3rem + 4vw, 5.75rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--purple);
    font-variant-numeric: tabular-nums;
}

.pricing-plan-unit {
    margin: .6rem 0 0;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

/* the one thing to remember about the option, in a pill under its price */
.pricing-plan-point {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 1.75rem 0 0;
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--dark-blue-color);
    background-color: rgba(98, 90, 255, .09);
}

    .pricing-plan-point .fa-circle-check {
        color: var(--purple);
    }

.pricing-plan-note {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    color: var(--bs-body-color);
}

/* ---------------------------------------------------------------------
   A part of the page on a faint purple band, so the parts read as steps down it
   --------------------------------------------------------------------- */

.pricing-band {
    background-color: rgba(98, 90, 255, .045);
    border-top: 1px solid rgba(98, 90, 255, .1);
    border-bottom: 1px solid rgba(98, 90, 255, .1);
}

/* an option's name over its explanation and over its table: the badge, then the name */
.pricing-track {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1rem;
}

    .pricing-track h3 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.3;
        color: var(--dark-blue-color);
    }

/* side by side, a rule between the two explanations */
@media (min-width: 768px) {
    .pricing-models > div + div {
        border-left: 1px solid rgba(98, 90, 255, .18);
    }
}

/* ---------------------------------------------------------------------
   The two sample tables: a card each, the same seven rows deep, so they line up row for row
   --------------------------------------------------------------------- */

.pricing-sample {
    height: 100%;
    border: 1px solid rgba(98, 90, 255, .14);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 26px 50px -34px rgba(47, 46, 65, .5);
    overflow: hidden;
}

    .pricing-sample .pricing-track {
        margin: 0;
        padding: 1.4rem 1.5rem 1.25rem;
        background: linear-gradient(180deg, rgba(98, 90, 255, .07), rgba(98, 90, 255, 0));
        border-bottom: 1px solid rgba(98, 90, 255, .1);
    }

.pricing-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

    .pricing-table th,
    .pricing-table td {
        padding: .7rem 1.5rem;
    }

    .pricing-table thead th {
        padding-top: 1rem;
        padding-bottom: .4rem;
        font-size: .72rem;
        font-weight: 600;
        letter-spacing: .09em;
        text-transform: uppercase;
        color: var(--bs-secondary-color);
    }

    .pricing-table tbody th {
        font-weight: 400;
        color: var(--dark-blue-color);
        font-variant-numeric: tabular-nums;
    }

    .pricing-table tbody tr + tr th,
    .pricing-table tbody tr + tr td {
        border-top: 1px dashed rgba(47, 46, 65, .1);
    }

    .pricing-table tbody tr:hover {
        background-color: rgba(98, 90, 255, .04);
    }

    .pricing-table tbody tr:last-child th,
    .pricing-table tbody tr:last-child td {
        padding-bottom: 1.25rem;
    }

    /* amounts line up on the right in figures of one width */
    .pricing-table .pricing-amount {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .pricing-table tbody .pricing-amount {
        font-weight: 600;
        color: var(--purple);
    }

@media (min-width: 992px) {
    .pricing-sample .pricing-track {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ---------------------------------------------------------------------
   The close: the document's last sentence in the purple panel, its footnote under it
   --------------------------------------------------------------------- */

.pricing-closing {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
    line-height: 1.2;
    /* lines of about one length, so the sentence never ends on a word alone */
    text-wrap: balance;
}

.pricing-terms {
    margin: 1.5rem 0 0;
    font-size: .9rem;
    text-align: center;
    color: var(--bs-secondary-color);
}
