/* TossSpace Guest / Free / Pro comparison */

.plans-shell {
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 116px 0 56px;
}

.plans-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 24px;
    align-items: end;
    padding: 30px;
    border: 1px solid rgba(34, 49, 82, 0.11);
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 0%, rgba(248, 209, 118, 0.34), transparent 34%),
        radial-gradient(circle at 96% 100%, rgba(183, 210, 255, 0.26), transparent 36%),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 26px 80px rgba(34, 49, 82, 0.10);
    backdrop-filter: blur(18px);
}

.plans-hero-copy h1 {
    max-width: 760px;
    margin: 8px 0 12px;
    color: #223152;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.plans-hero-copy > p:last-child {
    max-width: 690px;
    margin: 0;
    color: #687183;
    font-size: 15px;
    line-height: 1.65;
}

.plans-current-summary {
    min-width: 0;
    padding: 18px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
}

.plans-current-summary > span {
    color: #8a6c1b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.plans-current-summary strong {
    color: #223152;
    font-size: 20px;
    line-height: 1.25;
}

.plans-current-summary small {
    color: #7a8290;
    font-size: 11px;
    line-height: 1.5;
}

.plans-card-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.plans-card {
    position: relative;
    min-width: 0;
    padding: 23px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 18px 56px rgba(34, 49, 82, 0.08);
}

.plans-card-free {
    border-color: rgba(248, 209, 118, 0.85);
    background:
        linear-gradient(145deg, rgba(248, 209, 118, 0.18), rgba(255, 255, 255, 0.94) 48%);
}

.plans-card-pro {
    border-color: rgba(34, 49, 82, 0.18);
    background:
        radial-gradient(circle at 100% 0%, rgba(248, 209, 118, 0.25), transparent 34%),
        linear-gradient(145deg, #223152 0%, #30446f 100%);
    box-shadow: 0 22px 70px rgba(34, 49, 82, 0.18);
}

.plans-card.is-current {
    outline: 3px solid rgba(248, 209, 118, 0.34);
    outline-offset: 2px;
}

.plans-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.plans-card-head h2 {
    margin: 4px 0 0;
    color: #223152;
    font-size: 26px;
}

.plans-card-pro .plans-card-head h2 {
    color: #ffffff;
}

.plans-tier {
    color: #8a6c1b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.11em;
}

.plans-card-pro .plans-tier {
    color: #f8d176;
}

.plans-current-badge {
    padding: 5px 8px;
    border-radius: 999px;
    color: #223152;
    background: #f8d176;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.plans-price {
    margin: 18px 0 7px;
    color: #223152;
    font-size: 19px;
    font-weight: 850;
}

.plans-price small {
    color: #7a8290;
    font-size: 10px;
    font-weight: 700;
}

.plans-card-pro .plans-price,
.plans-card-pro .plans-price small {
    color: #ffffff;
}

.plans-card-copy {
    min-height: 48px;
    margin: 0;
    color: #6c7586;
    font-size: 12px;
    line-height: 1.55;
}

.plans-card-pro .plans-card-copy {
    color: rgba(255, 255, 255, 0.72);
}

.plans-key-limits {
    margin: 18px 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.plans-key-limits > div {
    min-width: 0;
    padding: 12px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(34, 49, 82, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.68);
}

.plans-key-limits span {
    color: #7a8290;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.plans-key-limits strong {
    color: #223152;
    font-size: 14px;
}

.plans-card-pro .plans-key-limits > div {
    border-color: rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.07);
}

.plans-card-pro .plans-key-limits span {
    color: rgba(255, 255, 255, 0.60);
}

.plans-card-pro .plans-key-limits strong {
    color: #ffffff;
}

.plans-action {
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 11px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
}

.plans-action.secondary {
    color: #223152;
    background: rgba(34, 49, 82, 0.06);
}

.plans-action.primary {
    color: #223152;
    background: #f8d176;
}

.plans-action.pro {
    color: #223152;
    background: #f8d176;
}

.plans-action:disabled {
    cursor: default;
    opacity: 0.78;
}

.plans-compare-section {
    margin-top: 22px;
    padding: 26px;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 18px 56px rgba(34, 49, 82, 0.07);
}

.plans-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
}

.plans-section-heading h2 {
    margin: 4px 0 0;
    color: #223152;
    font-size: 25px;
}

.plans-section-heading > p {
    max-width: 430px;
    margin: 0;
    color: #7a8290;
    font-size: 11px;
    line-height: 1.55;
    text-align: right;
}

.plans-table-wrap {
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid rgba(34, 49, 82, 0.09);
    border-radius: 17px;
}

.plans-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    color: #596275;
    background: #ffffff;
    font-size: 11px;
}

.plans-table th,
.plans-table td {
    padding: 13px 15px;
    border-bottom: 1px solid rgba(34, 49, 82, 0.07);
    text-align: center;
}

.plans-table thead th {
    position: sticky;
    top: 0;
    color: #223152;
    background: #fffdf8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.plans-table th:first-child,
.plans-table td:first-child,
.plans-table tbody th {
    text-align: left;
}

.plans-table tbody th {
    color: #223152;
    font-weight: 800;
}

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

.plans-table .pro-column {
    background: rgba(248, 209, 118, 0.10);
}

.plans-table .yes {
    color: #223152;
    font-weight: 900;
}

.plans-table .no {
    color: #a4a9b2;
}

.plans-note {
    margin: 16px 0 0;
    color: #616a7b;
    font-size: 10px;
    line-height: 1.55;
}

.plans-note.subtle {
    color: #8b92a0;
}

body.route-plans .site-footer {
    margin-top: 0;
}

@media (max-width: 900px) {
    .plans-hero {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .plans-card-grid {
        grid-template-columns: 1fr;
    }

    .plans-card-copy {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .plans-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 94px;
    }

    .plans-hero,
    .plans-compare-section {
        padding: 20px;
        border-radius: 20px;
    }

    .plans-hero-copy h1 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .plans-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .plans-section-heading > p {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 460px) {
    .plans-key-limits {
        grid-template-columns: 1fr;
    }
}
