/*
 * Team management page (TeamManagement/Index) content area.
 * The theme stylesheet is purged, so these components carry their own styles instead of
 * relying on utility classes that may not exist in the build. Header and footer are untouched.
 * Page colours match the other redesigned pages and are redefined under html.uc-dark. The app
 * previews (.tm-app) keep the control panel's own light look in both modes, like screenshots.
 */

.tm {
    --tm-bg: #FBF8F4;
    --tm-surface: #FFFFFF;
    --tm-band: #FFFFFF;
    --tm-panel: #F4EFE8;
    --tm-border: #EFE9E1;
    --tm-border-soft: #F1ECE4;
    --tm-border-strong: #E2DBCF;
    --tm-text: #14201C;
    --tm-text-2: #4A4640;
    --tm-text-3: #5B5650;
    --tm-accent: #0E5A49;
    --tm-accent-hover: #0A4537;
    --tm-accent-ink: #0E5A49;
    --tm-accent-soft: #E3EFEA;
    --tm-accent-select: #EAF3EF;
    --tm-select-text: #0B3B31;
    --tm-select-sub: #2F4A41;
    --tm-on-accent: #FFFFFF;
    --tm-deep: #0B3B31;
    --tm-soft-band: #E3EFEA;
    --tm-soft-title: #0B3B31;
    --tm-soft-text: #2F4A41;
    --tm-no-bg: #F4EFE8;
    --tm-no-fg: #8A847B;

    background: var(--tm-bg);
    color: var(--tm-text);
    overflow-x: clip;
}

.uc-dark .tm {
    --tm-bg: #101513;
    --tm-surface: #171D1B;
    --tm-band: #131917;
    --tm-panel: #1E2624;
    --tm-border: #252D2A;
    --tm-border-soft: #222A27;
    --tm-border-strong: #313B37;
    --tm-text: #EEF3F1;
    --tm-text-2: #B7C1BD;
    --tm-text-3: #9CA7A2;
    --tm-accent: #17846A;
    --tm-accent-hover: #1C9A7C;
    --tm-accent-ink: #5FC4A6;
    --tm-accent-soft: #173029;
    --tm-accent-select: #173029;
    --tm-select-text: #EEF3F1;
    --tm-select-sub: #B7C1BD;
    --tm-deep: #0A2F27;
    --tm-soft-band: #173029;
    --tm-soft-title: #EEF3F1;
    --tm-soft-text: #B7C1BD;
    --tm-no-bg: #1E2624;
    --tm-no-fg: #7F8A86;
}

.tm *,
.tm *::before,
.tm *::after {
    box-sizing: border-box;
}

/* The theme forces `svg :not([fill="none"]) { fill: currentColor }`; restore normal inheritance. */
.tm svg :not([fill]) {
    fill: inherit;
}

.tm a {
    color: var(--tm-accent-ink);
}

.tm a:hover {
    color: var(--tm-accent-hover);
}

.tm h1,
.tm h2 {
    font-family: inherit;
    color: var(--tm-text);
}

.tm-sec {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 575px) {
    .tm-sec {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.tm-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-accent-ink);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tm-eyebrow--light {
    color: #9FD0BE;
}

.tm .tm-h2 {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 46px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-weight: 700;
}

.tm .tm-h2--sm {
    font-size: clamp(26px, 2.8vw, 38px);
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.tm-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.tm-link {
    font-weight: 600;
    padding: 6px 0;
    text-decoration: none;
}

.tm-link:hover {
    text-decoration: underline;
}

/* Buttons */
.tm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--tm-accent);
    background: var(--tm-accent);
    color: var(--tm-on-accent) !important;
    padding: 14px 22px;
    border-radius: 12px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.tm-btn:hover {
    background: var(--tm-accent-hover);
    border-color: var(--tm-accent-hover);
}

.tm-btn--lg {
    font-size: 16px;
    padding: 15px 24px;
}

.tm-btn--ghost {
    background: var(--tm-surface);
    border-color: var(--tm-border-strong);
    color: var(--tm-text) !important;
}

.tm-btn--ghost:hover {
    background: var(--tm-surface);
    border-color: var(--tm-accent-ink);
}

.tm-btn--light {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #0B3B31 !important;
    font-weight: 700;
}

.tm-btn--light:hover {
    background: #E3EFEA;
    border-color: #E3EFEA;
}

.tm-btn--line {
    background: transparent;
    border-color: #3E7A69;
    color: #FFFFFF !important;
}

.tm-btn--line:hover {
    background: rgba(255, 255, 255, .08);
    border-color: #FFFFFF;
}

.tm-btn--deep {
    background: #0B3B31;
    border-color: #0B3B31;
}

.uc-dark .tm-btn--deep {
    background: var(--tm-accent);
    border-color: var(--tm-accent);
}

.tm-ticks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-ticks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.5;
}

.tm-ticks svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--tm-accent-ink);
}

.tm-ticks--light svg {
    color: #9FD0BE;
}

/* ------------------------------------------------------------------ */
/* App previews (illustrations in the control panel's own look)        */
/* ------------------------------------------------------------------ */

.tm-app {
    color: #1A1A24;
    font-size: 13px;
    line-height: 1.4;
}

.tm-win {
    background: #FFFFFF;
    border: 1px solid #DCDCE6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(40, 24, 90, .4);
}

.uc-dark .tm-win {
    border-color: #2A2F3A;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}

.tm-card {
    background: #FFFFFF;
    border: 1px solid #E6E6EE;
    border-radius: 12px;
}

.tm-pad {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tm-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.tm-row--between {
    justify-content: space-between;
}

.tm-nowrap {
    flex-wrap: nowrap;
    min-width: 0;
}

.tm-grow {
    flex: 1 1 auto;
}

.tm-muted {
    display: block;
    font-size: 12px;
    color: #6B6B7B;
}

.tm-italic {
    font-style: italic;
}

.tm-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B6B7B;
}

.tm-av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.tm-person {
    min-width: 0;
}

.tm-person strong {
    display: block;
}

.tm-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.tm-pill--purple {
    background: #EEEAFE;
    color: #4B2BB8;
}

.tm-pill--amber {
    background: #FBEFC8;
    color: #6E5210;
}

.tm-pill--green {
    background: #DDF3E6;
    color: #1E6F3A;
}

.tm-pill--live {
    background: #EAF8EF;
    color: #1E6F3A;
    font-size: 11px;
    padding: 2px 8px;
}

.tm-pill--grey {
    background: #F1F1F6;
    color: #3A3A48;
    font-size: 11px;
    padding: 2px 8px;
}

.tm-pill--outline {
    border: 1px solid #E1E1EA;
    color: #2A2A36;
    font-size: 11px;
    padding: 2px 8px;
}

.tm-sel {
    border: 1px solid #E1E1EA;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tm-sel--block {
    display: flex;
    justify-content: space-between;
}

.tm-purple {
    background: #6D3BE8;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.tm-purple--end {
    align-self: flex-end;
}

.tm-outline {
    align-self: flex-start;
    border: 1px solid #D9D3FA;
    color: #6D3BE8;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.tm-count {
    background: #EEEEF4;
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 12px;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.tm-hero {
    /* The site navigation overlays the top of the page, so the hero clears it. */
    padding-top: 120px;
    padding-bottom: 96px;
}

@media (min-width: 992px) {
    .tm-hero {
        padding-top: 144px;
    }
}

.tm-hero__row {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.tm-hero__copy {
    flex: 1 1 400px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tm .tm-hero__title {
    margin: 0;
    font-size: clamp(42px, 5.2vw, 70px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.tm-hero__lead {
    margin: 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--tm-text-2);
    max-width: 520px;
}

.tm-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--tm-text-2);
}

.tm-hero__visual {
    flex: 1.3 1 560px;
    min-width: 0;
    position: relative;
}

.tm-members {
    background: #F7F7FA;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tm-members__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.tm-members__head strong {
    display: block;
    font-size: 18px;
}

.tm-members__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #6D3BE8;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.tm-seatbox {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-meter {
    height: 8px;
    border-radius: 9px;
    background: #EEEEF4;
    overflow: hidden;
}

.tm-meter span {
    display: block;
    height: 100%;
    background: #5BAE7F;
}

.tm-table {
    overflow: hidden;
}

.tm-table__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    padding: 11px 16px;
    border-bottom: 1px solid #F2F2F6;
    align-items: center;
}

.tm-table__row.tm-lbl {
    padding: 10px 16px;
    background: #FAFAFC;
    border-bottom-color: #EEEEF4;
}

.tm-invite {
    position: absolute;
    left: -26px;
    bottom: -40px;
    width: 300px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tm-invite strong {
    font-size: 14px;
}

.tm-emails {
    border: 1px solid #E1E1EA;
    border-radius: 8px;
    padding: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.tm-emails .tm-pill {
    font-size: 11px;
    padding: 3px 8px;
}

@media (max-width: 767px) {
    /* Phones: the member list alone */
    .tm-invite,
    .tm-table__row > :last-child {
        display: none;
    }

    .tm-table__row {
        grid-template-columns: 1.6fr 1fr;
    }

    .tm-members {
        padding: 14px;
    }
}

/* ------------------------------------------------------------------ */
/* How it works                                                        */
/* ------------------------------------------------------------------ */

.tm-band {
    background: var(--tm-band);
    border-top: 1px solid var(--tm-border);
    border-bottom: 1px solid var(--tm-border);
}

.tm-steps-wrap {
    padding-top: 88px;
    padding-bottom: 88px;
}

.tm-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tm-steps li {
    background: var(--tm-bg);
    border: 1px solid var(--tm-border);
    border-radius: 22px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-steps strong {
    font-size: 20px;
}

.tm-steps li > span:last-child {
    font-size: 15px;
    color: var(--tm-text-2);
    line-height: 1.55;
}

.tm-steps__no {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tm-accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* ------------------------------------------------------------------ */
/* Roles                                                               */
/* ------------------------------------------------------------------ */

.tm-roles-wrap {
    padding-top: 104px;
    padding-bottom: 96px;
}

.tm-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: flex-start;
}

.tm-roles__copy {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tm-roles__copy p {
    margin: 0;
    font-size: 18px;
    color: var(--tm-text-2);
    line-height: 1.6;
}

.tm-rolelist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-rolelist button {
    text-align: left;
    border: 1px solid var(--tm-border-strong);
    background: var(--tm-surface);
    color: var(--tm-text);
    padding: 17px 19px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font: inherit;
    cursor: pointer;
}

.tm-rolelist button:hover {
    border-color: var(--tm-accent-ink);
}

.tm-rolelist strong {
    font-size: 18px;
}

.tm-rolelist button span {
    font-size: 14px;
    color: var(--tm-text-3);
}

.tm-rolelist button[aria-selected="true"] {
    border: 2px solid var(--tm-accent);
    background: var(--tm-accent-select);
    color: var(--tm-select-text);
    padding: 16px 18px;
}

.tm-rolelist button[aria-selected="true"] span {
    color: var(--tm-select-sub);
}

.tm-perms {
    flex: 1.2 1 480px;
    min-width: 0;
    background: var(--tm-surface);
    border: 1px solid var(--tm-border);
    border-radius: 24px;
    overflow: hidden;
}

.tm-perms[hidden] {
    display: none;
}

.tm-perms__head {
    padding: 24px 26px;
    border-bottom: 1px solid var(--tm-border-soft);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.tm-perms__head strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
}

.tm-perms__head span span {
    font-size: 15px;
    color: var(--tm-text-2);
}

.tm-perms__count {
    background: var(--tm-panel);
    color: var(--tm-text-2);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

.tm-perms ul {
    list-style: none;
    margin: 0;
    padding: 8px 26px 20px;
}

.tm-perms li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--tm-border-soft);
    font-size: 16px;
}

.tm-yes,
.tm-no {
    flex: 0 0 auto;
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.tm-yes {
    background: var(--tm-accent);
    color: #FFFFFF;
}

.tm-no {
    background: var(--tm-no-bg);
    color: var(--tm-no-fg);
}

/* ------------------------------------------------------------------ */
/* Sharing                                                             */
/* ------------------------------------------------------------------ */

.tm-dark {
    background: var(--tm-deep);
    color: #F2F7F5;
}

.tm-share {
    padding-top: 104px;
    padding-bottom: 104px;
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: center;
}

.tm-share__copy {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tm .tm-share__copy .tm-h2 {
    color: #FFFFFF;
}

.tm-share__copy p {
    margin: 0;
    font-size: 18px;
    color: #B8D3C9;
    line-height: 1.6;
}

.tm-share__visual {
    flex: 1.3 1 520px;
    min-width: 0;
    position: relative;
    padding-bottom: 60px;
}

.tm-sharebox {
    border-color: #22574A;
    max-width: 560px;
}

.tm-sharebox__head {
    padding: 20px 22px;
    border-bottom: 1px solid #EEEEF4;
}

.tm-sharebox__head strong {
    display: block;
    font-size: 18px;
}

.tm-sharebox__body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tm-success {
    background: #E6F6EC;
    border: 1px solid #BFE6CD;
    color: #1E6F3A;
    border-radius: 10px;
    padding: 10px 12px;
}

.tm-shareform {
    background: #F4F4F7;
    border-radius: 12px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 8px;
    align-items: end;
}

.tm-shareform .tm-muted {
    margin-bottom: 4px;
    font-size: 11px;
}

.tm-sharedwith {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 330px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-sharedwith strong {
    font-size: 14px;
}

.tm-tab {
    background: #F1F1F6;
    color: #3A3A48;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
}

.tm-tab--on {
    background: #F5F3FF;
    color: #6D3BE8;
    border: 1px solid #D9D3FA;
}

.tm-tab b {
    background: #E4DEFD;
    padding: 0 6px;
    border-radius: 5px;
}

@media (max-width: 767px) {
    .tm-sharedwith {
        display: none;
    }

    .tm-share__visual {
        padding-bottom: 0;
    }

    .tm-shareform {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------------ */
/* Organise                                                            */
/* ------------------------------------------------------------------ */

.tm-org-wrap {
    padding-top: 104px;
    padding-bottom: 88px;
}

.tm-org {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 56px;
    align-items: center;
}

.tm-org__visual {
    flex: 1.2 1 480px;
    min-width: 0;
    position: relative;
}

.tm-surveys {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #F7F7FA;
}

.tm-survey {
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.tm-survey__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.tm-survey__info strong {
    font-size: 15px;
}

.tm-dots {
    border: 1px solid #E1E1EA;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
}

.tm-menu {
    position: absolute;
    right: 10px;
    top: 54px;
    width: 210px;
    padding: 8px;
    display: flex;
    flex-direction: column;
}

.tm-menu span {
    padding: 9px 10px;
    border-radius: 8px;
}

.tm-menu .is-on {
    background: #F5F3FF;
    color: #6D3BE8;
    font-weight: 600;
}

.tm-menu i {
    border-top: 1px solid #EEEEF4;
    margin: 4px 0;
}

.tm-menu .tm-menu__danger {
    color: #B3303D;
}

@media (max-width: 575px) {
    .tm-menu {
        display: none;
    }
}

.tm-org__copy {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tm-org__copy p {
    margin: 0;
    font-size: 18px;
    color: var(--tm-text-2);
    line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Users per plan, larger organisations                                */
/* ------------------------------------------------------------------ */

.tm-seats-wrap {
    padding-bottom: 88px;
    scroll-margin-top: 96px;
}

.tm-seats {
    background: var(--tm-surface);
    border: 1px solid var(--tm-border);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 44px);
}

.tm-seats__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
}

.tm-seats__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.tm-seats__grid li,
.tm-seats__more a {
    background: var(--tm-bg);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tm-seats__grid li > span:first-child,
.tm-seats__more a > span:first-child {
    font-size: 14px;
    color: var(--tm-text-3);
}

.tm-seats__grid strong {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

.tm-seats__grid li > span:last-child {
    font-size: 14px;
    color: var(--tm-text-2);
}

.tm-seats__grid li.is-popular {
    background: var(--tm-deep);
    color: #F2F7F5;
}

.tm-seats__grid li.is-popular > span:first-child {
    color: #9FD0BE;
}

.tm-seats__grid li.is-popular > span:last-child {
    color: #B8D3C9;
}

.tm-seats__grid li.tm-seats__more {
    padding: 0;
    background: none;
}

.tm-seats__more a {
    height: 100%;
    background: var(--tm-soft-band);
    text-decoration: none;
    color: var(--tm-soft-title) !important;
}

.tm-seats__more a > span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-accent-ink);
}

.tm-seats__more a:hover > span:last-child {
    text-decoration: underline;
}

.tm-large-wrap {
    padding-bottom: 96px;
}

.tm-large {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    background: var(--tm-soft-band);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 48px);
}

.tm-large__text {
    flex: 1 1 480px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm .tm-large .tm-h2 {
    color: var(--tm-soft-title);
}

.tm-large__text p {
    margin: 0;
    font-size: 17px;
    color: var(--tm-soft-text);
    line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* FAQ and call to action                                              */
/* ------------------------------------------------------------------ */

.tm-faq-wrap {
    padding-bottom: 96px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.tm-faq__intro {
    flex: 1 1 300px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tm-quote {
    margin: 0;
    background: var(--tm-surface);
    border: 1px solid var(--tm-border);
    border-radius: 20px;
    padding: 22px;
}

.tm-quote blockquote {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}

.tm-quote figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--tm-text-3);
}

.tm-faq {
    flex: 2 1 560px;
    min-width: 0;
    border-top: 1px solid var(--tm-border-strong);
}

@media (max-width: 767px) {
    .tm-faq,
    .tm-faq__intro {
        flex-basis: 100%;
    }
}

.tm-faq details {
    border-bottom: 1px solid var(--tm-border-strong);
    padding: 20px 4px;
}

.tm-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.tm-faq summary::-webkit-details-marker {
    display: none;
}

.tm-faq__q {
    flex: 1 1 auto;
    min-width: 0;
}

.tm-faq__pm {
    align-self: flex-start;
    flex: 0 0 auto;
    color: var(--tm-accent-ink);
    font-size: 22px;
    line-height: 1;
    transition: transform .15s ease;
}

.tm-faq details[open] .tm-faq__pm {
    transform: rotate(45deg);
}

.tm-faq p {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--tm-text-2);
}

.tm-cta-wrap {
    padding-bottom: 96px;
}

.tm-cta {
    background: var(--tm-deep);
    color: #F2F7F5;
    border-radius: 32px;
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

.tm-cta__text {
    flex: 1 1 480px;
    min-width: 0;
}

.tm .tm-cta .tm-h2 {
    color: #FFFFFF;
    font-size: clamp(30px, 3.4vw, 48px);
    margin-bottom: 10px;
}

.tm-cta__text p {
    margin: 0;
    font-size: 17px;
    color: #B8D3C9;
}

@media (prefers-reduced-motion: reduce) {
    .tm *,
    .tm *::before,
    .tm *::after {
        transition: none !important;
    }
}
