/* Pricing (app/pages/pricing.php), and the price cards wherever they appear (the campaign page links this file too).
   The redesign's language throughout (DESIGN.md): oil, obsidian and coal grounds in alternation, 1px rules doing the structure,
   graphite for the one recommended card and for selected states, mist text, Red Hat Mono for every figure, and orange only where
   something is chosen or live (the selected billing view, a running offer's square, the primary actions).
   ----------------------------------------------------------------------- */

/* 1. Hero: the headline on the left, the price index on the right. No photo: the prices are the picture. */
.prc-hero__grid {
    display: grid;
    gap: var(--s-7);
}
@media (min-width: 992px) {
    .prc-hero { justify-content: flex-end; }
    .prc-hero__grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: start;
        gap: var(--gap) clamp(2rem, 1rem + 4vw, 6rem);
    }
}
.prc-hero__tax {
    max-width: 34rem;
    margin: var(--s-5) 0 0;
    color: var(--fg-muted);
    font-size: var(--fs-small);
}
.prc-hero__side { display: grid; gap: var(--s-5); min-width: 0; }

/* The live campaign above the index: a coal panel with a rail edge; its square is the one orange mark (it is live) */
.prc-hero__campaign {
    display: grid;
    gap: var(--s-3);
    padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: var(--c-coal);
}
.prc-hero__campaign-title {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin: 0;
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.prc-hero__mark {
    flex: none;
    width: 9px;
    height: 9px;
    background: var(--c-orange);
    transform: translateY(-1px);
}
.prc-hero__campaign-text { margin: 0; color: var(--fg); font-size: var(--fs-small); line-height: 1.5; }
.prc-hero__campaign-link { margin: 0; }

/* The price index: one ruled row per package, mono index and square terminal, the price in mono. The row is the link. */
.prc-index__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--rule);
    list-style: none;
}
.prc-index__row {
    position: relative;
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: var(--s-3);
    padding: .8125rem var(--s-2) .8125rem 0;
    border-bottom: 1px solid var(--rule);
}
.prc-index__num { display: inline-flex; align-items: center; gap: .6rem; }
.prc-index__dot {
    flex: none;
    width: 9px;
    height: 9px;
    border: 1px solid var(--rule-strong);
    background: var(--c-oil);
    transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
/* A package with a running offer: the terminal filled mist (a fact, not an action, so not orange) */
.prc-index__dot.is-offer { border-color: var(--fg-strong); background: var(--fg-strong); }
.prc-index__name {
    min-width: 0;
    color: var(--fg-strong);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}
.prc-index__name::after { content: ""; position: absolute; inset: 0; }
.prc-index__name:focus-visible { outline: none; }
.prc-index__row:has(.prc-index__name:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.prc-index__fact {
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.prc-index__row:focus-within .prc-index__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
@media (hover: hover) and (pointer: fine) {
    .prc-index__row:hover .prc-index__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
    .prc-index__row:hover .prc-index__dot { border-color: var(--fg-strong); background: var(--fg-strong); }
}

/* 2. Packages with a set price */
.prc-packages__head { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.prc-packages__group + .prc-packages__group { margin-top: var(--s-8); }
.prc-packages__group-title {
    margin: 0 0 var(--s-5);
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    letter-spacing: -.014em;
}
/* With the switch working, one group shows at a time and the switch names it, so its heading is read, not shown */
.prc-packages.is-switched .prc-packages__group-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.prc-packages.is-switched .prc-packages__group + .prc-packages__group { margin-top: 0; }
.prc-packages__group[hidden] { display: none; }
.prc-packages__terms {
    max-width: 44rem;
    margin: var(--s-6) 0 0;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    line-height: 1.55;
}

/* The billing switch: a segmented control in the tabs' language. The selected view rises to graphite with its orange dot;
   the dot is drawn in both so the text never moves. Shown only once the script runs (it does nothing without it). */
.prc-switch {
    display: inline-grid;
    grid-auto-flow: column;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--c-oil);
}
.prc-switch[hidden] { display: none; }
.prc-switch__option { position: relative; display: flex; }
.prc-switch__option input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.prc-switch__option span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--fg);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1.2;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.prc-switch__option span::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
}
.prc-switch__option input:checked + span {
    background: var(--c-graphite);
    box-shadow: inset 0 0 0 1px var(--rule-strong);
    color: var(--fg-strong);
}
.prc-switch__option input:checked + span::before { background: var(--c-orange); }
.prc-switch__option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    .prc-switch__option input:not(:checked):hover + span { color: var(--fg-strong); }
}
@media (forced-colors: active) {
    .prc-switch__option input:checked + span { outline: 2px solid Highlight; }
}

/* The cards: coal tiles with a 1px edge; the recommended one raised to graphite with a rail edge */
.prc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: var(--gap);
    align-items: stretch;
}
@media (min-width: 992px) {
    .prc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .prc-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 56rem; }
    .prc-cards--one { grid-template-columns: minmax(0, 30rem); }
}
.prc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--c-coal);
    scroll-margin-top: calc(72px + var(--s-5));
}
.prc-card.is-featured {
    border-color: var(--rule-strong);
    background: var(--c-graphite);
}
.prc-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem 1rem;
}
.prc-card__title {
    margin: 0;
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    line-height: 1.2;
    letter-spacing: -.014em;
}
.prc-card__badge { flex: none; }
.prc-card.is-featured .prc-card__badge { border-color: var(--rule-strong); background: var(--c-coal); }
.prc-card__tagline {
    margin: .75rem 0 0;
    color: var(--fg);
    font-size: var(--fs-small);
    line-height: 1.5;
}
.prc-card__price {
    margin-top: var(--s-6);
    padding-top: var(--s-5);
    border-top: 1px solid var(--rule);
}
.prc-card__amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem;
    margin: 0;
}
.prc-card__from { color: var(--fg-muted); font-size: var(--fs-small); font-weight: 600; }
.prc-card__figure {
    color: var(--fg-strong);
    font-family: var(--font-mono);
    font-size: clamp(2.125rem, 1.75rem + 1.4vw, 2.875rem);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -.03em;
}
.prc-card__billing {
    margin: .625rem 0 0;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    line-height: 1.45;
}
.prc-card__promo,
.prc-card__was {
    margin: .5rem 0 0;
    color: var(--fg);
    font-size: var(--fs-small);
    line-height: 1.45;
}
.prc-card__was s,
.prc-sum__note s { color: var(--fg-muted); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
/* A running offer: its name, after the one orange square that says it is live */
.prc-card__offer {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: .875rem 0 0;
    color: var(--fg-strong);
    font-size: var(--fs-label);
    font-weight: 620;
    letter-spacing: .02em;
}
.prc-card__offer-mark { flex: none; width: 8px; height: 8px; background: var(--c-orange); }
.prc-card__until { margin: .375rem 0 0; color: var(--fg-muted); font-size: var(--fs-label); }
.prc-card .wg-countdown { margin-top: var(--s-4); }
.prc-card__facts {
    margin: var(--s-5) 0 0;
    border-top: 1px solid var(--rule);
}
.prc-card__facts > div {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: .75rem;
    padding: .625rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: var(--fs-small);
    line-height: 1.45;
}
.prc-card__facts dt { color: var(--fg-muted); }
.prc-card__facts dd { margin: 0; color: var(--fg-strong); }
.prc-card__list { margin-top: var(--s-5); }
.prc-card__list-title {
    margin: 0 0 .5rem;
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: var(--track-label);
}
.prc-card__features { font-size: var(--fs-small); line-height: 1.5; }
.prc-card__more-count { margin: .25rem 0 0 1.875rem; color: var(--fg-muted); font-size: var(--fs-label); }
.prc-card__foot {
    display: grid;
    gap: var(--s-4);
    justify-items: start;
    margin-top: auto;
    padding-top: var(--s-6);
}
.prc-card__foot .wg-btn--block { width: 100%; }
.prc-card__more { font-size: var(--fs-small); }

/* A CTA whose offer ran out while the page was open (commerce.js): dashed and inert, the server refuses the price anyway */
a.is-ended[aria-disabled="true"] {
    border-style: dashed;
    opacity: .6;
    pointer-events: none;
}

/* 3. Scoped to you: ruled rows beside a sticky head */
.prc-scoped__grid { display: grid; gap: var(--s-7); }
@media (min-width: 992px) {
    .prc-scoped__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: start;
        gap: var(--gap) clamp(2rem, 1rem + 4vw, 6rem);
    }
    .prc-scoped__head { position: sticky; top: calc(72px + var(--s-6)); }
}
.prc-scoped__head .wg-title { margin-bottom: var(--s-4); }
.prc-scoped__lead { max-width: 30rem; margin: 0; color: var(--fg); font-size: var(--fs-lead); line-height: 1.5; }
.prc-scoped__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--rule);
    list-style: none;
}
.prc-scoped__row {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: var(--s-4) var(--s-3);
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--rule);
    scroll-margin-top: calc(72px + var(--s-5));
}
.prc-scoped__num { display: inline-flex; align-items: center; gap: .6rem; align-self: start; padding-top: .3rem; }
.prc-scoped__dot { flex: none; width: 9px; height: 9px; border: 1px solid var(--rule-strong); background: var(--surface-2); }
.prc-scoped__main { min-width: 0; }
.prc-scoped__title {
    margin: 0;
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.prc-scoped__text { max-width: 34rem; margin: .3rem 0 0; color: var(--fg); font-size: var(--fs-small); line-height: 1.5; }
.prc-scoped__fact { margin: .45rem 0 0; color: var(--fg-muted); font-size: var(--fs-label); line-height: 1.45; }
.prc-scoped__actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-3) var(--s-5);
}

/* 4. Compare: a coal table in a scroll frame of its own, the first column held while it scrolls */
.prc-compare__frame {
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--c-coal);
}
.prc-compare__frame:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.prc-compare__table {
    width: 100%;
    min-width: 40rem;
    border-collapse: collapse;
    font-size: var(--fs-small);
    line-height: 1.45;
}
.prc-compare__table thead th {
    padding: 1.125rem 1rem;
    border-bottom: 1px solid var(--rule-strong);
    color: var(--fg-strong);
    font-weight: 620;
    text-align: left;
    vertical-align: bottom;
}
.prc-compare__corner,
.prc-compare__table tbody th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--c-coal);
}
.prc-compare__table tbody th[scope="row"] {
    min-width: 12rem;
    padding: .875rem 1rem;
    border-top: 1px solid var(--rule);
    color: var(--fg-strong);
    font-weight: 500;
    text-align: left;
}
.prc-compare__table td {
    padding: .875rem 1rem;
    border-top: 1px solid var(--rule);
    color: var(--fg);
}
.prc-compare__table .is-featured { background: color-mix(in srgb, var(--c-graphite) 70%, var(--c-coal)); }
.prc-compare__group th {
    padding: 1.5rem 1rem .5rem;
    border-top: 1px solid var(--rule);
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-align: left;
}
.prc-compare__desc { display: block; margin-top: .2rem; color: var(--fg-muted); font-size: var(--fs-label); font-weight: 400; }
/* Marks drawn with borders: a mist tick for included, a short rail dash for not included */
.prc-compare__mark { display: inline-block; vertical-align: middle; }
.is-yes .prc-compare__mark {
    width: 6px;
    height: 11px;
    border: solid var(--fg-strong);
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}
.is-no .prc-compare__mark { width: 10px; height: 0; border-top: 1.5px solid var(--rule-strong); }

/* 5. The calculator: the form on seven columns, the summary on five, held in view as the form scrolls */
.prc-calc { display: grid; gap: var(--s-7); }
@media (min-width: 992px) {
    .prc-calc {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: start;
        gap: var(--gap) clamp(2rem, 1rem + 3vw, 4.5rem);
    }
}
.prc-calc__form { display: grid; gap: var(--s-7); min-width: 0; }
.prc-calc__group,
.prc-calc__options {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.prc-calc__options { display: grid; gap: var(--s-6); }
.prc-calc__options[hidden] { display: none; }
.prc-calc__legend,
.prc-calc .wg-field__label {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0;
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
    letter-spacing: -.01em;
}
.prc-calc__legend { margin-bottom: var(--s-4); }
.prc-calc .wg-field__label .wg-optional { font-size: var(--fs-small); font-weight: 400; }
.prc-calc__tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: var(--s-2);
}
.prc-calc__tile,
.prc-calc__choice { display: flex; }
.prc-calc__tile > span,
.prc-calc__choice > span { width: 100%; }
.prc-calc .wg-choice > span b { display: block; }
.prc-calc .wg-choice > span small { font-family: inherit; }
.prc-calc__qty .wg-input { max-width: 8rem; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.prc-calc__code .wg-input { max-width: 20rem; font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.prc-calc__none { margin: 0; color: var(--fg-muted); font-size: var(--fs-small); }
.prc-calc__set { display: grid; gap: var(--s-2); }
.prc-calc__set-title { margin-bottom: .25rem; color: var(--fg-strong); font-size: var(--fs-small); font-weight: 620; }
.prc-calc__set-hint { margin: 0 0 var(--s-2); }
.prc-calc__item { display: flex; align-items: stretch; gap: var(--s-2); min-width: 0; }
.prc-calc__choice { flex: 1 1 auto; min-width: 0; }
.prc-calc__item-qty { flex: none; width: 5.5rem; }
.prc-calc__item-qty .wg-input { height: 100%; min-height: 3rem; padding-right: 2.25rem; font-family: var(--font-mono); }
.prc-calc__item-qty.wg-select::after { right: .875rem; }
.prc-calc__why { opacity: .9; }
.prc-calc__submit { margin: 0; }

/* The summary: an oil panel that floats beside the form (the panel shadow: it sits above the page) */
.prc-calc__summary {
    min-width: 0;
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: var(--c-oil);
}
@media (min-width: 992px) {
    .prc-calc__summary {
        position: sticky;
        top: calc(72px + var(--s-5));
        box-shadow: var(--shadow-panel);
    }
}
.prc-calc__summary-title {
    margin: 0 0 var(--s-4);
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
}
.prc-calc__result { transition: opacity var(--dur-fast) var(--ease-out); }
.prc-calc.is-busy .prc-calc__result { opacity: .55; }
.prc-sum__lines {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--rule);
    list-style: none;
}
.prc-sum__line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-3);
    padding: .75rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: var(--fs-small);
    line-height: 1.45;
}
.prc-sum__label { min-width: 0; color: var(--fg-strong); }
.prc-sum__qty { color: var(--fg-muted); font-family: var(--font-mono); }
.prc-sum__note { display: block; margin-top: .15rem; color: var(--fg-muted); font-size: var(--fs-label); }
.prc-sum__amount {
    color: var(--fg-strong);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}
.prc-sum__code {
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    margin: 0;
    padding: .75rem 0;
    border-bottom: 1px solid var(--rule);
    color: var(--fg);
    font-size: var(--fs-small);
}
.prc-sum__totals { display: grid; gap: .375rem; margin: var(--s-5) 0 0; }
.prc-sum__totals > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem var(--s-3); }
.prc-sum__totals dt { color: var(--fg); font-size: var(--fs-small); font-weight: 600; }
.prc-sum__totals dd {
    margin: 0;
    color: var(--fg-strong);
    font-family: var(--font-mono);
    font-size: clamp(1.625rem, 1.4rem + .8vw, 2rem);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}
.prc-sum__total.is-period dd { font-size: 1.125rem; }
.prc-sum__terms,
.prc-calc__tax,
.prc-calc__note {
    margin: var(--s-4) 0 0;
    color: var(--fg-muted);
    font-size: var(--fs-label);
    line-height: 1.5;
}
.prc-sum__notices {
    display: grid;
    gap: .375rem;
    margin: var(--s-4) 0 0;
    padding: 0;
    color: var(--fg);
    font-size: var(--fs-small);
    line-height: 1.45;
    list-style: none;
}
.prc-sum__notices li { position: relative; padding-left: 1.125rem; }
.prc-sum__notices li::before {
    content: "";
    position: absolute;
    top: .55em;
    left: 0;
    width: 6px;
    height: 6px;
    border: 1px solid var(--rule-strong);
}
.prc-sum__errors { margin: 0; }
.prc-sum__errors p + p { margin-top: .375rem; }
.prc-calc__request { margin-top: var(--s-5); }

/* 6. What every package includes, beside the four steps */
.prc-included__grid { display: grid; gap: var(--s-8); }
@media (min-width: 992px) {
    .prc-included__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: start;
        gap: var(--gap) clamp(2rem, 1rem + 4vw, 6rem);
    }
}
.prc-included__list { margin-top: var(--s-5); }
.prc-included__list li + li { margin-top: .25rem; }
.prc-included__more { margin: var(--s-6) 0 0; }
.prc-included__steps-title {
    margin: 0 0 var(--s-6);
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    letter-spacing: -.014em;
}

/* 7. Testimonials the owner confirmed: quotes over a rail rule, no cards */
.prc-voices__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: var(--s-7) var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.prc-voices__item figure { margin: 0; padding-top: var(--s-5); border-top: 1px solid var(--rule-strong); }
.prc-voices__item blockquote { margin: 0; }
.prc-voices__item blockquote p { margin: 0; color: var(--fg-strong); font-size: var(--fs-lead); line-height: 1.5; }
.prc-voices__item figcaption { margin-top: var(--s-4); color: var(--fg-muted); font-size: var(--fs-small); }
.prc-voices__name { display: block; color: var(--fg-strong); font-weight: 600; }

/* 8. Questions: the head held beside the list */
.prc-faq__grid { display: grid; gap: var(--s-7); }
@media (min-width: 992px) {
    .prc-faq__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: start;
        gap: var(--gap) clamp(2rem, 1rem + 4vw, 6rem);
    }
    .prc-faq__head { position: sticky; top: calc(72px + var(--s-6)); }
}
.prc-faq__more { margin: var(--s-4) 0 0; }

/* 9. The custom quote band: the raised graphite band, one line of text and the way to ask */
.prc-custom { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.prc-custom__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5) var(--s-7);
}
.prc-custom__title {
    margin: 0 0 .5rem;
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    letter-spacing: -.014em;
}
.prc-custom__text { max-width: 40rem; margin: 0; color: var(--fg); }

@media print {
    .prc-switch,
    .prc-calc__submit,
    .prc-calc__request { display: none !important; }
    .prc-packages__group[hidden] { display: block !important; }
    .prc-calc__summary { position: static; box-shadow: none; }
}

/* Lineup (owner's packages, 2026-11-18): an audience switch, then channel tabs for the monthly plans. Without the script every
   panel shows, one after another, each with its heading; with it one panel shows and the switch names it. */
.prc-panel + .prc-panel { margin-top: var(--s-8); padding-top: var(--s-8); border-top: 1px solid var(--rule); }
.prc-panel[hidden], .prc-channel[hidden] { display: none; }
.prc-panel__title {
    margin: 0 0 var(--s-3);
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    letter-spacing: -.014em;
}
.prc-panel__lead { max-width: 40rem; margin: 0 0 var(--s-6); color: var(--fg); font-size: var(--fs-lead); line-height: 1.5; }
.prc-lineup.is-switched .prc-panel + .prc-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.prc-switch--channels { margin: 0 0 var(--s-6); flex-wrap: wrap; }
.prc-channel + .prc-channel { margin-top: var(--s-7); }
.prc-channel__title {
    margin: 0 0 var(--s-4);
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
    letter-spacing: -.01em;
}
.prc-lineup.is-channel-switched .prc-channel__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.prc-lineup.is-channel-switched .prc-channel + .prc-channel { margin-top: 0; }
.prc-card__terms { margin: .375rem 0 0; color: var(--fg-muted); font-size: var(--fs-label); line-height: 1.45; letter-spacing: 0; }

/* The all-in-one partner: one ruled row under the channel plans */
.prc-partner {
    display: grid;
    gap: var(--s-4) var(--s-6);
    margin-top: var(--s-7);
    padding: var(--s-6) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    scroll-margin-top: calc(72px + var(--s-5));
}
@media (min-width: 992px) {
    .prc-partner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; }
}
.prc-partner__eyebrow { margin: 0 0 var(--s-2); color: var(--fg-muted); font-size: var(--fs-label); letter-spacing: var(--track-label, .08em); text-transform: uppercase; }
.prc-partner__title { margin: 0; color: var(--fg-strong); font-size: var(--fs-h4); font-weight: 620; line-height: 1.3; letter-spacing: -.01em; }
.prc-partner__text { max-width: 34rem; margin: .3rem 0 0; color: var(--fg); font-size: var(--fs-small); line-height: 1.5; }
.prc-partner__amount { margin: 0; color: var(--fg-strong); font-size: var(--fs-h3); font-weight: 620; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.prc-partner__per { color: var(--fg-muted); font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; }
.prc-partner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }

/* Start small: four first steps in a row on wide screens */
@media (min-width: 1200px) {
    .prc-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .prc-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Scoped to you: the starting price under the description */
.prc-scoped__price { margin: .5rem 0 0; color: var(--fg-strong); font-size: var(--fs-small); font-weight: 620; font-variant-numeric: tabular-nums; }

/* Package details and the software list (migration 0007, 2026-11-19) */
.prc-card__details { margin-top: var(--s-4); border-top: 1px solid var(--rule); padding-top: var(--s-3); font-size: var(--fs-small); }
.prc-card__details summary { cursor: pointer; color: var(--fg-strong); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.prc-card__details summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.prc-card__details-title { margin: var(--s-3) 0 var(--s-1); color: var(--fg-strong); font-weight: 600; }
.prc-card__details-list { margin: 0; padding-left: 1.1em; color: var(--fg-muted); }
.prc-card__details-list li + li { margin-top: var(--s-1); }
.prc-software__kind { margin: 0 0 var(--s-2); font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent-fg); }
