/* The pricing page only (pricing.html). */
 /* Ensure Vuetify doesn't conflict with global resets in styles.css if any */
.v-application { background: transparent !important; }

:root {
    --primary-base: #1E6F7B;
    --primary-soft: #D6EEE8;
    --secondary: #5FA777;
    --accent: #E9B44C;
    --danger: #D45C4A;
}
[v-cloak] { display: none !important; }

/* Plans page: three roomy cards (price, price per video and the three
   numbers that differ between plans, all from /billing/plans), what
   every plan includes, questions, and a contact box. */
.plans-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.plans-eyebrow {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--icon-tile);
    color: var(--primary-deep);
    font-size: 13px;
    font-weight: 700;
}
h1.plans-title {
    margin: 0;
    font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem) !important;
    line-height: 1.08;
    text-wrap: balance;
}
.plans-sub {
    max-width: 640px;
    margin: 0;
    font-size: clamp(16px, 0.9rem + 0.35vw, 19px);
    line-height: 1.6;
    color: var(--muted);
    text-wrap: pretty;
}
.plans-trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #E3F2E8;
    color: #2F7D57;
    font-size: 15px;
    font-weight: 700;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.tier-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px 26px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(64, 45, 24, 0.06), 0 18px 40px -30px rgba(64, 45, 24, 0.4);
}
/* 2px border, so 1px less padding keeps the contents in line. */
.tier-card.is-popular {
    padding: 27px 25px;
    border: 2px solid var(--primary);
    box-shadow: 0 1px 2px rgba(64, 45, 24, 0.06), 0 30px 60px -32px rgba(30, 111, 123, 0.55);
}
/* Tile, name and tag in one row. The card is a size container so a
   narrow card (three across on a small laptop, or a small phone) can
   put the tag under the name instead of wrapping it. */
.tier-card { container-type: inline-size; }
.tier-top {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas: "logo name tag";
    align-items: center;
    column-gap: 12px;
}
.tier-top .tier-name { grid-area: name; }
.tier-top .tier-tag { grid-area: tag; justify-self: end; white-space: nowrap; }
@container (max-width: 259px) {
    .tier-top.has-tag {
        grid-template-columns: 52px minmax(0, 1fr);
        grid-template-areas: "logo name" "logo tag";
        row-gap: 4px;
    }
    .tier-top.has-tag .tier-name { align-self: end; }
    .tier-top.has-tag .tier-tag { justify-self: start; align-self: start; }
}
/* The plan's tile: the original pin on the page cream, like the plan
   pictures in Stripe (assets/images/stripe/plan-*.png). */
.tier-logo {
    grid-area: logo;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid #F1E3CF;
    background: #FFF7ED;
}
.tier-logo img {
    display: block;
    width: 38px;
    height: 38px;
}
.tier-name {
    margin: 0;
    font-size: 19px;
    line-height: 24px;
    font-weight: 800;
}
.tier-card.is-popular .tier-name {
    color: var(--primary-deep);
}
.tier-tag {
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 16px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 700;
}
.tier-tag.is-current {
    background: #DDF1E6;
    color: #2F7D57;
}
/* The current plan was cancelled: "Ends Nov 27" in amber, like the dashboard. */
.tier-tag.is-current.is-ending {
    background: #FBEBD0;
    color: #8A5A12;
}
.tier-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.tier-amount {
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.025em;
}
.tier-per {
    font-size: 15px;
    color: var(--muted);
}
.tier-unit,
.tier-yearly {
    margin-top: -12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.tier-yearly {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}
.tier-yearly b {
    color: #2F7D57;
}
.tier-who {
    margin: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 22px;
    color: var(--muted);
}
.tier-numbers,
.tier-includes {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tier-numbers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tier-numbers li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--muted);
}
.tier-numbers b {
    color: var(--text);
    font-weight: 700;
}
.tier-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--icon-tile);
    color: var(--primary);
}
.tier-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* Vuetify lets a block button grow to fill the card; keep its height
   and push it to the bottom, so the buttons line up. */
.tier-card .tier-cta {
    flex: none !important;
    margin-top: auto !important;
}
.plans-note {
    margin: 24px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}
.tier-includes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.tier-includes li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 15px;
    line-height: 21px;
    font-weight: 600;
}
.tier-includes .tier-icon {
    width: 36px;
    height: 36px;
}
/* Questions: separate white cards instead of one joined accordion. */
.plans-faq {
    row-gap: 10px;
}
.plans-faq .v-expansion-panel {
    margin: 0 !important;
    border: 1px solid var(--border);
    border-radius: 16px !important;
    background: var(--surface) !important;
}
.plans-faq .v-expansion-panel::after,
.plans-faq .v-expansion-panel__shadow {
    display: none;
}
.plans-faq .v-expansion-panel-title {
    min-height: 56px;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 700;
}
.plans-faq .v-expansion-panel-text__wrapper {
    padding: 0 18px 16px;
    font-size: 15px;
    line-height: 23px;
    color: var(--muted);
}
.plans-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 36px;
    border-radius: 24px;
    background: var(--primary-deep);
    color: #FFFFFF;
}
.plans-contact h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
}
.plans-contact p {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    color: #CFE6E1;
}
.plans-contact-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--primary-deep);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
.plans-contact-btn:hover {
    background: #E8F3F0;
}
.plans-contact-btn:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}
/* Side by side, the descriptions take the same height (2 lines, or 3
   in the narrower cards), so the numbers and buttons line up. */
@media (min-width: 960px) {
    .tier-who {
        min-height: 62px;
    }
}
@media (min-width: 960px) and (max-width: 1279px) {
    .tier-who {
        min-height: 84px;
    }
}
@media (max-width: 959px) {
    .plans-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
    }
    .tier-includes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 599px) {
    .tier-card {
        padding: 22px 20px;
    }
    .tier-card.is-popular {
        padding: 21px 19px;
    }
    .tier-amount {
        font-size: 42px;
    }
    .tier-includes {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .tier-includes li {
        padding: 12px 14px;
    }
    .plans-contact {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }
    .plans-contact h2 {
        font-size: 22px;
    }
}
