/* Text links underline on hover/focus; cards and capsule actions keep their own treatment. */
body a[href]:is(:hover,:focus-visible):not(:where(.button,.is-rounded,.lp-hero__btn,.download-cta__button,.pill,.tag,.pb-navpill,.t2-btn,.app-nav a,.pb-segmented > a,.link-with-arrow,.blog-card a,.blog-grid article a,.keep-reading-grid article a,.home-feature-card a,.feature-card,.lp-guide-card,.lp-guide-card a,.home-review a,.request-card a,.card a,.article-author a,.article-summary a,.article-faq a,.public-disclosure a,.lp-faq__item a,.support-faq__item a,.product-page__aside a,.customer-story-card,.customer-story-card a)) {
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
body a[href]:is(:hover,:focus-visible):where(.button,.is-rounded,.lp-hero__btn,.download-cta__button,.pill,.tag,.pb-navpill,.t2-btn,.app-nav a,.pb-segmented > a,.link-with-arrow,.blog-card a,.blog-grid article a,.keep-reading-grid article a,.home-feature-card a,.feature-card,.lp-guide-card,.lp-guide-card a,.home-review a,.request-card a,.card a,.article-author a,.article-summary a,.article-faq a,.public-disclosure a,.lp-faq__item a,.support-faq__item a,.product-page__aside a,.customer-story-card,.customer-story-card a) {
    text-decoration: none !important;
}

/* Underline the label, with a separate undecorated arrow. */
body a.link-with-arrow[href]:is(:hover,:focus-visible) > .link-label { text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body a.link-with-arrow[href] > [aria-hidden="true"] { text-decoration: none !important; }

/* Ordinary links rest in a neutral color; branded surfaces and capsule actions retain theirs. */
body a[href]:not(:where(.button,.is-rounded,.lp-hero__btn,.download-cta__button,.continue-reading a,.pill,.tag,.pb-navpill,.t2-btn,.app-nav a,.pb-segmented > a,.download-cta a,.navbar-brand a,.site-footer__brand,[aria-current],[aria-selected="true"])) {
    color: var(--text, #1d1d1f) !important;
    text-decoration-line: none !important;
}
body a[href]:is(:hover,:focus-visible):not(:where(.button,.is-rounded,.lp-hero__btn,.download-cta__button,.continue-reading a,.pill,.tag,.pb-navpill,.t2-btn,.app-nav a,.pb-segmented > a,.download-cta a,.navbar-brand a,.site-footer__brand)) {
    color: var(--app-tint, var(--tint, #802ecc)) !important;
}

/* Give links within prose a little more weight without changing headings or buttons. */
body :is(p,li,dd) a[href]:not(:where(.button,.is-rounded,.lp-hero__btn,.download-cta__button,.continue-reading a,.pill,.tag,.pb-navpill,.t2-btn,.app-nav a,.pb-segmented > a,strong a,b a)) {
    font-weight: 500;
}

.support-faq__answer a[href]:not(:where(.button,.is-rounded)):is(:hover,:focus-visible) { text-decoration-line: underline !important; }
