/* ==========================================================================
   Temples99 — pricing page styles
   --------------------------------------------------------------------------
   Loaded ONLY by /pricing.html. Everything here is namespaced `.tp-` so it can
   never collide with common-site.css or temp-styles-site.css, both of which are
   loaded before it on that page.

   Palette is taken from the brand tokens already defined in temp-styles-site.css:
       --temcol-primary-color    #FAAF26  (gold)
       --temcol-secondary-color  #b11f25  (deep red)
   They are re-declared below with a fallback so this file also renders correctly
   if it is ever loaded on a page that does not carry the token definitions.

   NO ICON FONT. Every tick, cross and glyph on this page is an inline <svg>
   <use> reference to the sprite at the top of pricing.html. That is deliberate:
   the site loads the FULL Material Icons family, and the Parks99 pricing page
   had to maintain a hand-written `icon_names=` subset in which any icon assigned
   from CSS (rather than from a class in the markup) was invisible to a class
   scan and shipped as its own literal text, e.g. "check_circle". An SVG sprite
   has no subset to keep in step and no text fallback to leak.
   ========================================================================== */

.tp-page {
    --tp-gold: var(--temcol-primary-color, #FAAF26);
    --tp-red: var(--temcol-secondary-color, #b11f25);
    --tp-ink: #2b1d16;
    --tp-muted: #6b5a52;
    --tp-cream: #fffaf1;
    --tp-line: #ecdfc9;
    --tp-line-soft: #f4ebdc;
    --tp-ok: #1c7c54;
    --tp-no: #b9a89c;
    background: var(--tp-cream);
    color: var(--tp-ink);
}

/* The sprite itself is never painted; only its <symbol>s are referenced. */
.tp-sprite {
    display: none;
}

.tp-page svg {
    /* Flex children default to stretch, which distorts an svg that has no
       intrinsic height set on its own line. */
    flex: none;
}

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */
.tp-section {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.tp-section--alt {
    background: #fff;
    border-top: 1px solid var(--tp-line-soft);
    border-bottom: 1px solid var(--tp-line-soft);
}

.tp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Oswald', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tp-red);
    margin-bottom: .75rem;
}

.tp-eyebrow::before,
.tp-eyebrow::after {
    content: "";
    width: 1.75rem;
    height: 1px;
    background: var(--tp-gold);
}

.tp-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.18;
    color: var(--tp-ink);
    font-size: clamp(1.5rem, 3.4vw, 2.35rem);
    margin-bottom: .75rem;
}

.tp-lede {
    color: var(--tp-muted);
    max-width: 46rem;
    margin-inline: auto;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.tp-hero {
    background:
        radial-gradient(1100px 420px at 50% -180px, rgba(250, 175, 38, .28), transparent 70%),
        linear-gradient(180deg, #fff8ea 0%, var(--tp-cream) 100%);
    border-bottom: 1px solid var(--tp-line);
    padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.tp-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.12;
    font-size: clamp(1.85rem, 5.2vw, 3.1rem);
    margin-bottom: 1rem;
}

.tp-hero h1 em {
    font-style: normal;
    color: var(--tp-red);
}

/* The four-promise strip under the hero headline. A grid rather than a flex row
   so the four items keep equal widths as they reflow to 2-up and then 1-up,
   instead of leaving one orphan stretched across the last line. */
.tp-promises {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    max-width: 60rem;
    margin: 2rem auto 0;
    padding: 0;
    list-style: none;
}

.tp-promise {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    text-align: left;
    background: #fff;
    border: 1px solid var(--tp-line);
    border-radius: 14px;
    padding: .8rem .85rem;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 2px 10px rgba(122, 74, 20, .05);
}

.tp-promise svg {
    width: 22px;
    height: 22px;
    color: var(--tp-red);
}

@media (max-width: 767.98px) {
    .tp-promises {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 399.98px) {
    .tp-promises {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Plan cards
   -------------------------------------------------------------------------- */
.tp-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .tp-plans {
        grid-template-columns: minmax(0, 1fr);
        max-width: 34rem;
        margin-inline: auto;
    }
}

.tp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tp-line);
    border-radius: 22px;
    padding: 2rem 1.5rem 1.65rem;
    box-shadow: 0 6px 26px rgba(122, 74, 20, .07);
}

.tp-card--featured {
    border: 2px solid var(--tp-red);
    box-shadow: 0 14px 40px rgba(177, 31, 37, .16);
}

@media (min-width: 992px) {
    /* Lift the popular plan out of the row. -1rem outer against +0.5rem inner keeps the
       thicker border from shifting the card content off the shared baseline. */
    .tp-card--featured {
        margin-top: -1rem;
        padding-top: 2.5rem;
    }
}

.tp-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--tp-red);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .38rem 1.1rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(177, 31, 37, .3);
}

/* The plan mark is an arched niche — round at the top, squared at the base —
   echoing a temple doorway. It is the one decorative motif on the page. */
.tp-mark {
    width: 58px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 29px 29px 9px 9px;
    background: linear-gradient(165deg, #fff1d2, #fadfae);
    border: 1px solid var(--tp-gold);
    color: var(--tp-red);
    margin-bottom: 1rem;
}

.tp-card--featured .tp-mark {
    background: linear-gradient(165deg, var(--tp-red), #8d1319);
    border-color: var(--tp-red);
    color: #ffd98a;
}

.tp-mark svg {
    width: 27px;
    height: 27px;
}

.tp-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: .1rem;
}

.tp-for {
    color: var(--tp-muted);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 1.15rem;
    min-height: 2.9rem;
}

.tp-price {
    display: flex;
    align-items: baseline;
    gap: .2rem;
    font-family: 'Oswald', sans-serif;
    color: var(--tp-ink);
}

.tp-price .tp-cur {
    font-size: 1.3rem;
    font-weight: 500;
}

.tp-price .tp-amt {
    font-size: clamp(2.1rem, 6vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.01em;
}

.tp-price .tp-per {
    font-family: 'Outfit', sans-serif;
    font-size: .92rem;
    color: var(--tp-muted);
    margin-left: .15rem;
}

.tp-annual {
    font-size: .84rem;
    color: var(--tp-muted);
    margin-top: .3rem;
}

.tp-annual b {
    color: var(--tp-ok);
}

.tp-quota {
    margin: 1.15rem 0;
    padding: .85rem 1rem;
    background: var(--tp-cream);
    border: 1px dashed var(--tp-line);
    border-radius: 12px;
}

.tp-quota-n {
    font-family: 'Oswald', sans-serif;
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--tp-red);
    line-height: 1.2;
}

.tp-quota-l {
    font-size: .82rem;
    color: var(--tp-muted);
    line-height: 1.5;
}

.tp-cta {
    display: block;
    width: 100%;
    text-align: center;
    /* font/cursor are reset explicitly because .tp-cta is used on <button> elements,
       which do not inherit the page font and do not get a pointer cursor. */
    font: inherit;
    cursor: pointer;
    font-weight: 600;
    padding: .75rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--tp-red);
    color: var(--tp-red);
    background: #fff;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.tp-cta:hover,
.tp-cta:focus-visible {
    background: var(--tp-red);
    color: #fff;
}

.tp-cta--solid {
    background: var(--tp-red);
    color: #fff;
}

.tp-cta--solid:hover,
.tp-cta--solid:focus-visible {
    background: #8d1319;
    border-color: #8d1319;
    color: #fff;
}

.tp-included {
    font-family: 'Oswald', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tp-muted);
    margin: 1.4rem 0 .6rem;
}

.tp-feats {
    list-style: none;
    padding: 0;
    margin: 0 0 .5rem;
    display: grid;
    gap: .55rem;
    /* Pushes the card's CTA to a shared baseline across the three cards even
       though the lists are different lengths. */
    flex: 1 1 auto;
}

.tp-feats li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    font-size: .9rem;
    line-height: 1.55;
}

.tp-feats svg {
    width: 18px;
    height: 18px;
    margin-top: .16rem;
    color: var(--tp-ok);
}

.tp-card-foot {
    margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   "What counts as one transaction" + sizing guide tables
   -------------------------------------------------------------------------- */
.tp-tablewrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--tp-line);
    border-radius: 16px;
    background: #fff;
}

.tp-table {
    width: 100%;
    min-width: 34rem;
    margin: 0;
    border-collapse: collapse;
    font-size: .92rem;
}

.tp-table th,
.tp-table td {
    padding: .8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--tp-line-soft);
    vertical-align: middle;
}

.tp-table thead th {
    font-family: 'Oswald', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tp-muted);
    background: var(--tp-cream);
    border-bottom: 1px solid var(--tp-line);
    white-space: nowrap;
}

.tp-table tbody tr:last-child th,
.tp-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Comparison table: the feature column is the row header, the three plan
   columns are narrow and centred. It needs more room than the two 3-column
   tables above it - at 34rem the four columns crush the feature labels into
   three-line stacks on a phone - so it gets its own floor and scrolls instead. */
.tp-compare {
    min-width: 44rem;
}

.tp-compare th[scope="row"] {
    font-weight: 500;
    color: var(--tp-ink);
}

.tp-compare td {
    text-align: center;
    white-space: nowrap;
}

.tp-compare thead th:not(:first-child) {
    text-align: center;
}

.tp-compare .tp-group th {
    background: #fff7e8;
    font-family: 'Oswald', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tp-red);
}

.tp-compare svg {
    width: 19px;
    height: 19px;
}

.tp-compare .tp-y {
    color: var(--tp-ok);
}

.tp-compare .tp-n {
    color: var(--tp-no);
}

.tp-scrollnote {
    font-size: .82rem;
    color: var(--tp-muted);
    margin-top: .6rem;
}

@media (min-width: 992px) {
    .tp-scrollnote {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.tp-faq {
    max-width: 52rem;
    margin-inline: auto;
    display: grid;
    gap: .75rem;
}

.tp-faq details {
    background: #fff;
    border: 1px solid var(--tp-line);
    border-radius: 14px;
    overflow: hidden;
}

.tp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
}

/* Safari still paints its own disclosure triangle without this. */
.tp-faq summary::-webkit-details-marker {
    display: none;
}

.tp-faq summary:focus-visible {
    outline: 2px solid var(--tp-gold);
    outline-offset: -2px;
}

.tp-faq summary svg {
    width: 20px;
    height: 20px;
    color: var(--tp-red);
    transition: transform .2s ease;
}

.tp-faq details[open] summary svg {
    transform: rotate(180deg);
}

.tp-faq .tp-a {
    padding: 0 1.15rem 1.1rem;
    color: var(--tp-muted);
    line-height: 1.75;
    font-size: .93rem;
}

@media (prefers-reduced-motion: reduce) {
    .tp-faq summary svg {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */
.tp-close {
    background: linear-gradient(140deg, var(--tp-red) 0%, #8d1319 100%);
    color: #fff;
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.tp-close h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    margin-bottom: .85rem;
}

.tp-close p {
    color: #ffe6c4;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
    line-height: 1.75;
}

.tp-close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.tp-btn-gold,
.tp-btn-ghost {
    display: inline-block;
    /* Same reason as .tp-cta: "Book a Free Demo" is a <button>, "Talk to Sales" an <a>,
       and they have to come out identical. */
    font: inherit;
    cursor: pointer;
    font-weight: 600;
    padding: .8rem 1.9rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1.5px solid transparent;
}

.tp-btn-gold {
    background: var(--tp-gold);
    color: #4a2b06;
}

.tp-btn-gold:hover,
.tp-btn-gold:focus-visible {
    background: #ffc257;
    color: #4a2b06;
}

.tp-btn-ghost {
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}

.tp-btn-ghost:hover,
.tp-btn-ghost:focus-visible {
    background: #fff;
    color: var(--tp-red);
}

/* --------------------------------------------------------------------------
   Fine print
   -------------------------------------------------------------------------- */
.tp-fineprint {
    font-size: .83rem;
    color: var(--tp-muted);
    line-height: 1.7;
    max-width: 52rem;
    margin: 1.5rem auto 0;
    text-align: center;
}

/* ==========================================================================
   Dynamic page furniture
   --------------------------------------------------------------------------
   Everything below styles markup that temples99-pricing.js builds, or that
   only the purchase flow uses. It is separated from the block above because
   the block above renders with no JavaScript at all and this does not.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Billing toggle
   -------------------------------------------------------------------------- */
/* flex + width:fit-content rather than inline-flex: the pill still hugs its two
   buttons, but `margin: 0 auto` can centre it without a wrapper element. */
.tp-billing {
    display: flex;
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25rem;
    padding: .25rem;
    margin: 0 auto 2rem;
    background: #fff;
    border: 1px solid var(--tp-line);
    border-radius: 999px;
}

.tp-billing__btn {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: var(--tp-muted);
    font-weight: 600;
    font-size: .9rem;
    padding: .55rem 1.15rem;
    border-radius: 999px;
    transition: background .18s ease, color .18s ease;
}

.tp-billing__btn.is-active {
    background: var(--tp-red);
    color: #fff;
}

.tp-billing__btn:focus-visible {
    outline: 2px solid var(--tp-gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .tp-billing__btn {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Card pieces the script renders
   -------------------------------------------------------------------------- */

/* Placeholder shown between first paint and the API answering. Not a spinner:
   the request is same-origin and server-cached for five minutes, so a spinner
   would flash more often than it would inform. */
.tp-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--tp-muted);
    padding: 2.5rem 0;
    margin: 0;
}

/* The line that frames the step up to the next tier. Sits under the POS box,
   quieter than a bullet but louder than the footnote. */
.tp-anchor {
    font-size: .86rem;
    line-height: 1.6;
    color: var(--tp-muted);
    border-left: 3px solid var(--tp-gold);
    padding-left: .7rem;
    margin: 0 0 .25rem;
}

/* The one-off implementation charge, when a plan carries one. */
.tp-setup {
    font-size: .84rem;
    color: var(--tp-red);
    font-weight: 600;
    margin-top: .25rem;
    margin-bottom: 0;
}

.tp-cardfoot-note {
    font-size: .78rem;
    line-height: 1.55;
    color: var(--tp-muted);
    margin: .75rem 0 0;
}

/* --------------------------------------------------------------------------
   Modals: sign-up, verify, contact sales
   --------------------------------------------------------------------------
   Only the parts Bootstrap does not already give us. The dialog, backdrop and
   close button are Bootstrap 5's own; these rules carry the brand into it.
   -------------------------------------------------------------------------- */
.tp-modal .modal-content {
    border: 0;
    border-radius: 20px;
    background: var(--tp-cream);
    border-top: 4px solid var(--tp-gold);
}

.tp-modal .modal-title {
    color: var(--tp-ink);
}

.tp-field {
    margin-bottom: 1rem;
}

.tp-field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--tp-muted);
    margin-bottom: .3rem;
}

.tp-field .form-control {
    border: 1px solid var(--tp-line);
    border-radius: 10px;
    padding: .6rem .8rem;
    background: #fff;
}

.tp-field .form-control:focus {
    border-color: var(--tp-gold);
    box-shadow: 0 0 0 .2rem rgba(250, 175, 38, .25);
}

/* countrySelect wraps the phone input in its own container; without this the
   flag dropdown sits on the field's border radius. */
.tp-field .country-select {
    width: 100%;
}

.tp-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--tp-muted);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 1rem;
}

.tp-divider::before,
.tp-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--tp-line);
}

/* In-modal messages. The page-level banners sit behind Bootstrap's backdrop
   (z-index 1050), so a message shown there while a modal is open is invisible
   — which is the whole reason this exists. */
.tp-alert {
    background: #fdecec;
    border: 1px solid #f3c2c4;
    color: #8d1319;
    border-radius: 10px;
    padding: .6rem .8rem;
    font-size: .87rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tp-alert.is-info {
    background: #eaf5ef;
    border-color: #bfe0cd;
    color: var(--tp-ok);
}

.tp-modal-foot {
    font-size: .78rem;
    color: var(--tp-muted);
    line-height: 1.6;
    margin: .9rem 0 0;
    text-align: center;
}

.tp-modal-foot a {
    color: var(--tp-red);
}

/* Honeypot. Hidden from people AND from assistive technology, so only a bot
   fills it. Never `display:none` — some bots skip those. */
.tp-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Set by the page when a reCAPTCHA submit is attempted with no token. */
.registervalidationfail {
    outline: 2px solid var(--tp-red);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   The buy-down block
   --------------------------------------------------------------------------
   Sits directly under the price, above the counters. It is the commercial
   argument of the whole ladder -- each plan costs more and charges less on
   what the temple sells -- so it is given the weight of a price, not of a
   bullet. Both lines are rendered from the price row by the script.
   -------------------------------------------------------------------------- */
.tp-fee {
    margin: .85rem 0 0;
    padding: .7rem .8rem;
    border: 1px solid var(--tp-line);
    border-radius: 12px;
    background: #fff;
}

.tp-card--featured .tp-fee {
    border-color: rgba(177, 31, 37, .28);
}

.tp-fee-line {
    font-size: .82rem;
    line-height: 1.5;
    color: var(--tp-muted);
    margin: 0;
}

.tp-fee-line + .tp-fee-line {
    margin-top: .35rem;
    padding-top: .35rem;
    border-top: 1px dashed var(--tp-line-soft);
}

.tp-fee-line b {
    color: var(--tp-ink);
    font-size: .95rem;
}

/* The zero lines carry the promise, so they get the affirmative colour rather
   than the muted one. */
.tp-fee-zero,
.tp-fee-zero b {
    color: var(--tp-ok);
}



/* --------------------------------------------------------------------------
   Add-ons
   --------------------------------------------------------------------------
   Priced extras a temple buys on top of a plan. Auto-fit rather than a fixed
   column count: the list grows and shrinks as the offer changes, and a hard
   3- or 4-up would leave an orphan on the last row every time it did.
   -------------------------------------------------------------------------- */
.tp-addons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp-addon {
    background: #fff;
    border: 1px solid var(--tp-line);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

.tp-addon svg {
    width: 24px;
    height: 24px;
    color: var(--tp-red);
    margin-bottom: .55rem;
}

.tp-addon h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.tp-addon p {
    font-size: .86rem;
    color: var(--tp-muted);
    line-height: 1.6;
    margin-bottom: .6rem;
    /* Pushes every price onto a shared baseline however long the blurb is. */
    flex: 1 1 auto;
}

.tp-addon-price {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--tp-red);
    margin: 0;
}

.tp-addon-note {
    font-size: .78rem;
    color: var(--tp-muted);
    margin: .2rem 0 0;
}

/* --------------------------------------------------------------------------
   "What we charge on" and "Which plan fits" tables
   -------------------------------------------------------------------------- */
.tp-table .tp-cost {
    font-weight: 600;
    color: var(--tp-ok);
    white-space: nowrap;
}

.tp-table .tp-charge {
    font-weight: 600;
    color: var(--tp-ink);
    white-space: nowrap;
}
