/* The For practitioners page (Kirsten's v3 design), on info-pages.css: its eyebrows, headings, buttons and arrow. The
   charcoal panel at the end is used only here, because this is the only page that sells to practitioners. */

.tb-fp {
    --tb-fp-line: var(--slate-200);
    --tb-fp-rule: var(--slate-100);
}

/* As strong as one class: enough to undo Bootstrap's list and figure spacing, and weaker than the page's own classes that
   follow, such as the panel's spaced steps. */
.tb-fp :where(figure, blockquote, ol, ul) {
    margin: 0;
}

.tb-fp :where(ol, ul) {
    padding: 0;
    list-style: none;
}

.tb-fp-small {
    font-size: 12px;
    line-height: 1.5;
    color: var(--slate-500);
}

.tb-fp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* The teal outline button on white; on the charcoal panel the shared .outline is used. */
.tb-info-button.tb-fp-outline {
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--tb-teal-ui);
    color: var(--tb-teal-ink);
}

.tb-info-button.tb-fp-outline:hover {
    background: rgba(85, 195, 182, 0.12);
    color: var(--tb-teal-ink);
}

.tb-fp-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tb-teal-ink);
}

.tb-fp-label.muted {
    color: var(--slate-500);
}

.tb-fp-label.faint {
    color: var(--slate-400);
}

.tb-fp-label.on-dark {
    color: var(--tb-teal-ui);
}

/* ---------- Hero ---------- */

.tb-fp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 104px;
}

.tb-fp-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.tb-fp-lead {
    max-width: 560px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--slate-800);
    text-wrap: pretty;
}

.tb-fp-hero-copy .tb-fp-actions {
    margin-top: 6px;
}

/* The tubs sit on the plain white page. */
.tb-fp-hero-art {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tb-fp-tubs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: end;
    padding: 0 12px;
}

.tb-fp-tub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tb-fp-tub img {
    display: block;
    width: 100%;
    height: auto;
}

.tb-fp-tub span {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.tb-fp-hero-art figcaption {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--slate-600);
    text-align: center;
    text-wrap: pretty;
}

/* ---------- Facts strip ---------- */

.tb-fp-facts {
    border-top: 1px solid var(--tb-fp-rule);
    border-bottom: 1px solid var(--tb-fp-rule);
}

.tb-fp-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.tb-fp-fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tb-fp-fact strong {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--tb-teal-ink);
}

.tb-fp-fact span {
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--slate-600);
}

/* ---------- Sections ---------- */

.tb-fp-section {
    border-top: 1px solid var(--tb-fp-rule);
}

.tb-fp-section.tb-fp-first {
    border-top: 0;
}

.tb-fp-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 96px;
    padding-bottom: 96px;
}

.tb-fp-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
}

.tb-fp-head-actions {
    margin-top: 8px;
}

.tb-fp-section-lead {
    max-width: 680px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--slate-600);
    text-wrap: pretty;
}

.tb-fp-fine {
    max-width: 820px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--slate-500);
}

/* ---------- Comparison ---------- */

.tb-fp-compare {
    overflow: hidden;
    border: 1px solid var(--tb-fp-line);
    border-radius: 8px;
}

.tb-fp-compare-row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
    border-top: 1px solid var(--tb-fp-rule);
}

.tb-fp-compare-row:first-child {
    border-top: 0;
}

.tb-fp-compare-row > span {
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--slate-600);
}

.tb-fp-compare-row > .tb-fp-compare-topic {
    font-weight: 600;
    color: var(--tb-ink);
}

.tb-fp-compare-row > .tb-fp-compare-tb {
    background: var(--tb-teal-wash);
    color: var(--tb-ink);
    font-weight: 500;
}

.tb-fp-compare-head > span {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.tb-fp-compare-head > .tb-fp-compare-tb {
    color: var(--tb-teal-ink);
    font-weight: 700;
}

/* ---------- Blend builder ---------- */

.tb-fp-builder {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* On a phone the illustration keeps a readable size and scrolls sideways inside its frame, as in the design. */
.tb-fp-builder-frame {
    overflow-x: auto;
    border: 1px solid var(--tb-fp-line);
    border-radius: 8px;
}

.tb-fp-builder img {
    display: block;
    width: 100%;
    height: auto;
}

/* Numbered steps: the circles count themselves. */
.tb-fp-steps,
.tb-fp-next {
    counter-reset: tb-fp-step;
}

.tb-fp-steps li,
.tb-fp-next li {
    counter-increment: tb-fp-step;
}

.tb-fp-number::before {
    content: counter(tb-fp-step);
}

.tb-fp-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.tb-fp-steps.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tb-fp-steps li {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.tb-fp-steps .tb-fp-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tb-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.tb-fp-steps strong,
.tb-fp-card strong {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--tb-ink);
}

.tb-fp-steps li > span:last-child,
.tb-fp-card > span:last-child {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--slate-600);
    text-wrap: pretty;
}

.tb-fp-send-buy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tb-fp-send-buy > h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tb-fp-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tb-fp-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 32px;
    border: 1px solid var(--tb-fp-line);
    border-radius: 8px;
    background: #fff;
}

.tb-fp-panel.teal {
    border-color: var(--tb-teal-tint-border);
    background: var(--tb-teal-wash);
}

.tb-fp-panel h3,
.tb-fp-panel h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--tb-ink);
}

.tb-fp-panel p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--slate-600);
    text-wrap: pretty;
}

.tb-fp-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}

/* ---------- What your client receives ---------- */

.tb-fp-receive {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.tb-fp-label-art {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* The back label at 70% of its column, on the plain white page. */
.tb-fp-label-art > div {
    display: flex;
    justify-content: center;
}

.tb-fp-label-art img {
    display: block;
    width: 70%;
    height: auto;
}

.tb-fp-receive-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.tb-fp-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.tb-fp-ticks {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tb-fp-ticks li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--slate-600);
    text-wrap: pretty;
}

.tb-fp-ticks li::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--tb-teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C7A6E' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 8px no-repeat;
}

.tb-fp-ticks strong {
    font-weight: 600;
    color: var(--tb-ink);
}

/* ---------- Quality and network cards ---------- */

/* Equal columns for however many cards the market shows. */
.tb-fp-cards {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 16px;
}

.tb-fp-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--tb-fp-line);
    border-radius: 8px;
    background: #fff;
}

.tb-fp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tb-teal-tint);
    color: var(--tb-teal-dark);
}

.tb-fp-webinars {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.tb-fp-webinars li {
    padding: 10px 0;
    border-top: 1px solid var(--tb-fp-rule);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--slate-700);
}

.tb-fp-quote {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--tb-fp-line);
    border-radius: 8px;
    background: #fff;
}

.tb-fp-quote img {
    display: block;
    width: 168px;
    height: 168px;
    object-fit: cover;
    border-radius: 8px;
}

/* The WellNest photo is landscape; this keeps the client and her tub in the square. */
.tb-fp-quote img.tb-fp-quote-wellnest {
    object-position: 42% 50%;
}

.tb-fp-quote > div {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.tb-fp-quote blockquote {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--tb-ink);
    text-wrap: pretty;
}

.tb-fp-quote figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tb-fp-quote figcaption strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--tb-ink);
}

.tb-fp-quote figcaption span {
    font-size: 12.5px;
    color: var(--slate-600);
}

/* ---------- Support band ---------- */

.tb-fp-inner.tb-fp-support-inner {
    padding-top: 56px;
    padding-bottom: 56px;
}

.tb-fp-support {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: center;
    padding: 36px 40px;
    border: 1px solid var(--tb-teal-tint-border);
    border-radius: 8px;
    background: var(--tb-teal-wash);
}

.tb-fp-support > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tb-fp-support h3 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tb-fp-support p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate-600);
    text-wrap: pretty;
}

/* ---------- Onboarding call panel (charcoal: practitioner selling only, white or light text only) ---------- */

.tb-fp-cta-outer {
    padding-bottom: 112px;
}

.tb-fp-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 56px 52px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--slate-800), var(--charcoal));
    color: #fff;
}

.tb-fp .tb-fp-cta h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
}

.tb-fp-cta > p {
    max-width: 640px;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.tb-fp-next {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tb-fp-next li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.tb-fp-next strong,
.tb-fp-cta .tb-fp-who strong {
    font-weight: 600;
    color: #fff;
}

.tb-fp-next .tb-fp-number {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(91, 191, 179, 0.18);
    color: var(--tb-teal-ui);
    font-size: 11px;
    font-weight: 700;
}

.tb-fp-cta > .tb-fp-who {
    max-width: none;
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Tablet ---------- */

@media (max-width: 1099.98px) {
    .tb-fp-hero,
    .tb-fp-receive,
    .tb-fp-support {
        grid-template-columns: minmax(0, 1fr);
    }

    .tb-fp-receive {
        gap: 32px;
    }

    .tb-fp-support {
        gap: 16px;
    }

    .tb-fp-hero-art {
        max-width: 640px;
    }

    .tb-fp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-fp-cards {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-fp-quote {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 18px;
    }

    .tb-fp-quote img {
        width: 120px;
        height: 120px;
    }
}

/* ---------- Phone ---------- */

@media (max-width: 759.98px) {
    .tb-fp-hero {
        gap: 40px;
        padding-top: 48px;
        padding-bottom: 56px;
    }

    .tb-fp-lead {
        font-size: 17px;
    }

    .tb-fp-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .tb-fp-inner {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .tb-fp-section-lead {
        font-size: 15px;
    }

    .tb-fp-steps,
    .tb-fp-steps.three,
    .tb-fp-pair,
    .tb-fp-cards,
    .tb-fp-receive,
    .tb-fp-next {
        grid-template-columns: minmax(0, 1fr);
    }

    .tb-fp-steps {
        gap: 28px;
    }

    .tb-fp-builder img {
        min-width: 720px;
    }

    .tb-fp-panel {
        padding: 22px;
    }

    .tb-fp-panel h3,
    .tb-fp-panel h4,
    .tb-fp-send-buy > h3 {
        font-size: 20px;
    }

    /* The comparison stacks into one column, each answer labelled with its side. The heading row is hidden only from
       sight, so screen readers still name each answer's column. */
    .tb-fp-compare-head {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .tb-fp-compare-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .tb-fp-compare-row > span {
        padding: 10px 16px;
    }

    .tb-fp-compare-row > .tb-fp-compare-topic {
        padding-top: 16px;
        padding-bottom: 4px;
    }

    /* The side's label is for the eye only (empty alternative text): screen readers already have the heading row. Browsers
       without the alternative-text syntax keep the first declaration. */
    .tb-fp-compare-row > span[data-heading]::before {
        content: attr(data-heading);
        content: attr(data-heading) / "";
        display: block;
        margin-bottom: 3px;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--slate-500);
    }

    .tb-fp-compare-row > .tb-fp-compare-tb[data-heading]::before {
        color: var(--tb-teal-ink);
    }

    .tb-fp-quote {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px;
    }

    .tb-fp-quote img {
        width: 96px;
        height: 96px;
    }

    .tb-fp-quote blockquote {
        font-size: 16px;
    }

    .tb-fp-inner.tb-fp-support-inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .tb-fp-support {
        padding: 24px 22px;
    }

    .tb-fp-support h3 {
        font-size: 22px;
    }

    .tb-fp-cta-outer {
        padding-bottom: 56px;
    }

    .tb-fp-cta {
        padding: 36px 22px;
    }

    .tb-fp .tb-fp-cta h2 {
        font-size: 22px;
    }
}
