.prices-site-body .public-nav,
.prices-site-body .public-header-actions,
.prices-site-body .public-footer-column,
.prices-site-body .public-footer-brand p {
    font-size: 15px;
}

.prices-site-body .public-footer-column a,
.prices-site-body .public-footer-brand p,
.prices-site-body .public-footer-bottom p {
    color: #514459;
}

.prices-page {
    --price-ink: #2a1b34;
    --price-muted: #514459;
    --price-accent: #593476;
    --price-line: #ded3e7;
    --price-wash: #f6f0f9;
    display: grid;
    gap: clamp(20px, 3vw, 32px);
    width: min(1120px, calc(100% - 40px));
    padding-block: clamp(24px, 5vw, 64px);
    color: var(--price-ink);
    font-size: 17px;
    line-height: 1.75;
}

.prices-page > * {
    min-width: 0;
}

.prices-page > :not(.prices-related) a {
    color: var(--price-accent);
    text-underline-offset: .22em;
}

.prices-page a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 3px;
}

.prices-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(25px, 5vw, 55px);
    border-radius: clamp(22px, 3vw, 32px);
    background: radial-gradient(ellipse at 0% 0%, #734b84, transparent 68%),
        linear-gradient(125deg, #3a2449, #4e2c62);
    color: #fff;
}

.prices-hero::before,
.prices-hero::after {
    position: absolute;
    z-index: -1;
    inset-inline-end: -84px;
    inset-block-end: -154px;
    width: 350px;
    aspect-ratio: 1;
    border: 1px solid #fff2;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.prices-hero::after {
    inset-inline-end: -38px;
    inset-block-end: -108px;
    width: 258px;
}

.prices-hero h1 {
    max-width: 900px;
    margin: 0 0 8px;
    color: inherit;
    font-size: clamp(29px, 4.3vw, 50px);
    line-height: 1.4;
    letter-spacing: -.03em;
}

.prices-hero p {
    max-width: 650px;
    margin: 0;
    color: #f6eafa;
    font-size: clamp(16px, 2vw, 19px);
}

.prices-hero-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-block-start: 20px;
}

.prices-hero .prices-hero-nav a,
.prices-hero .public-primary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 7px 15px;
    border: 1px solid #ffffff60;
    border-radius: 12px;
    background: #ffffff16;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.prices-hero .prices-hero-nav a:hover,
.prices-hero .public-primary-button:hover {
    background: #ffffff2b;
}

.prices-amount {
    display: block;
    margin-block: 8px 16px;
    font-size: clamp(23px, 4vw, 34px);
    line-height: 1.5;
}

.prices-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
    color: var(--price-muted);
    font-size: 15px;
}

.prices-breadcrumb a {
    font-weight: 700;
}

.prices-breadcrumb > :not(:last-child)::after {
    display: inline-block;
    margin-inline-start: 12px;
    color: var(--price-muted);
    content: '‹';
}

.prices-panel {
    padding: clamp(18px, 3.25vw, 36px);
    border: 1px solid var(--price-line);
    border-radius: clamp(20px, 3vw, 28px);
    background: #fff;
    box-shadow: 0 10px 30px #41285009;
    scroll-margin-top: 96px;
}

.prices-panel h2 {
    margin: 0 0 12px;
    color: var(--price-ink);
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.45;
}

.prices-panel p {
    margin: 0 0 14px;
    color: var(--price-muted);
    font-size: 16px;
}

.prices-table-wrap {
    margin-block-start: 16px;
}

.prices-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    white-space: normal;
}

.prices-table thead th:first-child { width: 34%; }
.prices-table thead th:nth-child(2) { width: 31%; }

.prices-table th,
.prices-table td {
    height: auto;
    min-height: 0;
    padding: 16px;
    border: 0;
    background: transparent;
    color: var(--price-ink);
    text-align: start;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.prices-table thead th {
    background: #eee5f4;
    color: #42304d;
    font-size: 15px;
    font-weight: 750;
}

.prices-table tbody tr + tr {
    border-block-start: 1px solid var(--price-line);
}

.prices-table tbody tr:nth-child(even) {
    background: #faf7fc;
}

.prices-table tbody th {
    font-size: 17px;
    font-weight: 750;
}

.prices-table tbody td.prices-table-amount {
    color: #33213e;
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.prices-table tbody td.prices-table-empty,
.prices-table small {
    color: var(--price-muted);
}

.prices-mobile-label {
    display: none;
}

.prices-table small {
    display: block;
    margin-block-start: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.prices-table th a,
.prices-page .prices-source-link {
    text-decoration: underline;
}

.prices-page .prices-source-link {
    font-weight: 700;
}

.prices-source-link span {
    display: inline-block;
    margin-inline-start: 3px;
}

.prices-page > :not(.prices-related) a:hover {
    text-decoration: underline;
}

.prices-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 16px;
}

.prices-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prices-links a {
    display: block;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--price-line);
    border-radius: 10px;
    background: var(--price-wash);
    font-size: 16px;
    font-weight: 650;
}

@media (max-width: 680px) {
    .prices-page {
        width: calc(100% - 28px);
    }

    .prices-table-panel {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .prices-table-panel h2 {
        padding-inline-start: 10px;
        border-inline-start: 3px solid #82599c;
    }

    .prices-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .prices-table,
    .prices-table tbody,
    .prices-table tbody th,
    .prices-table tbody td {
        display: block;
    }

    .prices-table tbody tr {
        display: grid;
        border: 1px solid var(--price-line);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 5px 14px #4626570d;
    }

    .prices-table tbody tr:nth-child(even) {
        background: #fff;
    }

    .prices-table tbody tr + tr {
        margin-block-start: 12px;
    }

    .prices-table tbody th {
        padding: 11px 15px;
        border-block-end: 1px solid #eae0f0;
        border-radius: 17px 17px 0 0;
        background: linear-gradient(105deg, #faf7fc, #f0e6f6);
    }

    .prices-table tbody th:has(> a) {
        padding: 0;
    }

    .prices-table tbody th a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 48px;
        padding: 10px 15px;
        text-decoration: none;
    }

    .prices-table tbody th a::after {
        content: '←';
        display: grid;
        flex: none;
        place-items: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #e9dcf0;
        font-size: 16px;
        line-height: 1;
    }

    .prices-table tbody td.prices-table-amount,
    .prices-table tbody td.prices-table-source {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: baseline;
        gap: 6px 12px;
    }

    .prices-table tbody td.prices-table-amount {
        margin: 10px 10px 0;
        padding: 8px 12px;
        border-radius: 10px;
        background: #f5eef9;
        color: #4b2864;
        font-size: clamp(16px, 4.7vw, 19px);
    }

    .prices-table-amount > :last-child {
        text-align: end;
    }

    .prices-mobile-label {
        display: block;
        color: var(--price-muted);
        font-size: 13px;
        font-weight: 700;
    }

    .prices-table tbody td.prices-table-source {
        gap: 6px 15px;
        padding: 10px 15px 13px;
        font-size: 15px;
    }

    .prices-table tbody td.prices-table-empty {
        margin: 8px 10px 10px;
        padding: 7px 10px;
        border: 1px dashed #ded3e7;
        border-radius: 9px;
        font-size: 14px;
    }
}
