/* Giga's display, prose, and data roles apply to every route and preference dialog. */
.uvm-redesign :is(main, .terms-content, .page-section, .site-controls-root, #loginModal) :is(h1, h2) {
    font-family: var(--display);
    font-weight: 400;
    font-synthesis: none;
    line-height: 1.05;
    letter-spacing: -.035em;
}
.uvm-redesign .hero-section .hero-title {
    max-width: 100%;
    font-size: clamp(2rem, .95rem + 4.2vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.045em;
}
.uvm-redesign .hero-title em { font-style: normal; }
.uvm-redesign .hero-subtitle { font-size: clamp(1rem, .9rem + .45vw, 1.1875rem); }
.uvm-redesign :is(.row-index, .service-row-index, .page-card-number, .stat-number, .yubikey-status) {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
}
.uvm-redesign .workflow-strip .stat-number { font-size: var(--type-small); }
.uvm-redesign .terms-title { max-width: 21ch; line-height: 1.03; }
.uvm-redesign .page-section :is(.page-card,.page-callout,.page-content) > h2,
.uvm-redesign .terms-content h2,
.uvm-redesign .page-section .careers-details > h2,
.uvm-redesign .careers-form-heading h2 {
    font-family: var(--display);
    font-weight: 400;
}
.uvm-redesign main :is(.terms-title, .section-title, h2) {
    overflow-wrap: anywhere;
}
/* ruixen.ui's Animated Link, 21st.dev demo 15606, on the existing text actions. */
.uvm-redesign :is(.login-links, .recovery-footer, .footer-col) a {
    text-decoration: underline;
    text-decoration-color: transparent;
    background: linear-gradient(currentColor, currentColor) var(--link-edge, left) calc(50% + .65em) / 0 1px no-repeat;
    transition: background-size 180ms var(--ease), color 180ms var(--ease);
}
.uvm-redesign :is(.login-links, .recovery-footer, .footer-col) a:is(:hover, :focus-visible) {
    background-size: 100% 1px;
}
html:is(.a11y-emphasize-links, .a11y-high-contrast) .uvm-redesign :is(.login-links, .recovery-footer, .footer-col) a,
.uvm-redesign :is(.login-links, .recovery-footer) a {
    text-decoration-color: currentColor;
}
@media (forced-colors: active) {
    .uvm-redesign :is(.login-links, .recovery-footer, .footer-col) a { text-decoration-color: LinkText; }
}
