/* Pricing page - reskinned to match landing/product */

.pricing .hero {
    text-align: center;
}

.pricing .hero__grid {
    display: block;
}

.pricing .hero h1 {
    margin: 0 auto 14px;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1px;
    max-width: 24ch;
}

.pricing .hero p {
    margin: 0 auto 18px;
    color: var(--muted);
    max-width: 78ch;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.6;
}

.pillrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .82);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(91, 33, 182, .98), rgba(168, 85, 247, .98));
    box-shadow: 0 10px 16px rgba(91, 33, 182, .18);
    flex: 0 0 auto;
}

.env-switch-wrap {
    margin: 22px auto 0;
    display: flex;
    justify-content: center;
}

.segmented-wide {
    flex: 0 0 auto;
    display: inline-flex;
    width: clamp(520px, 60vw, 760px);
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 999px;
    padding: 5px;
    box-shadow: 0 12px 22px rgba(15, 23, 42, .08);
}

.segmented-wide button {
    flex: 1 1 50%;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.segmented-wide form {
    flex: 1 1 50%;
}

.segmented-wide form button {
    width: 100%;
}

.segmented-wide button[aria-pressed="true"] {
    color: #fff;
    background: linear-gradient(135deg, rgba(91, 33, 182, .98), rgba(168, 85, 247, .98));
    box-shadow: 0 14px 24px rgba(91, 33, 182, .22);
}

.segmented-wide .tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    color: var(--muted);
}

.segmented-wide button[aria-pressed="true"] .tag {
    background: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .92);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 850;
    color: #334155;
}

.mini-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(91, 33, 182, .75);
    flex: 0 0 auto;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.section-title--center {
    justify-content: center;
    text-align: center;
}

.section-title h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.3px;
}

.section-title p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    max-width: 92ch;
}

.text-muted-2 {
    color: var(--muted2);
}

.offers-head {
    border-radius: var(--radius2);
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: var(--shadow2);
    padding: 18px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .90);
    text-align: center;
}

.offers-head:before {
    content: "";
    position: absolute;
    inset: -120px -180px auto auto;
    width: 420px;
    height: 280px;
    background: radial-gradient(circle at 30% 30%, rgba(91, 33, 182, .18), transparent 62%);
    transform: rotate(10deg);
    pointer-events: none;
}

.offers-head--test {
    border-color: rgba(91, 33, 182, .18);
}

.offers-head--prod {
    border-color: rgba(168, 85, 247, .18);
}

.offers-head__top {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.offers-head h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -.3px;
    position: relative;
    z-index: 1;
}

.env-word {
    color: var(--brand);
    font-weight: 900;
    letter-spacing: .02em;
}

.offers-head p {
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 92ch;
    position: relative;
    z-index: 1;
    text-align: center;
}

.offers-head__desc {
    margin-top: 14px;
}

.offers-head__sub {
    margin-top: 18px;
}

.offers-head__separator {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 33, 182, .45), transparent);
    margin: 14px auto 10px;
    border-radius: 999px;
}

.offers-head .env-info__meta {
    justify-content: center;
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.offers-head .env-info__meta .pill {
    font-size: 12px;
    padding: 8px 12px;
    font-weight: 700;
}

.subhead {
    margin: 35px 0 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.subhead__left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 240px;
}

.subhead h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.subtease {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 74ch;
}

.subhead__right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
}

.submeta {
    font-size: 12px;
    color: var(--muted2);
    text-align: right;
    max-width: 46ch;
    padding-top: 2px;
    white-space: nowrap;
}

.hint {
    font-size: 12px;
    color: var(--muted2);
}

.subhead--hidden {
    display: none;
}

.node-ctl {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .08);
}

.node-ctl button {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .95);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.node-ctl button[type="submit"] {
    width: auto;
    height: 38px;
    padding: 0 12px;
    font-size: 12px;
}

.node-ctl input {
    width: 76px;
    height: 38px;
    text-align: center;
    font-size: 16px;
    padding: 6px 8px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .95);
}

.grid-4 {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.grid-4--hidden {
    display: none;
}

.price-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 22px;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .06);
    padding: 16px;
    position: relative;
    overflow: hidden;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-card:before {
    content: "";
    position: absolute;
    inset: -60px -80px auto auto;
    width: 240px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, rgba(91, 33, 182, .12), transparent 62%);
    pointer-events: none;
}

.price-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 2px;
}

.offer {
    font-weight: 900;
    font-size: 16px;
    letter-spacing: -.2px;
    text-align: center;
    color: #1e293b;
}

.price-card__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.price {
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.02em;
    margin: 4px 0 0;
}

.price small {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    margin-left: 6px;
}

.specs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.specs li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted);
    padding: 8px 10px;
    background: rgba(255, 255, 255, .80);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
}

.specs strong {
    color: var(--text);
    font-weight: 800;
}

.price-card__bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.btnrow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.table-wrap {
    overflow: auto;
    border-radius: 22px;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .06);
    border: 1px solid rgba(91, 33, 182, .18);
    background: rgba(255, 255, 255, .92);
    table-layout: fixed;
}

.table th, .table td {
    text-align: left;
    padding: 10px 12px;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    vertical-align: middle;
}

.table th {
    color: #1e293b;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(91, 33, 182, .12), rgba(168, 85, 247, .08));
    vertical-align: bottom;
}

.table thead th {
    border-bottom: 1px solid rgba(91, 33, 182, .22);
}

.table .th-main {
    font-size: 12px;
    line-height: 1.15;
}

.table .th-sub {
    font-size: 11px;
    font-weight: 800;
    color: rgba(30, 41, 59, .65);
    line-height: 1.1;
    margin-top: 3px;
}

.table th:first-child, .table td:first-child {
    padding-left: 16px;
    text-align: center;
}

.table th:nth-child(2), .table td:nth-child(2),
.table th:nth-child(3), .table td:nth-child(3) {
    text-align: center;
}

.table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, .72);
}

.table tbody tr:hover td {
    background: rgba(91, 33, 182, .06);
}

.table tr:last-child td {
    border-bottom: 0;
}

.table td strong {
    font-weight: 900;
}

.right {
    text-align: right;
}

.pricecol {
    text-align: right;
    white-space: nowrap;
}

.callouts {
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
    color: var(--muted2);
}

.callout {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 22px;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .06);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.callout:before {
    content: "";
    position: absolute;
    inset: -80px -120px auto auto;
    width: 320px;
    height: 240px;
    background: radial-gradient(circle at 30% 30%, rgba(91, 33, 182, .10), transparent 64%);
    pointer-events: none;
}

.callout h3 {
    margin: 0 0 6px;
    font-size: 13.5px;
}

.callout p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
}

.faq {
    display: grid;
    grid-template-columns:1.1fr .9fr;
    gap: 14px;
    align-items: start;
}

.faq--stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.faq__panel {
    width: 100%;
}

details {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 22px;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .06);
    padding: 14px 14px;
}

details + details {
    margin-top: 12px;
}

summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 13px;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

summary::-webkit-details-marker {
    display: none;
}

.chev {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(15, 23, 42, .55);
    border-bottom: 2px solid rgba(15, 23, 42, .55);
    transform: rotate(45deg);
    transition: transform .18s ease;
    flex: 0 0 auto;
}

details[open] .chev {
    transform: rotate(225deg);
}

details p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12.5px;
}

.ctaCard {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(91, 33, 182, .18);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .06);
    position: sticky;
    top: 82px;
}

.ctaCard--wide {
    max-width: none;
    position: relative;
    top: auto;
    text-align: center;
}

.ctaCard__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ctaCard h3 {
    margin: 0 0 6px;
    font-size: 24px;
}

.ctaCard p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14.5px;
}

@media (max-width: 1100px) {
    .grid-4 {
        grid-template-columns:repeat(2, 1fr);
    }

    .callouts {
        grid-template-columns:1fr;
    }

    .ctaCard {
        position: static;
    }

    .faq {
        grid-template-columns:1fr;
    }
}

@media (max-width: 820px) {
    .table {
        min-width: 760px;
    }
}

@media (max-width: 760px) {
    .segmented-wide {
        width: 100%;
    }

    .env-switch-wrap {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .grid-4 {
        grid-template-columns:1fr;
    }

    .hero {
        padding: 42px 0 12px;
    }
}
