/* ==========================================================================
   pricing-2027.css — page-specific rules for /pricing
   --------------------------------------------------------------------------
   Loaded AFTER css/site-2027.css. Everything here is either a shape the
   shared vocabulary cannot express (the border-left hero aside, the tier
   price row, the four-up "included" grid) or a value the design file pins
   differently from the shared default.

   Where a rule intentionally overrides a shared one it is written at the
   same or higher specificity and relies on this file loading second.
   No importance overrides, no bare element resets.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

/* Panel headings exist for the no-JS stacked reading order and for the
   accessibility tree; the segmented switcher carries them visually. */
.cy27-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
    white-space: nowrap;
    clip-path: inset(50%);
}

.cy27-textlink {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    color: var(--cy27-accent);
    font-size: .97rem;
    font-weight: 700;
    transition: color .25s ease;
}

.cy27-textlink i {
    font-size: .8rem;
}

.cy27-textlink:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Hero — copy left, "how pricing works" against a hairline rule right
   -------------------------------------------------------------------------- */

.cy27-pricing-hero .cy27-phero__inner {
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: end;
    padding-bottom: 70px;
}

.cy27-pricing-hero .cy27-phero__eyebrow {
    margin-bottom: 22px;
}

.cy27-pricing-hero h1 {
    margin-bottom: 26px;
    font-size: clamp(2.3rem, 4.6vw, 4rem);
    line-height: 1.03;
}

.cy27-pricing-hero .cy27-phero__lead {
    max-width: 560px;
}

.cy27-pricing__aside {
    border-left: 1px solid var(--cy27-line);
    padding-left: 32px;
}

.cy27-pricing__aside-label {
    display: block;
    margin-bottom: 14px;
}

.cy27-pricing__aside-text {
    margin-bottom: 18px;
    color: var(--cy27-body);
    font-size: .98rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Segmented switcher — one row of four, scrolls sideways when it cannot fit
   -------------------------------------------------------------------------- */

.cy27-pricing-switch {
    padding-bottom: 40px;
}

.cy27-seg--pricing {
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(20, 27, 40, .5), rgba(11, 16, 25, .42));
}

.cy27-seg--pricing button {
    padding: 12px 20px;
    border-radius: 10px;
    font-family: var(--cy27-sans);
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
}

/* The shared default marks a selected chip with a faint accent wash; this
   switcher is the page's primary control and the design file fills it with
   the accent gradient instead. Same specificity as the shared rule, which
   this file loads after. */
.cy27-seg--pricing button[aria-selected="true"] {
    background: var(--cy27-grad);
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 150, 250, .32);
}

/* --------------------------------------------------------------------------
   Tab panels
   -------------------------------------------------------------------------- */

.cy27-pricing-panes {
    padding-bottom: 40px;
}

/* No display property here on purpose — the [hidden] attribute must keep
   working on its own so the page is correct before the script runs. */
.cy27-pane {
    scroll-margin-top: 96px;
}

.cy27-pane:focus-visible {
    outline: 3px solid rgba(0, 192, 250, .75);
    outline-offset: 6px;
}

.cy27-pane__intro {
    max-width: 620px;
    margin-bottom: 34px;
    color: var(--cy27-body);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Tiers
   -------------------------------------------------------------------------- */

/* .cy27-page h3 is 0,1,1 — a single class would silently lose to it. */
.cy27-page .cy27-tier__name {
    margin-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cy27-heading);
}

/* Middle tier: the accent wash rises from the top edge rather than the
   corner, and the radius matches the plain tiers beside it. */
.cy27-tier--featured {
    border-radius: 16px;
    background:
        radial-gradient(120% 150% at 50% 0%, rgba(0, 192, 250, .12), transparent 60%),
        linear-gradient(160deg, rgba(20, 27, 40, .72), rgba(11, 16, 25, .6));
}

.cy27-tier__badge {
    margin-bottom: 18px;
}

.cy27-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    font-size: clamp(2rem, 3.4vw, 2.6rem);
}

.cy27-price__unit {
    font-family: var(--cy27-mono);
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--cy27-subtle);
}

.cy27-tier__desc {
    margin-bottom: 24px;
    color: var(--cy27-body);
    line-height: 1.7;
}

.cy27-tier__desc--tight {
    margin-bottom: 20px;
}

.cy27-tier__note {
    margin-bottom: 24px;
    font-family: var(--cy27-mono);
    font-size: .76rem;
    line-height: 1.6;
    color: var(--cy27-subtle);
}

.cy27-tier__meta {
    display: block;
    margin-bottom: 14px;
}

.cy27-tier .cy27-textlink {
    margin-top: auto;
}

/* Ecommerce builds keep their own detail page; this is the way in. */
.cy27-ecom {
    margin-top: 22px;
    font-family: var(--cy27-mono);
    font-size: .8rem;
    line-height: 1.7;
    color: var(--cy27-subtle);
}

.cy27-ecom a {
    color: var(--cy27-accent);
}

.cy27-ecom a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Hourly support strip (Apps panel)
   -------------------------------------------------------------------------- */

.cy27-hourly {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
    padding: 24px 26px;
}

.cy27-page .cy27-hourly__title {
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.cy27-hourly__text {
    color: var(--cy27-body);
    font-size: .95rem;
    line-height: 1.65;
}

.cy27-hourly__price {
    font-family: var(--cy27-mono);
    font-size: 1.05rem;
    color: var(--cy27-accent);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   What's included in every project
   -------------------------------------------------------------------------- */

.cy27-pricing-incl {
    padding-top: 60px;
    padding-bottom: 120px;
}

.cy27-incl {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 34px;
}

/* A mono label that is also the section heading, so it has to beat
   .cy27-page h2 (0,1,1). */
.cy27-page .cy27-incl__head {
    margin-bottom: 26px;
    font-family: var(--cy27-mono);
    font-size: .72rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cy27-subtle);
}

.cy27-incl__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.cy27-page .cy27-incl__title {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.cy27-incl__text {
    color: var(--cy27-body);
    font-size: .94rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Final CTA — the one beam panel on this page
   -------------------------------------------------------------------------- */

.cy27-pricing-cta {
    padding-bottom: 140px;
}

.cy27-cta {
    padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 64px);
    border-radius: 20px;
    text-align: center;
    background:
        radial-gradient(120% 150% at 50% 0%, rgba(0, 192, 250, .14), transparent 60%),
        linear-gradient(160deg, rgba(20, 27, 40, .72), rgba(11, 16, 25, .6));
}

.cy27-page .cy27-cta__title {
    margin-bottom: 16px;
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
}

.cy27-cta__lead {
    max-width: 520px;
    margin: 0 auto 32px;
    color: var(--cy27-body);
    font-size: 1.1rem;
    line-height: 1.7;
}

.cy27-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cy27-cta__note {
    margin-top: 28px;
    font-family: var(--cy27-mono);
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cy27-subtle);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
    .cy27-pricing-hero .cy27-phero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: start;
    }

    /* The vertical rule becomes a horizontal one once the columns stack. */
    .cy27-pricing__aside {
        border-left: 0;
        border-top: 1px solid var(--cy27-line);
        padding-left: 0;
        padding-top: 28px;
    }

    .cy27-incl__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .cy27-pricing-hero .cy27-phero__inner {
        padding-bottom: 56px;
    }

    .cy27-hourly {
        align-items: flex-start;
    }

    .cy27-incl__grid {
        grid-template-columns: 1fr;
    }

    .cy27-pricing-incl {
        padding-top: 40px;
        padding-bottom: 90px;
    }

    .cy27-pricing-cta {
        padding-bottom: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cy27-textlink {
        transition: none;
    }
}
