/* ==========================================================================
   LinkTwin Bio pricing (storage/themes/the25/pricing/bio.php)

   Above the fold the page wears the main pricing page's Site 6 look (the
   inline styles of pricing/pricing.php): haze band, Nunito headline, dark
   billing switch, white cards, Free as a panel under them. The guarantee
   strip after it is pricing/lower.php's, styled by the25-site6-pricing.css.
   Below that the page keeps home-5's components (the25-home5.css).
   All selectors are .pp- prefixed and live under .h4-page.
   ========================================================================== */

.pp-hero {
    --pp-blue: #0967f2;
    --pp-blue-dark: #0648b5;
    --pp-green: #13a56b;
    --pp-ink: #0d1b2e;
    --pp-body: #465366;
    --pp-muted: #6b7688;
    --pp-line: #dce3ec;
    --pp-haze: #f1f5fa;

    padding: 72px 0 20px;
    background: var(--pp-haze);
    color: var(--pp-body);
    font-family: "DM Sans S6", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: center;
}

.h4-page .pp-hero h1 {
    margin: 0 auto 1rem;
    color: var(--pp-ink);
    font-family: "Nunito Sans S6", "Nunito Sans", sans-serif;
    font-size: clamp(2.25rem, 5.4vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.015em;
    line-height: 1.02;
}

/* One sentence per line */
.pp-hero h1 span {
    display: block;
}

.pp-guarantee {
    margin: 0 0 0.35rem;
    color: var(--pp-ink);
    font-size: 1.15rem;
    font-weight: 700;
}

.pp-guarantee .s6-ico {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 2px;
    vertical-align: -4px;
}

.pp-hero .s6-ico-a {
    fill: var(--s6-ico-accent, #ffd60a);
}

.pp-lead {
    margin: 0 0 1.5rem;
    font-size: 1.02rem;
}

/* Trust bar: avatars, store stars, scores */

.pp-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
}

.pp-trust-avatars {
    display: flex;
}

.pp-trust-avatars img {
    width: 30px;
    height: 30px;
    margin-left: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.pp-trust-avatars img:first-child {
    margin-left: 0;
}

.pp-trust p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.pp-trust b {
    color: var(--pp-ink);
    font-weight: 700;
}

/* The site's star mask (.st-stars, the25-landing6.css) reads its empty-star
   colour from a Landing 6 token this hero is outside of. */
.pp-trust-stars {
    --l6-line: var(--pp-line);
}

/* Billing switch --------------------------------------------------------- */

.pp-toggle {
    display: inline-flex;
    margin-top: 2rem;
    padding: 5px;
    border-radius: 50px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--pp-line);
}

.h4-page .pp-toggle button {
    position: relative;
    padding: 0.65rem 1.6rem;
    border: 0;
    border-radius: 50px;
    background: transparent;
    color: var(--pp-ink);
    font-family: inherit;
    font-size: 0.975rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.h4-page .pp-toggle button.is-on {
    background: var(--pp-ink);
    color: #fff;
}

.pp-toggle small {
    position: absolute;
    top: -9px;
    right: -12px;
    padding: 2px 7px;
    border-radius: 10px;
    background: var(--pp-green);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.5;
}

/* Plan cards ------------------------------------------------------------- */

.pp-cards {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem 0 1.25rem;
    text-align: start;
}

/* position: the visually-hidden labels must stay inside the scrolling row */
.pp-card {
    position: relative;
    flex: 1;
    min-width: 230px;
    max-width: 288px;
    padding: 1.25rem;
    border: 1px solid var(--pp-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(13, 27, 46, 0.04);
    scroll-snap-align: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(13, 27, 46, 0.1);
}

.h4-page .pp-name {
    margin: 0;
    color: var(--pp-ink);
    font-family: "Nunito Sans S6", "Nunito Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
}

.pp-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin: 0.85rem 0 0.2rem;
    color: var(--pp-ink);
    font-family: "Nunito Sans S6", "Nunito Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.pp-price small {
    color: var(--pp-muted);
    font-family: "DM Sans S6", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0;
}

.pp-bill {
    height: 1.15rem;
    margin: 0 0 0.9rem;
    color: var(--pp-muted);
    font-size: 0.72rem;
}

.h4-page a.pp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: var(--pp-blue);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.h4-page a.pp-cta:hover {
    background: var(--pp-blue-dark);
}

.h4-page a.pp-cta.is-outline {
    border: 1.5px solid var(--pp-ink);
    background: transparent;
    color: var(--pp-ink);
}

.h4-page a.pp-cta.is-outline:hover {
    background: var(--pp-haze);
}

.pp-micro {
    margin: 0.4rem 0 0;
    color: var(--pp-muted);
    font-size: 0.7rem;
    text-align: center;
}

.pp-rows {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pp-line);
}

.pp-hl {
    display: flex;
    align-items: center;
    gap: 0.33rem;
    padding: 0.35rem 0;
    color: var(--pp-ink);
    font-size: 0.8rem;
    font-weight: 600;
}

.pp-rows .s6-ico {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.h4-page .pp-sep {
    margin: 0.4rem 0;
    border: 0;
    border-top: 1px solid #f1f5f9;
    background: none;
    opacity: 1;
}

.pp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.8rem;
}

.pp-row > span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--pp-body);
}

.pp-row b {
    color: var(--pp-ink);
    font-weight: 600;
    white-space: nowrap;
}

.pp-mark {
    display: inline-flex;
}

.pp-mark--no {
    color: #b6c0cf;
}

.pp-rows .pp-mark--no .s6-ico {
    width: 13px;
    height: 13px;
}

.pp-row .pp-dash {
    color: #94a3b8;
    font-weight: 400;
}

.pp-row .pp-star {
    color: var(--pp-blue-dark);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.pp-note {
    margin: 0.75rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--pp-line);
    color: var(--pp-muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

/* Scroll dots: shown only while the cards scroll sideways */
.pp-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    padding: 0.75rem 0;
}

.pp-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pp-dots span.is-on {
    width: 24px;
    border-radius: 4px;
    background: var(--pp-blue);
}

/* Free plan panel under the cards */

.pp-free {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1000px;
    margin: 20px auto 0;
    padding: 24px;
    border-radius: 22px;
    background: #e7edf5;
    text-align: start;
}

.h4-page .pp-free h2 {
    margin: 0;
    color: var(--pp-ink);
    font: 900 1.25rem/1.2 "Nunito Sans S6", sans-serif;
}

.pp-free ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 12px 0 0;
    padding: 0;
    font-size: 0.85rem;
    list-style: none;
}

.h4-page .pp-free a.pp-cta {
    flex-shrink: 0;
    padding-inline: 18px;
    white-space: nowrap;
}

/* The guarantee strip (the25-site6-pricing.css) closes the haze band */
.pp-hero + .l6-page--pricing {
    background: var(--l6-haze);
}

@media (max-width: 1100px) {
    .pp-cards {
        justify-content: flex-start;
        margin: 0 -1rem;
        padding-inline: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pp-cards::-webkit-scrollbar {
        display: none;
    }

    .pp-dots {
        display: flex;
    }
}

@media (max-width: 720px) {
    .pp-free {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .pp-hero {
        padding-top: 48px;
    }

    .pp-card {
        flex: 0 0 272px;
        padding: 1.1rem;
    }

    .pp-price {
        font-size: 2rem;
    }
}

/* Below the cards -------------------------------------------------------- */

.pp-incl {
    padding-top: clamp(64px, 7vw, 96px);
}

.pp-incl ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 26px;
    max-width: 1080px;
    margin: 40px auto 0;
    padding: 0;
    list-style: none;
}

.pp-incl li {
    display: flex;
    align-items: baseline;
    gap: 9px;
    color: var(--h4-ink);
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.93rem;
    font-weight: 700;
}

.pp-incl li i {
    color: var(--h4-green);
    font-size: 0.8rem;
}

.pp-incl-paid {
    max-width: 760px;
    margin: 30px auto 0;
    color: var(--h4-body);
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 1100px) {
    .pp-incl ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pp-incl ul {
        grid-template-columns: 1fr;
    }
}
