/* What About us, FAQ, Contact us and the pages built on them share. Each has its own file after this one: faq.css, about.css, contact.css. */

/* ---------- About us, FAQ and Contact us, in the new design: white page, large headings with a light teal accent. ---------- */

.tb-customer-main:has(.tb-info) {
    background: #fff;
}

.tb-info {
    color: var(--tb-ink);
    font-size: 15px;
    line-height: 1.7;
}

.tb-info h1,
.tb-info h2,
.tb-info h3,
.tb-info p {
    margin: 0;
}

.tb-info h1,
.tb-info h2,
.tb-info h3 {
    color: var(--tb-ink);
}

.tb-info a:not(.tb-help-button):not(.tb-info-button):not(.tb-about-way):not(.tb-about-linkedin):not(.tb-about-step-link):not(.tb-contact-way-main):not(.tb-use-jump):not(.tb-use-link):not(.tb-use-guarantee-link):not(.tb-faq-start) {
    color: var(--tb-teal-ink);
}

.tb-info-section {
    padding-left: 40px;
    padding-right: 40px;
}

.tb-info-narrow {
    max-width: 880px;
    margin: 0 auto;
}

.tb-info-wide {
    max-width: 1200px;
    margin: 0 auto;
}

.tb-info-center {
    text-align: center;
}

.tb-info-end {
    padding-bottom: 112px;
}

.tb-info-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 88px;
    padding-bottom: 48px;
}

.tb-info-intro > p {
    color: var(--tb-ink-muted);
}

.tb-info-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--tb-teal-ink);
}

.tb-info-eyebrow.muted {
    color: var(--tb-ink-faint);
}

.tb-info-title,
.tb-info-heading {
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-wrap: balance;
}

.tb-info-title {
    font-size: 56px;
    line-height: 1.02;
}

.tb-info-heading {
    font-size: 40px;
    line-height: 1.05;
}

.tb-info-title span,
.tb-info-heading span {
    font-weight: 300;
    color: var(--tb-teal-ink);
    text-decoration: none;
}

.tb-info-subheading {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
    text-transform: none;
}

.tb-info-subheading.large {
    font-size: 28px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.tb-info-intro > .tb-info-lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--tb-ink-soft);
    text-wrap: balance;
}

.tb-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: 8px;
    background: var(--tb-teal-fill);
    color: var(--tb-teal-fill-text);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 300ms ease-out, background 300ms ease-out;
}

.tb-info-button:hover:not(:disabled) {
    color: var(--tb-teal-fill-text);
    transform: var(--tb-lift);
}

.tb-info-button:disabled {
    opacity: 0.5;
}

.tb-info-button.dark {
    background: var(--tb-ink);
    color: #fff;
}

.tb-info-button.light {
    height: 44px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--tb-line);
    color: var(--tb-ink-soft);
    font-weight: 600;
}

.tb-info-button.on-dark {
    background: var(--tb-teal-fill);
    color: var(--tb-teal-fill-text);
}

.tb-info-button.outline {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--tb-teal-ui);
    color: var(--tb-teal-ui);
}

.tb-info-button.dark:hover,
.tb-info-button.light:hover,
.tb-info-button.on-dark:hover,
.tb-info-button.outline:hover {
    transform: translateY(-2px);
}

.tb-info-button.dark:hover {
    background: var(--tb-ink);
}

.tb-info-button.light:hover {
    background: #fff;
    color: var(--tb-ink-soft);
}

.tb-info-button.on-dark:hover {
    background: var(--tb-teal-fill);
    color: var(--tb-teal-fill-text);
}

.tb-info-button.outline:hover {
    background: rgba(85, 195, 182, 0.12);
    color: var(--tb-teal-ui);
}

/* The design's arrow, in the text's colour. */
.tb-info-arrow::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tb-info-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tb-teal-tint);
    color: var(--tb-teal-dark);
}

.tb-info-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: 32px 36px;
    background: var(--tb-teal-wash);
    border: 1px solid var(--tb-teal-tint-border);
    border-radius: 8px;
}

.tb-info-help p {
    margin-top: 6px;
    color: var(--tb-ink-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* Blazor's router focuses the page h1 after navigation (FocusOnNavigate); the design shows no focus ring there. */
.tb-info-title:focus {
    outline: none;
}

@media (max-width: 759.98px) {
    .tb-info-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tb-info-end {
        padding-bottom: 72px;
    }

    .tb-info-intro {
        padding-top: 48px;
        padding-bottom: 32px;
    }

    .tb-info-title {
        font-size: 36px;
    }

    .tb-info-heading {
        font-size: 28px;
    }

    .tb-info-subheading.large {
        font-size: 22px;
    }

    .tb-info-intro > .tb-info-lead {
        font-size: 17px;
    }

    .tb-info-help {
        padding: 24px 20px;
    }

    /* The buttons may wrap on a phone rather than push the page wider. */
    .tb-info-button {
        height: auto;
        min-height: 48px;
        padding-top: 10px;
        padding-bottom: 10px;
        white-space: normal;
        text-align: center;
    }
}
